pressing character key..

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
knight

pressing character key..

Post by knight » Wed Aug 20, 2003 6:48 am

y i cant press character key??
like
"press F4" command..i need to press just "z" key and "r" key..

label>start
press z
wait>3
press r
goto>start

it's dont work >.< how can i make it work? plz quick aswer any1 who know.. have a nice day ^^;

User avatar
Captive
Macro Veteran
Posts: 213
Joined: Sun Oct 20, 2002 8:37 pm
Location: Colorado, USA

Post by Captive » Wed Aug 20, 2003 7:00 am

Sen>z
(Sen being short for Send Character/Text)

knight

Post by knight » Wed Aug 20, 2003 7:13 am

it's dont work..
>.<
on my game have to use "z"key for choice neartarget and "r"key for attack..
if i press enter show messege zrzrzr
but dont work for shortcut...what i have to do?

User avatar
Captive
Macro Veteran
Posts: 213
Joined: Sun Oct 20, 2002 8:37 pm
Location: Colorado, USA

Post by Captive » Wed Aug 20, 2003 7:32 am

Sen>z
Will act as if you pressed the 'z' key on your keyboard. If you're running this script by clicking on a shortcut, you may have to make the script "Set Focus" to the window of your game.
(See the "SetFocus" command in the help file).
Example:
SetFocus>Castle Attack*
(or whatever the window title of your game is called). You can check the window title with "Tools -> View system windows" from the MSched's drop down menus.

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