...the out parameter...
This program, EasyThumbs or ezthumbs.exe, does not appear to support any console output. The only output I can get is to use the /M switch to display a dialog box.
When I tried the "out" parameter, I got a blank output, but the thumbnail was correctly created.
BUT, can I be assured that by using the "out" parameter that the process
IS actually complete. That would be enough.
I like the program because of the many option switches for the command line.
@mars:
I tried {.WHILE|true|{: {.exec|......} :}|timeout=5.} and the exec didn't get exec'd.
According to the Wiki:
The special macros with such behaviour are: if, set, for, switch and breadcrumbs.
Is this correct?
When I removed the quoting, {: :}, it worked but the timeout didn't delay the macro execution at all.
Just for fun, I also tried "false" and it had identical results.
What is surprising to me is that, when I watched "Task Manger", I only saw one "ezthumbs.exe" process. I thought it may show many copies running. Maybe it is set for "only one instance" by default.
I ran:
{.while|true|{.exec|ezthumbs.exe|{:"C:\Users\80063r\Pictures\Screen Shots\UltraEdit_Environment_2.jpg" /D="C:\Users\80063r\Pictures\Screen Shots\thumbs" /P=_tn /W=100 /H=100 /Z=ShrinkToFit /F=Nearest /Q=70 /B=0 /C=0 /S=0 /R=0 /Log=tnlog:}.}|timeout=20.}
{.set|#tn|1.}
{.call|#tn.}
{.focus.}
and the "Run Script" dialog focused immediately and showed the "1".
I can't seem to get any delay with "while".
> exec|ezthumbs.exe|{:"C:\Users\80063r\Pictures\Screen Shots\UltraEdit_Environment_2.jpg" /D="C:\Users\80063r\Pictures\Screen Shots\thumbs" /P=_tn /W=100 /H=100 /Z=ShrinkToFit /F=Nearest /Q=70 /B=0 /C=0 /S=0 /R=0 /Log=tnlog:}
<
> while|true| |timeout=20
<
> set|#tn|1
<
> call|#tn
< 1
> focus
<
Also, just to be crazy, I set a variable to the value of the thumbnail and tried to compare or "cut" that. I can't get cut to work properly with any variable even with:
{.set|#tn|abcdefg}
{.cut|3|4|#tn.}
I get "n" as in the third character of "#tn". I tried every combination of ! # ^ % {. .} I can think of.
Setting a variable to the value of the thumbnail just seemed to mess up macro execution.