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


