Page 1 of 1

Universal Tradeskill (for use with newer Tradeskill windows)

Posted: Fri Oct 22, 2004 7:56 am
by maven
I took from another post from [blueninja] and modified the code to be a lil more simpler in nature. Testing of the macro made worlds of difference on any combine you -_-ALREADY-_- know the recipie for. The code auto-combines whatever recipie you have highlighted, and then automatically places the combine in your inventory. I'm sure someone could add tweaks and mods to it to suit their own ends but I thought something simple to prevent carpel tunnels would suffice. Grok, modify, etc at your whim.

Original post from [blueninja]:

http://www.macroquest2.com/phpBB2/viewtopic.php?t=9664


unitrade.mac

Sub Main
:endlessloop
/if (${Window[TradeSkillWnd].Open}) {
/delay 1
/notify COMBW_CombineArea COMBW_CombineButton leftmouseup
:clearmore
/if (${Cursor.ID}) {
/autoinv
/delay 1
/goto :clearmore
}
}
/goto :endlessloop
/return

Posted: Fri Oct 22, 2004 2:28 pm
by Dentist

Code: Select all

unitrade.mac

Sub Main
:endlessloop
/if (${Window[TradeSkillWnd].Open}) {
/delay 1
/notify COMBW_CombineArea COMBW_CombineButton leftmouseup
:clearmore
/if (${Cursor.ID}) {
/autoinv
/delay 1
/goto :clearmore
}
}
/goto :endlessloop
/return
Code brackets are your friend

Posted: Tue Oct 26, 2004 5:39 am
by Rhysel
I only add an event that end's macro when i miss some item for the combine....


Very usefull for brewing :)

Posted: Tue Oct 26, 2004 9:14 am
by TheWarden