Here's the macro file, if this helps:
!Loop
Assistant.Macros.IfAction|50|1|5|bow
Assistant.Macros.IfAction|4|0|155
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|154
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|153
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|152
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|151
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|150
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|149
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|148
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|147
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|146
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|145
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|144
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|143
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|142
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|141
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|140
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.SpeechAction|0|52|3|ENU|4|33|77|23|112|vendor sell
Assistant.Macros.PauseAction|00:00:01.5000000
Assistant.Macros.EndIfAction
Assistant.Macros.DoubleClickTypeAction|3922|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|7127
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|2|5042|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|5042|0
Assistant.Macros.PauseAction|00:00:08
in my particular case, I'm crafting bows
Also, I ran this again and it sold it for the correct price the second time. Then the third time it cancelled the macro. I checked the price with the macro and sell agent off and it shouldn't have cancelled because the vendor hadn't lowered his prices. Then I re-enabled it to see what it did if I ran it again and it sold the bows again but for too low a price. So I'm now totally confused
Also, does the sell agent account for exceptional quality items?
After some more observation, I also noticed that the sell window total price doesn't always match the words the vendor says upon completing the sale. I need to check to see which value is actually added to my gold count. (checked it, it's whatever the vendor says, not the window) This might be some kind of glitch in the client. I hope it isn't my macro causing it...
Another problem I just noticed. I set the sell agent to sell only bows out of my backpack, but instead it is also selling my axes and my scorp when it runs