Kmanzz Posted June 24, 2007 Share Posted June 24, 2007 Can anyone help me translate this script to a AutoIT macro. while 1=1 MousePos 275, 800 //Right click of battle master RightClick Delay 1.5 sec MousePos 200, 210 //NPC talk chat window button LeftClick Delay 1.5 sec MousePos 195, 445 //Join first battle button LeftClick Delay 6 sec MousePos 630, 185 //Accept Join BG button LeftClick Delay 1.5 sec // MousePos 980, 820 //Leave Battleground button at the end of a game LeftClick Delay 1.5 sec keys; keys; Delay 2 sec MousePos 635, 670 //Leave Battleground button at the end of a game LeftClick Delay 8 sec end Link to comment Share on other sites More sharing options...
Generator Posted June 24, 2007 Share Posted June 24, 2007 Personally i don't feel like doing this, you should try to do it on your own, it's really easy. While 1 MouseClick("right",275,800) Sleep(1500) WEnd Just keep adding pos in, you should finish in no time. Link to comment Share on other sites More sharing options...
Kmanzz Posted June 24, 2007 Author Share Posted June 24, 2007 Hey, I did up to While 1 MouseClick("right",275,800) Sleep(1500) WEnd MouseClick("left",200,210) Sleep(1500) WEnd MouseClick("left",195,445) Sleep(6000) WEnd MouseClick("Left",630,185) Sleep(1500) WEnd now i just cant seem to figure out how to do / MousePos 980, 820 //Leave Battleground button at the end of a game LeftClick Delay 1.5 sec keys; keys; Delay 2 sec I'm new to scripting =( Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted June 24, 2007 Share Posted June 24, 2007 (edited) Edited June 24, 2007 by Mast3rpyr0 My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Kmanzz Posted June 24, 2007 Author Share Posted June 24, 2007 I think i messed up some were While 1 MouseClick("right",275,800) Sleep(1500) WEnd MouseClick("left",200,210) Sleep(1500) WEnd MouseClick("left",195,445) Sleep(6000) WEnd MouseClick("Left",630,185) Sleep(1500) WEnd MouseClick("Left",980,820) Sleep(1500) Send(); read help file on send() Send() Sleep(2000) MouseClick("Left",635,670) Sleep(8000) Func _Exit() Exit;EXITS!!! EndFunc When ever i do that it does not work because of line 8 but then i change it so there is no WEnd and it just closes all the programs at the bottom of my screen =( Link to comment Share on other sites More sharing options...
Paulie Posted June 24, 2007 Share Posted June 24, 2007 (edited) I think i messed up some were When ever i do that it does not work because of line 8 but then i change it so there is no WEnd and it just closes all the programs at the bottom of my screen =(Take a look in the helpfile, and check out Val's Awesome tutorial Found Here Edited June 24, 2007 by Paulie Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now