<currfile> in Toolbar-Button Script not parsed

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

<currfile> in Toolbar-Button Script not parsed

Post by MBaas »

I have setup a cmd for a user-button as:

Code: Select all

run "'c:\apl.btm' <currfile>"
When clicking the button, XY complains:
2016-02-24_17-49-58.png
What have I done wrong?
To see the attached files, you need to log into the forum.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: <currfile> in Toolbar-Button Script not parsed

Post by highend »

There is no variable named <currfile>^^

Use e.g. <curitem> instead...
One of my scripts helped you out? Please donate via Paypal

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

Re: <currfile> in Toolbar-Button Script not parsed

Post by MBaas »

Ouch :oops:
Thanks! :D
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

Post Reply