I am trying to run a macro .exe from another computer. I have created the shortcut to the desktop of the computer and have assigned Shortcut keys to run. The purpose of this macro is to send key strokes to the current screen to fill in some fields. Can someone please take a look at this code and let me know why when I press the shortcut keys the macro doesn't run properly. Thanks.
Send Character/Text>79777
Press NP ADD
Press NP ADD
Send Character/Text>n
Press TAB
Send Character/Text>umsd
Press TAB
Press TAB
Send Character/Text>777777777xxxxxxxxxxx
Press TAB
Send Character/Text>123 1st ave
Press NP ADD
Press TAB
Send Character/Text>forth worth
Press TAB
Send Character/Text>tx
Press NP ADD
Press TAB
Press TAB
Press TAB
Press TAB
Press TAB
Send Character/Text>x003
Press NP ADD
Press TAB
Press TAB
Send Character/Text>399211
Press TAB
Press TAB
Send Character/Text>0001
Press HOME
Press NP ADD
Press NP ADD
Press NP ADD
Press NP ADD
Press NP ADD
Press NP ADD
Press NP ADD
Press NP ADD
Press TAB
Press TAB
Press TAB
Need with with .EXE
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
What does is not do? or What does it do that it should not do? What are the symptoms?macro doesn't run properly
May need a SetFocus>WindowName*at the beginning before sending any keystrokes.
Note: For Press commands you can use *n for repeats.
Example:
Press TAB*4
is the same as
Press TAB
Press TAB
Press TAB
Press TAB
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!