having trouble with this
Posted: Thu Mar 03, 2005 9:58 am
well here is my attempt to make jar of clockwork grease, this combine sucks because i have to make a Small clay jar which is a container, then i have to open that up and put in 2 clockwork grease and combine. the problem is the small clay jar dosn't bring up the new tradeskill window, it opens up just like a bag, So all the macros that i found on this site us the new tradeskill windows which will only do half of the combine(small clay jar).
So anyway the problem i'm having is how do i put an item down into a container slot, Like my macro combines the small clay jar, puts it in inventory, opens up all bags, then picks up 1 of the 2 clockwork grease that i need. I just need it figure out how to deposite in the first slot, then another in teh second.
Sorry if this macro looks like crap, its the frist time i've ever tried something like this. TIA
here is the macro so far. only half way done
[/code]
So anyway the problem i'm having is how do i put an item down into a container slot, Like my macro combines the small clay jar, puts it in inventory, opens up all bags, then picks up 1 of the 2 clockwork grease that i need. I just need it figure out how to deposite in the first slot, then another in teh second.
Sorry if this macro looks like crap, its the frist time i've ever tried something like this. TIA
here is the macro so far. only half way done
Code: Select all
#event OutOfStuff "Sorry, but you don't have everything you need for this recipe in your general inventory."
Sub Main
:Loop
:ClearCursor
/if (${Cursor.ID}) {
/autoinventory
/goto :ClearCursor
}
/notify COMBW_CombineArea CombineButton leftmouseup
/delay 2s
/autoinventory
/call openpacks
/delay 3s
/ctrl /itemnotify ${FindItem[=clockwork grease].InvSlot} leftmouseup
/delay 1s
/doevents
/return
/goto :Loop
/return
Sub Event_OutOfStuff
/call closepacks
/endmacro
Sub OpenPacks
/declare bag int local 0
/newif (!${Window[InventoryWindow].Open}) /keypress inventory
/delay 1
/for bag 1 to 8 step 1
/newif (!${Window[pack${bag}].Open}) /itemnotify pack${bag} rightmouseup
/next bag
/delay 1
/return
Sub ClosePacks
/declare bag int local 0
/newif (!${Window[InventoryWindow].Open}} /keypress inventory
/delay 1
/for bag 1 to 8 step 1
/newif (${Window[pack${bag}].Open}) /itemnotify pack${bag} rightmouseup
/next bag
/delay 1
/return