Well, keeping settings with the script file sounds pretty "standard" alright, but such scripts should be within <xydata>\Scripts anyways, as it is the officially recommended thing to do.TheQwerty wrote:I'd say keeping a custom settings file with the script that uses it is very likely to be "standard" script use, whatever that is.
You are free to assume all you want, but if I've learned anything in my time as a programmer it's to never assume anything. A certain saying comes to mind...
I know assuming what people will do is "wrong", but in this case it's not so much assuming as recommending : XY is a portable app, not just because it comes with no install and uses an INI file, the entire app has been thought that way (see PFA, relative syntax, etc) and wile not enforced (as for XY's own INI files), it is highly recommended to store all your script files within <xydata>\Scripts (in fact, "load foobar" will look for <xydata>\Scripts\foobar.xys), and so it is only logical to recommend to store any additional settings within <xydata> (or <xydata>\Scripts if you prefer) as well.
XYplorer Beta Club