Hi,
I'm trying to use Automator/Applescript to auto-click and keystroke in World of Warcraft.
Right now, I have a Bootcamp partition where I run World of Warcraft and the Windows program Autohotkey. The program simply allows you to record coordinates for auto-clicks and will move the cursor to those coordinates, left-click and then repeat. It also allows you to add keystrokes. It compiles all of this into a script and runs that.
This is what the script looks like that Autohotkey uses:
I've heard that this was capable via Automator and Applescript but every time I've tried to make something, with my limited knowledge, it would work, but then freeze up and the commands would slow incredibly.
If anyone can shed some knowledge on certain things I have to do or if anyone has any experience on with Automator and Applescript and wouldn't mind helping, it would be much appreciated.
I'm trying to use Automator/Applescript to auto-click and keystroke in World of Warcraft.
Right now, I have a Bootcamp partition where I run World of Warcraft and the Windows program Autohotkey. The program simply allows you to record coordinates for auto-clicks and will move the cursor to those coordinates, left-click and then repeat. It also allows you to add keystrokes. It compiles all of this into a script and runs that.
This is what the script looks like that Autohotkey uses:
Code:
[SIZE="1"]Loop
{
Sleep, 1000
Send, {CTRLDOWN}{1}{CTRLUP}
Send, {CTRLDOWN}{1}{CTRLUP}
Sleep, 500
Send, {7}
Sleep, 500
MouseClick, left, 325, 175
Sleep, 500
MouseClick, left, 271, 128
Sleep, 1000
Send, {h}
Sleep, 250
Send, {;}
Sleep, 250
MouseClick, left, 70, 191
Sleep, 500
Send, {'}
Sleep, 500
MouseClick, left, 58, 441
Sleep, 250
Send, {;}
Sleep, 250
MouseClick, left, 70, 191
Sleep, 500
Send, {'}
Sleep, 500
MouseClick, left, 58, 441
Sleep, 250
Send, {;}
Sleep, 250
MouseClick, left, 70, 191
Sleep, 500
Send, {'}
Sleep, 500
MouseClick, left, 58, 441
Sleep, 250
Send, {;}
Sleep, 250
Sleep, 500
MouseClick, left, 402, 488
Sleep, 500
}
0::Pause[/SIZE]
If anyone can shed some knowledge on certain things I have to do or if anyone has any experience on with Automator and Applescript and wouldn't mind helping, it would be much appreciated.