Applescript Help!

Joined
Oct 7, 2009
Messages
13
Reaction score
0
Points
1
Hi everyone,

I was wondering if anyone could help me with a script I have that I use with World of Warcraft. I run this script with a program called Autohotkey on my Windows bootcamp partition but I was wondering if I could make it work for Mac so I don't have to constantly switch back and forth.

I've tried on earlier occasions to make something similar to this script in Applescript and then use that script in Automator so the clicking would be enabled. But every time I tried this, the loop would last about 2-3 minutes before slowing down greatly and my attempts to stop it from running wouldn't work, resulting in me having to hard reset my MBP.

This is the script:

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, 142, 178
Sleep, 500
Send, {'}
Sleep, 500
MouseClick, left, 160, 436
Sleep, 250
Send, {;}
Sleep, 250
MouseClick, left, 142, 178
Sleep, 500
Send, {'}
Sleep, 500
MouseClick, left, 160, 436
Sleep, 250
Send, {;}
Sleep, 250
MouseClick, left, 142, 178
Sleep, 500
Send, {'}
Sleep, 500
MouseClick, left, 160, 436
Sleep, 250
Send, {;}
Sleep, 250
Sleep, 500
MouseClick, left, 424, 460
Sleep, 500
}
0::pause

(This is in Autohotkey's form.)

Sorry, I'm really new at scripts and any help would be appreciated. Thank you.
 
Joined
Jul 6, 2010
Messages
1
Reaction score
0
Points
1
shame nobody replied to this. been scouring the internet looking for answers to this.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top