Doctor Archive
Thread: macro madness!
Message Edited by Houdani on 09-22-2004 07:25 AM
Eyedun wrote:
and take the space out at the end. its Slot00 not Slot 00.
And the commands need to have the proper caplitalization. The proper command is:
/ui action toolbarSlotxx
where xx is the number of the F-key to press. F1thorugh F12 are 00through 11 and Shift F1 through Shift F12 are 12 through 23.
So F7, for instance, would be /ui action toolbarSlot06 and Shift F7 would be /ui action toolbarSlot18.
Note that the "S" has to be capitalized and that the slot number is always adjacent to (i.e., no space) the word Slot and is always two digits (i.e., 01 not 1).
You may also want to add a command at the start of the macro to ensure that you have not changed the toolbar by accident. In a long crafting session, especially if you are grinding crafting while grinding healling, you can end up inadvertently changing the toolbar to one where your crafting tool is not located, but the /ui action toolbarSlot command only knows to press the specified key on the current toolbar. So adding a command to change the toolbar to the toolbar containing your crafting tool(s) is a good idea.
To do this, add the /ui action toolbarPanexx command. The toolbars are numbered 1 through 6, and the xx in the toolbarPane command is 00 for toolbar 1 through 05 for toolbar 6. So if you have your crafting kit in F8 on the last toolbar, you would have the following commands:
/ui action toolbarPane05
/ui action toolbarSlot07
Doing this makes sure that the toolbar is on the correct pane before you press the key. Like the slot command, the xx has to be two digits, and the "P" has to be capitalized.