Code: Select all
$command = <<<>>>
"<xy>" /path="D:\your picture path\" /new /script="::#307;wait 1000;#1001;#501;wait 3000;#1001;if(get('instance')=='2') {exit 'n';}"
>>>;
run $command, "%TEMP%", 2, 1;
Code: Select all
$command = <<<>>>
"<xy>" /path="D:\your picture path\" /new /script="::#307;wait 1000;#1001;#501;wait 3000;#1001;if(get('instance')=='2') {exit 'n';}"
>>>;
run $command, "%TEMP%", 2, 1;
...run $command, , 2, 1;
Thanks.No, it's just a "better be on the safe side".is it necessary to have "%Temp%" in the directory field
OK I see what you mean, but in my specific case, in the "command" field the full path of XY is provided via <xy>. Help for SC run directory field states,
The working directory, allows you to skip the path in command; defaults to current path.
So it defaults to current path if the path is not in command field. It doesn't appear that the current folder has any bearing for my case at least it shouldn't as long as the full path of the executable command is provided. No a big deal obviously just making sure I understand. Thanks highend and thank you m48tx for testing...again.Code: Select all
$command = <<<>>>
"<xy>" /path="<curpath>" /new /script="::#306;wait 200;exit 'n';"
>>>;
run $command, , 2, 1;
Code: Select all
$savepath = "<curpath>"; // save the starting path
#311; // generate path list via branch view
// (configuration must be set to display folders only in branch view)
#250; // select all paths in the list
foreach($item, <get selecteditemspathnames>, <crlf>) {
goto "$item"; #306;
} // for each item in the path list, go to the path then generate thumbnails #1
// (configuration must be set to create all thumbnails at once)
goto "$savepath"; // once finished with path list, return to the starting path
#1010; // collapse the starting path tree