sc savesettings - add second param for file

Features wanted...
Post Reply
highend
Posts: 13309
Joined: 06 Feb 2011 00:33

sc savesettings - add second param for file

Post by highend »

It would be nice if savesettings could be extended by another param:
[file=<xyini>]

- If only a name is given (without path), the path defaults to <xydata>
- If not used or empty, XY's default XYplorer.ini is used

This would allow us to store XY's current settings in a tmp .ini file
and read it back to get the live value for a specific setting.

Sure, just a workaround, but get() doesn't support all command ids...

Save only relevant settings + pane data to %TEMP%\dummy.ini

Code: Select all

savesettings 1, "%TEMP%\dummy.ini"
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60530
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: sc savesettings - add second param for file

Post by admin »

Okay, cool. :tup:

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: sc savesettings - add second param for file

Post by bdeshi »

Great feature. Hopefully down the road you'll let temp saves of other settings like udc, ks etc.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply