New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Ľ Advice and insight from world-class Apple enthusiasts Ľ Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Applescript Help!


Post Reply New Thread Subscribe

 
Thread Tools
amagzz

 
Member Since: Oct 07, 2009
Posts: 13
amagzz is on a distinguished road

amagzz is offline
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.
QUOTE Thanks
nostatus

 
Member Since: Jul 06, 2010
Posts: 1
nostatus is on a distinguished road

nostatus is offline
shame nobody replied to this. been scouring the internet looking for answers to this.
QUOTE Thanks

Post Reply New Thread Subscribe


« FTP Clients - 1and1 - OSX 10.6.3 - FIGHT! | EyeTV Lite and MBP Sleep Issues »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
newbie question on XCode 3.2: how to populate pop up buttons/link to applescript nickharambee OS X - Operating System 0 10-21-2009 07:10 AM
Terminal vs. Applescript tgaleza OS X - Operating System 2 09-25-2009 10:08 AM
Logic Express and Applescript via GUI Scripting albertaurus Music, Audio, and Podcasting 0 04-09-2009 01:13 PM
[ANN] New comprehensive AppleScript book hanaan OS X - Development and Darwin 0 11-06-2004 07:28 PM
Looking for AppleScript help tommyabroad OS X - Operating System 2 04-14-2004 12:51 AM

All times are GMT -4. The time now is 12:16 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?