This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 General Action Scripts
 Save xml file
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mesersmith

Romania
45 Posts

Posted - 02/25/2021 :  04:14:30  Show Profile
In another topic you create a code for lua, wich is launced automaticaly.
This code will create a lots of files in backup folder so i wonder if there is another way.
I think a button or a gesture will do this job very easy and the user will trigger that button or gesture only when he knows that he modified his code.
I use about 30 gestures and now and then, i make a new one.


How can I modify your code to launch it only when i want, from a button or from a gesture?

Edited by - mesersmith on 02/25/2021 04:17:32

nober

29 Posts

Posted - 02/26/2021 :  06:43:00  Show Profile
I'm assuming you are talking about the script found in how to backup config xml.

To use it only from a mouse or keyboard triggered action, move the code out of Global Lua, and place it in the "Lua Script" field under Configure Actions or Configure Hotkeys.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000