Originally Posted by Resike
You dont need to turn off the game for that, just overwrite the data, and "/reload".
|
No, the saved variables files are written to on a reload. Unless you set the file to be read-only before your /reload the UI, whatever the variables are set to in-game when reloading will be saved to the file overwriting what you had copy-pasted in.
@Mazzop: Depending on the length of the saved variables, you could just paste it into the chat frame to run it. Otherwise, you'll need to create an editbox yourself to paste into and then call RunScript() on the text or use an addon for that purpose (such as DevPad, WoWLua, TinyPad, etc.)