Notes
Desk | Careers | Crafting Macro | Buffs | Mustafar | Real Estate | Notes | HoloLinks
Crafting Macro | Crafting Foods | Food Buffs Chart

Crafting Macro

Works for all Trader Professions.

• You need to have multiple crafting tools for this macro to work. How many tools you'll need depends on how long it takes to craft your item.
• You also need to have all the different kinds of resources you need in your personal inventory and in the quantities you'll need to make multiple items.
• Highly suggest mapping keys for copy and paste.
• And you'll need free space on your tool bar (you do have 6 of them).
• Turn of automatic sorting in your datapad - BEFORE you open your datapad and view your draft schematics.

Below is 1 pass of the macro (crafting an item on 1 crafting tool). There are different ways of building out the macro for multiple tools. I prefer making multiple macros and calling them as I need them. Gives me the flexibility to choose how many macros I need based on the number of tools I need by only changing the last macro to call the first macro whereas putting on the passes of crafting into one long macro means you have to cut and paste more passes or delete passes to adapt to the number of tools you'll need. It's just a personal preference.

Some preliminary basics to macro crafting:

• Put your resources needed into your personal inventory
• Put each tool into it's own toolbar slot
• The slots are numbered 00, 01, 02, 03...11
• NGE has changed how we access the toolbar slots with respect to the crafting tools. Clicking the toolbar slot number does not activate the tool like it did pre-NGE. You need to right click after you have selected the toolbar slot. And actually, you need to right click twice to activate the tool. This fact is built into the macro now.
• You need to preselect the item you wish to craft. Open you your crafting tool. Find the item schematic you wish to craft and select it. Click next to continue to the resource window. You can go on and craft the item if you wish or just close the crafting window at this point by clicking on the X in the upper right hand corner of the crafting window. While the macro is running, you will see the selection window for crafting. Do NOT select any items during this time. It WILL change the item you are going to craft to what you click on. If you accidentally do this like I do, you will need to stop your macro and repeat this procedure of manually pre-selecting your crafting item.
• To STOP your macro, type /dump. And you can make that a macro, too.

Now we can proceed to the macro itself. Here it is with line by line explanation.


/ui action toolbarSlotXX;
XX - replace with your tool bar slot number (00, 01, 02,....,11)
/say Right Click
Tell yourself to activate your crafting tool.
/pause X;
Give yourself time to respond to your own message and click. I set mine to 2 sec. X = 2.
/ui action defaultButton
Thanks Elyssa for this info!
/pause X
Give yourself time to select the resources you need. I set mine to 5 sec for 3-4 slots. X = 5.
/nextCraftingStage;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype Practice noitem;
/createPrototype Practice noitem;
These are your automated crafting lines of code. If you actually want physical items crafted, just remove "Practice noitem" from the 2 create Prototype lines. You still need the two lines /createPrototype.
/say Right Click
Tell yourself to prime your next crafting tool. Remember you need 2 Right clicks to open your crafting tool from the tool bar.
/pause X;
Give your crafting tool time to craft. I set mine to 2 sec. I'm only using two crafting tools. Adjust as needed.
/macro <name of next macro> Start your next crafting tool. Make your next macro using the same commands, changing only your toolbarSlotXX number.


You can select and copy the macro below and paste it into your macro editor -

/ui action toolbarSlotXX;
/say Right Click
/pause X;
/selectDraftSchematic XX;
/pause X

/nextCraftingStage;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype Practice noitem;
/createPrototype Practice noitem;
/say Right Click
/pause X;
/macro <name of next macro>

Enjoy!!

The information on this page has been updated through NGE. This information will eventually be integrated into the Datapad portion of this website. All requests, comments and suggestions should be emailed to info@swg.1strev.com.