... here's the attachment - I was trying to get out of the office a little
too quickly last night.
Thanks
Michelle
-----Original Message-----
From: Barker, Michelle [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 5:55 PM
To: '[EMAIL PROTECTED]'
Subject: Scripting Help for Newbie
Hi,
I need help on 3 steps in my script:
1. I have a field that needs to be evaluated when the cursor stops on it. If
there is a value the script should tab past it, if there isn't a value the
script needs to add a zero.
2. When the script comes to a list field I need to send the "Page Down" key
to it so the cursor will go to the next available space.
3. All my scripts in the past have been very simple and have read from a
data file consisting of a list of numbers, mnemonics, etc. I now need to
read from a list that contains an ID and a value (i.e. employee ID and
allowance $ value). My data file is tab delimited and I can get the column
number for each value, but I'm not sure how to write the loop to put the
correct data where I need it.
I've attach part of the steps I'm doing (without the loop).
Thanks
Michelle
617-665-3432
Clinical Application Analyst
CHA Information Technology
[EMAIL PROTECTED]
Pause "Enter/Edit [EMAIL PROTECTED],1"
Pause "@4,1"
Enter "TCH"
Pause "@4,13"
Enter "0001" '?? READ/WRITE EMPLOYEE ID FROM EMPLOYEELIST.TXT (IN COLUMN 1)??
Pause "@4,78" '?? EVALUATE FOR VALUES - TAB PAST IF VALUE EXISTS - ENTER "0" IF
NOT ??
'Tab_ ""
Enter "0"
Pause "@10,6" '?? SEND KEY "PAGE DOWN" TO GET TO THE NEXT AVAILABLE LINE IN FIELD
??
Enter "47"
Pause "@10,16"
Enter "0"
Pause " @10,26"
Tab_ ""
Pause "@10,29"
Tab_ ""
Pause "@10,41"
Tab_ ""
Pause "@10,58"
Enter "123.45" '?? READ/WRITE ALLOWANCE VALUE FROM EMPLOYEELIST.TXT (IN COLUMN
13)??
Pause "@10,68"
Key "{F12}"
Pause "[EMAIL PROTECTED],1"
Enter ""
Pause "@4,13" 'BEGIN AGAIN - ENTER EMPLOYEE ID FROM EMPLOYEELIST.TXT