No doubt I'm missing some logical in-line conditional expression here, but my brain is drawing a blank today.
Using '>"C:\Program Files (x86)\GIMP-2.0\bin\gimp-2.6.exe" $S' works fine 99% of the time, whether multiple files are selected or not, which is fine.
If no files are selected, then the command "seems" to work just like a regular shortcut, and Gimp opens fine with a blank canvas as expected.
However, if no files are selected and the active pane happens to be empty (no files in directory), then it appears x2 passes the argument literally as "$S", resulting in a predictable error:
Why does this only happen when invoked from empty directories, and how might I prevent it? (Same behaviour in all applications called through similar commands.)
I could understand if $S was just parsed out as empty space, as expected, but literally? Odd.
Stochastic User Command Token doesn't like Tarantino...
Moderators: fgagnon, nikos, Site Mods