Locked Home » Forums » Legacy & Archived » Archived Content » Star Wars Galaxies » SWG Premium Discussions

How to use autoit??? : SWG Premium Discussions

Posted: August 23rd, 2006
Total Posts:61 Joined:2005
Im trying to grind my way to master trader. Im using the following macro:

/ui action toolbarSlot00;
/pause 2;
/ui action defaultButton;
/pause 5;
/nextcraftingstage;
/nextcraftingstage;
/createprototype practice noitem;
/createprototype practice noitem;
/pause 2;
/ui action toolbarSlot01;
/pause 2;
/ui action defaultButton;
/pause 5;
/nextcraftingstage;
/nextcraftingstage;
/createprototype practice noitem;
/createprototype practice noitem;
/pause 2;
/ui action toolbarSlot02;
/pause 2;
/ui action defaultButton;
/pause 5;
/nextcraftingstage;
/nextcraftingstage;
/createprototype practice noitem;
/createprototype practice noitem;
/pause 2;
/ui action toolbarSlot03;
/pause 2;
/ui action defaultButton;
/pause 5;
/nextcraftingstage;
/nextcraftingstage;
/createprototype practice noitem;
/createprototype practice noitem;
/pause 2;
/ui action toolbarSlot04;
/pause 2;
/ui action defaultButton;
/pause 5;
/nextcraftingstage;
/nextcraftingstage;
/createprototype practice noitem;
/createprototype practice noitem;
/pause 2;
/macro craftmacro;

Alls i need now is a way to setup my left click button so it goes off continually so can run this macro afk for as long as i need.

Can autoit make me left button click continually? If so how do i do it?

Thanx
Posted: August 23rd, 2006
Total Posts:65 Joined:2006
Here is the 'crafting macro' I used for crafting my way through Trader

Check:
Sleep, 800
IfWinActive, SwgClient,, Goto, Start
IfWinNotActive, SwgClient,, Goto, Damnit


Darnit:
Send, !+{TAB}
sleep, 600
IfWinNotActive, SwgClient,, Goto, Damnit

Start:
IfWinNotActive, SwgClient,, Goto, Crap
sleep, 1000

Start1:
IfWinNotActive, SwgClient,, Goto, Crap
sleep, 1000


Crafting_1:
Sleep, 300
Send, {ESC}
Sleep, 300
Send, {ESC}
Send, {F1}
sleep, 1000
LeftClick, 895,761
Sleep, 1200

IfWinNotActive, SwgClient,, Goto, Crap

SecondResource:
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211

ThirdResource:
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210

FirstResource:
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
Sleep, 700


ClickAssemble:
Sleep, 500
LeftClick, 1307, 771
Sleep, 600

IfWinNotActive, SwgClient,, Goto, Crap

ClickYes:
Sleep, 500
LeftClick, 856, 474
Sleep, 600

IfWinNotActive, SwgClient,, Goto, Crap

NextCraftingStage:
Sleep, 700
Send, {F6}

;___________________________________________

Start2:
IfWinNotActive, SwgClient,, Goto, Crap
sleep, 1000


Crafting_1:
Sleep, 300
Send, {ESC}
Sleep, 300
Send, {ESC}
Send, {F2}
sleep, 1000
LeftClick, 895,761
Sleep, 1200

IfWinNotActive, SwgClient,, Goto, Crap

SecondResource:
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211

ThirdResource:
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 326, 210
LeftClick, 326, 210

FirstResource:
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
Sleep, 700


ClickAssemble:
Sleep, 500
LeftClick, 1307, 771
Sleep, 600

IfWinNotActive, SwgClient,, Goto, Crap

ClickYes:
Sleep, 500
LeftClick, 856, 474
Sleep, 600

IfWinNotActive, SwgClient,, Goto, Crap

NextCraftingStage:
Sleep, 700
Send, {F6}

;---------------------------------------
Start3:
IfWinNotActive, SwgClient,, Goto, Crap
sleep, 1000


Crafting_1:
Sleep, 300
Send, {ESC}
Sleep, 300
Send, {ESC}
Send, {F3}
sleep, 1000
LeftClick, 895,761
Sleep, 1200

IfWinNotActive, SwgClient,, Goto, Crap

SecondResource:
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
LeftClick, 269, 211
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 269, 211

ThirdResource:
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 326, 210
LeftClick, 326, 210
LeftClick, 326, 210

IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 326, 210
LeftClick, 326, 210

FirstResource:
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
LeftClick, 207, 212
LeftClick, 207, 212
LeftClick, 207, 212
IfWinNotActive, SwgClient,, Goto, Crap
Sleep, 700


ClickAssemble:
Sleep, 500
LeftClick, 1307, 771
Sleep, 600

IfWinNotActive, SwgClient,, Goto, Crap

ClickYes:
Sleep, 500
LeftClick, 856, 474
Sleep, 600

IfWinNotActive, SwgClient,, Goto, Crap

NextCraftingStage:
Sleep, 700
Send, {F6}
Sleep, 1700



Goto, Start

Crap:
Exit
Posted: August 23rd, 2006
Total Posts:65 Joined:2006
Now, to explain the way Auto-It works.

LeftClick command- Clicks the left button (Really....it does) The two digits following are the X,Y coordinates, you'll use Auto-It Reveal Mode to get these.

Next, sleep.....you need to pause. I beleive it's in thousands....therefore

sleep, 1000 = 1 second

You need to use LeftClick more than once....to ensure 'registration' of the key click. You can do it once, but if you need it twice....it might click to fast to register a double click...so no harm in clicking 3 times.

I made macro's (in SWG) for selecting the draft schematic, and for nextcrafting Stage.

I did not like the use of the draft schematic macro in SWG, and found that if you open a crafting window, and select the item you want to grind, and then next, and of course- exit out, the next time you open up the crafting tool, the same item will be selected.

Hope that helps, and feel free to send me a PM for some specific help.
Posted: August 23rd, 2006
expurt
Great guide there Snurckle.

Can we get some premium members to confirm this. Then I'll move it to the confirmed section.
Posted: August 23rd, 2006
Total Posts:65 Joined:2006
Don't want you to think this is a guide, just a helpful post to somebody asking for assistance.

I CAN, if you want, create a real guide for Auto-It, something more structured than this.
Posted: August 23rd, 2006
expurt
I realise it wasnt intended to be a guide, but help. I looked for an auto-it guide and it doesnt seem we have one. Unless i'm mistaken, this is the best we have. :)

By all means if you want to improve upon it, do so.
Posted: August 23rd, 2006
Total Posts:65 Joined:2006
I did, and posted it in the SWG Macro Section....it's more detailed on what the lines do, and should be far better than what is posted above.
Posted: August 23rd, 2006
glvsave
Big yay - I've messed around with auto-it, not all that easy, this is a great way to create your own.
Posted: August 30th, 2006
wynmb7
I used AC tools to click, its nice and easy to use too
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 10 guests
Locked