Text Import and Export with Tinker Tools

Importing and Exporting with Text is a new feature for Tinker Tools v 1.2.
Importing and Exporting with Text is a new feature for Tinker Tools v 1.2.

In the guide on Loading and Saving sets, I covered how to import and export sets using the normal Lua File functions, which involved having to reload the ui and head out to the file directory and the Saved Variables folder.

With update 1.2 to Tinker Tools, it is now possible to use a text based transfer, just like with Toolbox, so now there is no need to keep a second addon (Toolbox) installed on your PC.  Not only that, but it keeps the shared sets on Dimension Addicts relevant and useful–and now, we can add actual Tinker Tools sets, quickly and easily.

Because Toolbox and Tinker Tools use different formats to import and export, before you export a set you’ll want to use the check boxes at the top to select which addon type the set is from.  For this example, we’ll export from TT, the set labeled big fancy desk (yep, that’s how I search for it, too).

Once you have the set selected, click Export Text, and you'll see the Lua text appear in the text window at the bottom.
Once you have the set selected, click Export Text, and you’ll see the Lua text appear in the text window at the bottom.

Once the text appears in the text window, click anywhere in the text field, then type CTRL + A to select all the text in the window.  Once it’s all selected, type CTRL + C to copy the text.  Next, we’ll head to DA.

Once you've logged into DA and are on a new upload paste, place your cursor in the text box where you would normally input the Toolbox Text, and type CTRL + V to paste the text import from Tinker Tools.
Once you’ve logged into DA and are on a new upload page, place your cursor in the text box where you would normally input the Toolbox Text, and type CTRL + V to paste the text import from Tinker Tools.

The text that you’re copying is still formatted into a Lua file, so you’ll need to make sure you paste all the additional characters without deleting them.  Once you’ve got the text put into the Import/Export Data line, you can fill in the rest of the set’s information and upload a screenshot of the item.  It’s up to you whether or not you’ll want to do a separate comment listing out all the materials (I do this as a courtesy, but it’s not a requirement).

Here it looks just as it did in the Import/Export Text box in Tinker Tools.
Here it looks just as it did in the Import/Export Text box in Tinker Tools.

So now, let’s import this set.  I’ve deleted the set from Tinker Tools, so we can ensure that the import works.

I broke down the DA screen into two part, so both the top and bottom could be shown.  Scroll your cursor only over the actual set text.  If you put any extra text in, Tinker Tools will give you an error and will not import the set.  Ensure the beginning and ending brackets are also included.  As with exporting, once all the set text is selected, type CTRL + C to copy the text.

In Tinker Tools, place your cursor in the text box and type CTRL + V to paste the text you just copied from DA.
In Tinker Tools, place your cursor in the text box and type CTRL + V to paste the text you just copied from DA.

Once you’ve got the set text pasted into the text window, assign the set a name, then click Import Text.import 4

Above is the message you should see in your chat log.  Once the set is imported, you can go back to the Load and Save tab, find the set, and do a print materials to make sure it imported directly if you need to gather materials to make a particular set.

import 5

Of course, the old way of importing and exporting a single file will also still work, but being able to quickly and easily transfer just text makes this function much more user friendly for sharing purposes.

Now, say I want to Import one of the Toolbox sets (because the sets are still good, it’s just the add-on that’s old).

I've found the set I want to Import, I've selected ONLY the set text, then typed CTRL + C to copy the text.
I’ve found the set I want to Import, I’ve selected ONLY the set text, then typed CTRL + C to copy the text.
In the text box, type CTRL + V to paste the copied text, then be sure to check the TBX Sets box, assign it a name, then click Import Text. Once that's done, there will be a notice in the chat log that the set was imported.
In the text box, type CTRL + V to paste the copied text, then be sure to check the TBX Sets box, assign it a name, then click Import Text. Once that’s done, there will be a notice in the chat log that the set was imported.

Now, once I’ve imported this as a Toolbox set, I can close out the Import/Export window and go back to Load and Save sets.  I won’t find the newly imported set under TBX sets in that window, it will be in Saved Sets.  From there, I can load it as I would any other set.

I've selected the set from my Saved Sets, and loaded it using New Items, to verify the set works--which it does, perfectly.
I’ve selected the set from my Saved Sets, and loaded it using New Items, to verify the set works–which it does, perfectly.

Happy Building!

%d bloggers like this: