Hello guys
Is it possible to check in a script for a command line option? E.g., can I check in my script if '-non-strict' was used? I can't find any mention of this anywhere.
[Perfectly happy to RTFM if someone can point me to the right place]
Thanks
Uyen
Check in script for command line option use?
Re: Check in script for command line option use?
Unfortunately, scripts are not required to obey any kind of specification. Default FileBot command-line options are accessible to scripts, and may or may not be used. In addition, scripts may access arbitrary additional variables passed in via --def name=value pairs.
EDIT:
There's also no way to print the current list of command-line options being used, if that's what you're asking for. The filebot -script fn:sysenv can be useful for debugging command-line arguments though.
EDIT:
There's also no way to print the current list of command-line options being used, if that's what you're asking for. The filebot -script fn:sysenv can be useful for debugging command-line arguments though.
Please read the FAQ and How to Request Help.