Ideas for new features & functions
Moderators: JRL, Dorian (MJT support)
-
Grovkillen
- Automation Wizard
- Posts: 1132
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
-
Contact:
Post
by Grovkillen » Wed Apr 28, 2021 4:33 pm
Hi!
I would love to use virtual files to be able to use read (ini) file commands on strings without the need to create a physical file first. Something like this:
Code: Select all
Let>STRING=[info]%CRLF%key=XYZ
VirtualFile>VirtualIniFile,STRING
ReadIniFile>:VirtualIniFile:,info,key,RESULTING_VALUE
//RESULTING_VALUE=XYZ
-
Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
-
Contact:
Post
by Marcus Tettmar » Mon May 03, 2021 9:40 am
Unfortunately the INI file functions use Windows APIs which rely on ... files. Why not just save to a TEMP file. If we were to implement this that is probably exactly what we'd do behind the scenes. It would make much more sense than completely reinvent the Windows INI file handling API.
-
Grovkillen
- Automation Wizard
- Posts: 1132
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
-
Contact:
Post
by Grovkillen » Mon May 03, 2021 12:01 pm
Aha, yeah then I'll start relying on temp files. Thanks for pointing out the behinds of it.