Page 1 of 1
Smart Dropdown Buttons: faulty processing of %-delimiter
Posted: 08 Oct 2014 13:27
by Filehero
Hi,
Code: Select all
%winsysdir%\Calc.exe
"Calculator" %winsysdir%\Calc.exe
Over here (14.50.0107) the 2nd entry fails with a a script error "
... not a valid script command".
Cheers,
Filehero
Re: Smart Dropdown Buttons: faulty processing of %-delimiter
Posted: 08 Oct 2014 14:32
by bdeshi
did that ever work?
according to the manual,
is equivalent to
Code: Select all
"%winsysdir%\Calc.exe|%winsysdir%\Calc.exe" goto "%winsysdir%\Calc.exe";
that is, the caption is generated from shorthand, so maybe, if you already provide a caption*, shorthand syntax doesn't apply anymore. (and the text is parsed as a normal script)
* or probably other script elements
============
by the way, a single line of shorthand script always fails. (Did it always?)
Re: Smart Dropdown Buttons: faulty processing of %-delimiter
Posted: 08 Oct 2014 19:41
by Filehero
Hi Sammay,
SammaySarkar wrote:did that ever work?
Sure, see entry #3 where %var% is hard-wired
Code: Select all
%winsysdir%\Calc.exe
"Calculator" %winsysdir%\Calc.exe
"Calculator" C:\Windows\System32\Calc.exe
SammaySarkar wrote:according to the manual, ... is equivalent to
Code: Select all
"%winsysdir%\Calc.exe|%winsysdir%\Calc.exe" goto "%winsysdir%\Calc.exe";
In "my" manual it gets auto-expanded to
Code: Select all
"%winsysdir%\Calc.exe|%winsysdir%\Calc.exe" run "%winsysdir%\Calc.exe";
Cheers, FH
Re: Smart Dropdown Buttons: faulty processing of %-delimiter
Posted: 08 Oct 2014 21:20
by bdeshi
huh? that makes my post pointless.
(I know it applies to all goto,run,open; I'd just copied from the first example I found without checking...

)
Re: Smart Dropdown Buttons: faulty processing of %-delimiter
Posted: 06 Nov 2014 06:25
by Filehero
Hi Don,
a friendly bump.
It isn't a major bug but it strikes me serveral times on a working day, so I want to make sure you notice it.
Cheers,
Filehero
Re: Smart Dropdown Buttons: faulty processing of %-delimiter
Posted: 06 Nov 2014 16:42
by admin
Friendly fix comes.
Re: Smart Dropdown Buttons: faulty processing of %-delimiter
Posted: 06 Nov 2014 18:53
by Filehero
Hi Don,
it's a tremendous pleasure for me to announce that your efforts have turned into a sparkling and brillant success!
Thanks for the quick fix which I hereby confirm.
FH
Re: Smart Dropdown Buttons: faulty processing of %-delimiter
Posted: 06 Nov 2014 19:02
by admin
Now that was a friendly confirmation.
