Artisan Archive
Thread: Macro help please
We cannot give a exact macro for *you*. On the other hand, if you are willing to doa few minutes of work, you canuse this one:
1. Open up your datapad and check what number your schematic is. Count from left to right, from up to down and skip all the items that your crafting tool can't make.
2. Copy this text into your chatbox, but change the --- to the number of your schematic (example, /selectDraftSchematic 10
/alias craft1 /ui action toolbarSlot01;/selectDraftSchematic ---;/pause 7;/nextC;/nextC;/nextC;/createPrototype;/createPrototype
/alias craft2 /ui action toolbarSlot02;/selectDraftSchematic ---;/pause 7;/nextC;/nextC;/nextC;/createPrototype;/createPrototype
/alias craft3 /ui action toolbarSlot03;/selectDraftSchematic ---;/pause 7;/nextC;/nextC;/nextC;/createPrototype;/createPrototype
/alias craft4 /ui action toolbarSlot04;/selectDraftSchematic ---;/pause 7;/nextC;/nextC;/nextC;/createPrototype;/createPrototype
/alias craft5 /ui action toolbarSlot05;/selectDraftSchematic ---;/pause 7;/nextC;/nextC;/nextC;/createPrototype;/createPrototype
/alias craft6 /ui action toolbarSlot06;/selectDraftSchematic ---;/pause 7;/nextC;/nextC;/nextC;/createPrototype;/createPrototype
3. Make a macro called Craft with this text:
/craft1;
/pause 9;
/craft2;
/pause 9;
/craft3;
/pause 9;
/craft4;
/pause 9;
/craft5;
/pause 9;
/craft6;
/pause 9;
/macro crafttest
4. Place the macro on the F1 toolbar hotkey (you can change toolbar with ctrl + F11 and ctrl + F12)
5. Create/buy 6 of the desired crafting tools (I prefer weapon, droid and general crafting tools) and place them in the F2 - F7 toolbar hotkeys.
6. Use F1 to start the macro.
-------------------------------------------------------
Macro response
i'm having some problems selecting the right schematic, all i can make are slitherhorns ![]()
can anyone help me?
/ui action toolbarPaneXX
and
/ui action toolbarSlotXX
XX = the pane (00 - 05) or slot (00 - 11)
elneckio wrote:
I wish to write a few macros to do the following ...
Have a toolbar with foods along top line and a button below each which is a macro which eats the contents of the cell above and sets an alarm for its duration to remind me when it is due to en.
Have a 'PANIC' button on another toolbar which activates several of these macros to eat the correct foods for being attacked as well as setup my defence commands.
e.g.
F1
Toolbar 1 Panic Button
F1
Toolbar2Canape
Macro to eat canape from cell aboveandset timer
So what I would like to know :
Is it possible tocall out to many macros from one and continue the original macro ?
In the 'PANIC' script will I need to do some kind of toolbar switch to make the 'eating' operation happen and then switch back ?
Thanks
You can use the following command click on any cell you want (case sensitive):
/ui action toolbarSlotXX; - where XX is equal to the cell number minus one.
For example: The F1 cell is activated by the line:
/ui action toolbarSlot00;
You can even put your food on a different toolbar pane and keep your macros on your main pane. In order to click on cells on a different pane you have to tell the macro to first switch panes like so:
/ui action toolbarPaneXX; - where XX is equal to the pane number minus one. The same way as above.
For example: The second pane is switched to by the line:
/ui action toolbarPane01;
So using these examples, if we wanted to switch to Pane 2, and click on the First Cell to eat our food, we could do this:
/ui action toolbarPane01;
/ui action toolbarSlot00;
/ui action toolbarPane00;
What this does is switch to the second pane, click the first cell slot, and switch back to our first pane.
Now for your timer... you can use the pause command:
/pause XXX - where XXX is equal to whatever time you want to pause. I think this is in seconds.
For example, this should pause for 3 seconds:
/pause 3;
So if you wanted to eat your food, and pause for 30 seconds, then display something on your chat panel:
/ui action toolbarPane01;
/ui action toolbarSlot00;
/ui action toolbarPane00;
/pause 30;
/echo ** Ready to eat more food! **;
Hope that helps a bit. I use this method to switch clothing/armor/equipment quite a bit and is very useful. ![]()
I tried /ui action cycleTargetOutwards but that doesnt seem to work anymore, and same goes for the /ui action toolbarSlotXX
And the manual and guides arnt realy helping on the subject
Thanks in advance