Toolbar-command not evaluating correctly...

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Toolbar-command not evaluating correctly...

Post by MBaas »

I like the idea of having a custom toolbar-btn that has several choices of commands on right-click. And I was able to set this up for several calls, but I'm failing with RapidEE.
The script-line for right-click is:

Code: Select all

"RapidEE|<xyscript>\RapidEEx64\rapidee.exe"  run "<xyscript>\RapidEEx64\rapidee.exe"
The Icon does not show, and when I select that item I get an error:
Das System kann die angegebene Datei nicht finden.

File: <xyscript>\RapidEEx64\rapidee.exe

Parameters:
run
<xyscript>\RapidEEx64\rapidee.exe
The file does exist there, and when I enter <xyscript>\RapidEEx64\rapidee.exe into the address-bar, XY also goes there.

So why is the command not executing?

BTW, it works when I replace the var with the actual path:

Code: Select all

"RapidEE|C:\Users\mbaas\AppData\Roaming\XYplorer\Scripts\RapidEEx64\rapidee.exe"  run "C:\Users\mbaas\AppData\Roaming\XYplorer\Scripts\RapidEEx64\rapidee.exe"
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Toolbar-command not evaluating correctly...

Post by highend »

<xyscript> doesn't belong to XY's variables...

It's <xyscripts>

Please read the docs:

Code: Select all

::rtfm "idh_variables.htm";
One of my scripts helped you out? Please donate via Paypal

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: Toolbar-command not evaluating correctly...

Post by MBaas »

Oh shit - I actually read the hlp, but somehow missed that little (now, where is that eys with tears icon?).
Thanks! :appl:
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

Post Reply