Write to File Action
Moderator: Martin
Write to File Action
Request that the File Settings support variables. Would like to create the file name using a variable within a script and use this variable as the file name to Write to File.
Re: Write to File Action
Set your variable-filename in {} and go on.
-
- Posts: 27
- Joined: 01 Dec 2012 08:13
Re: Write to File Action
As an example, I use the following, /mnt/sdcard/Automagic/Mileage/{global_todayYearYYYY}, to save a file to a folder with the current year in its name.
global_todayYearYYYY holds 2013 right now.
global_todayYearYYYY holds 2013 right now.
Re: Write to File Action
The Write to File Action does not seem to support variables within the File setting - that's what I'm requesting.
If varFileName="Test.txt" and /mnt/sdcard/LOGS/{varFileName} is entered into the File setting, a file named {varFileName} instead of Test.txt is created in directory /mnt/sdcard/LOGS/.
If varFileName="Test.txt" and /mnt/sdcard/LOGS/{varFileName} is entered into the File setting, a file named {varFileName} instead of Test.txt is created in directory /mnt/sdcard/LOGS/.
Re: Write to File Action
Variable support for this field should be in the next update.