newbie S.O.S

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
n00bit
Newbie
Posts: 3
Joined: Sat Mar 13, 2004 2:47 am

newbie S.O.S

Post by n00bit » Sat Mar 13, 2004 2:57 am

hi all, im having troubles using MS in online games, i have no experience using macros so i should be the problem. this is the code:

Let>WF_TYPE=0
SetFocus>File Name*
Wait>3.1
Send>zr
Wait>8.43
Send>zr

and it doesnt seem to work, it opens the window but nothing happens.
once i used the capture option, and it worked until the 4) instruction and then stopped, and when i tried to edit the script it didnt worked at all.
i will appreciate if someone tells me wheres my mistake, thanks a lot.

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 Mar 13, 2004 3:49 am

Not much to go on here.

All I can see is that you have a window whose name is "File Name"?

Have you tried removing WF_TYPE and using default that = 0? This window may actually be a Child window and setting = 0 will not allow actions.

Maybe need a WaitWindowOpen> followed by a WaitReady> command before sending key values?

What program are you running this on?

Have you recorded a log while it ran so you can see where it stops?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

n00bit
Newbie
Posts: 3
Joined: Sat Mar 13, 2004 2:47 am

Post by n00bit » Sat Mar 13, 2004 4:34 am

i removed WF_TYPE and still the same, the window name is Knight OnLine Client, when the window is open, i run the macro and it goes into the game, it sends the mouse movements but it doesnt send the key values.
thanks for ur help and patience.

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 Mar 13, 2004 5:41 am

Change the SetFocus line to include the correct name of the window:

SetFocus>Knight OnLine Client*
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

n00bit
Newbie
Posts: 3
Joined: Sat Mar 13, 2004 2:47 am

Post by n00bit » Sat Mar 13, 2004 6:02 am

it has been that since the beginning :?
and at that instruction it gets into the window, so that command i think is ok, the mouse moves also inside the game, but it doesnt send the key values, so there is the problem, any idea? :(

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