Need with with .EXE

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
daniel
Junior Coder
Posts: 32
Joined: Mon Apr 25, 2005 5:04 pm

Need with with .EXE

Post by daniel » Fri Apr 29, 2005 7:25 pm

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

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat Apr 30, 2005 1:02 am

macro doesn't run properly
What does is not do? or What does it do that it should not do? What are the symptoms?

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!

daniel
Junior Coder
Posts: 32
Joined: Mon Apr 25, 2005 5:04 pm

Post by daniel » Sun May 01, 2005 1:23 am

It doen't do anything..... I actually have tried the SetFocus> and when I try to run it all it does show the icon in the bottom left corner of the screen, but does not actually send any keystrokes to the current screen.

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts