AppleScript Help

DocRose

Registered
So I'm playing wow and trying to get this script to work.


tell application "System Events"
tell application "World of Warcraft" to activate
keystroke "/tar haelga"
key code {"Fn", 23}
end tell


I'm using Mouse keys to try and "talk" to the mob in question... but it's not seeming to work... I want the /tar Haelga to be sent all together, and then for it to "right click" her...
any ideas?
 
Then perhaps you should focus the 'keystroke' and 'key code' commands to 'World of Warcraft', as opposed to, 'System Events' - as your code does.
 
Back
Top