This script is tailored for Chef grind on Wastil Bread (~75 exp per bread in practice mode).
SWG in-game macro is broken down into two parts.
{F1} in SWG will have this following
/ui action toolbarSlot13; this selects the foodcrafting tool on Slot13
/selectDraftSchematic 26; selects Wastil Bread, which is schematic 26
{F2} in SWG will have this following
/nextCraftingStage;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype Practice noitem;
/createPrototype;
/nextCraftingStage; this ends the crafting process for the first tool
For AutoIt, this is what I have so far,
Send("{F1}")
;Now SWG-F1 macro selects schematic and proceeds to the resource screen
Sleep(2500)
MouseClick("left", 374, 370, 2)
Sleep(250)
MouseClick("left", 374, 370, 2)
;Two double clicks on Wheat in Schematic 26
Sleep(350)
MouseClick("left", 418, 370, 2)
;double click on Fruit in Schematic 26, total time elapsed is
Sleep(250)
Send("{F2}") ;Finishes 1st toolcrafting
;SWG-F2 macro finishes the rest of the crafting process
Sleep(1250)
Send("{F3}")
Sleep(2500)
MouseClick("left", 374, 370, 2)
Sleep(250)
MouseClick("left", 374, 370, 2)
Sleep(350)
MouseClick("left", 418, 370, 2)
Sleep(250)
Send("{F4}") ;Finishes 2nd toolcrafting
Sleep(1250)
Sleep(1250)
Send("{F5}")
Sleep(2500)
MouseClick("left", 374, 370, 2)
Sleep(250)
MouseClick("left", 374, 370, 2)
Sleep(350)
MouseClick("left", 418, 370, 2)
Sleep(250)
Send("{F6}") ;Finishes 3rd toolcrafting
Sleep(1250)
Send("{F7}")
Sleep(2500)
MouseClick("left", 374, 370, 2)
Sleep(250)
MouseClick("left", 374, 370, 2)
Sleep(350)
MouseClick("left", 418, 370, 2)
Sleep(250)
Send("{F8}") ;Finishes 4th toolcrafting
Sleep(1250)
Send("{F9}")
Sleep(2500)
MouseClick("left", 374, 370, 2)
Sleep(250)
MouseClick("left", 374, 370, 2)
Sleep(350)
MouseClick("left", 418, 370, 2)
Sleep(250)
Send("{F10}") ;Finishes 5th toolcrafting
Can someone show me how to loop this script from end to beginning and also how to add in a hotkey to pause the script or break the loop at anytime.
Thanks,
-Zatup





