Thanks Thom! I"m better scripting directly into VB so I just used Enter View(row:=, col:=, length:=) and it worked perfectly.
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thom C. Blackwell Sent: Wednesday, March 26, 2008 2:59 PM To: [email protected] Subject: RE: [Talk] Scripting using Reflections Greetings, The View command is what you need. Gads - this is going to take me a ton of words for something that'd take me < a minute to show J. Don't hesitate to call into support if the below is not clear - they'll be happy to show you how to do this. Anyhow.... To build it, you want Boston WorkStation to be connected (like you did when you built the script). Navigate in Reflections till you can see the data you want the script to read. Here you have a decision to make, and I can't help too much here J You'll need to determine <when> you want to read the data - so you may add the View command to an existing Rule (assuming Rules scripting here) or a new Rule. Anyhow either select the existing Rule and Click Add Action or make sure you have the step selected where the new Rule will go. Next you need a Variable - easy way to do this - in the Data Toolbar type in your desired Variable name followed by an = i.e. myData= Then highlight the text you want to read in the Application Viewer and click the View icon - looks like glasses. Now you'll see in the Variables View - myData=Whatever was highlighted and a rule that has something like: MyData=View(Row:=...,Col:= ...., Length:=...) 'Whatever was highlighted. To teach BWS how to type in the variable, when you are in the field where the data needs to go, select MyData from the Variables list and choose the Enter, Tab or Key command - and voila! You've just read the screen and typed it somewhere else! Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com <http://www.bossoft.com/> Sign up for my weekly webinar! <http://www.bostonworkstation.com/customer_center/special_events.aspx> LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Murphy, Melissa (IT) Sent: Wednesday, March 26, 2008 2:39 PM To: [email protected] Subject: RE: [Talk] Scripting using Reflections Hi, I'm writing a script for Reflections, and I need to be able to pull a value that is displayed on the screen in a specific row and column, and enter it in a different row and column. I'm drawing a blank at how best to do this. Ideas? Thanks Melissa
