commands to a button

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
7iben
Posts: 77
Joined: 04 Apr 2019 18:22

commands to a button

Post by 7iben »

Hello, I would like to assign the following commands to a button:

toolbar("treeshow,-,ctb36,ctb25,-,ctb26,ctb44,drive_X,-,ctb1,ctb6,ctb13,ctb18,ctb39,ctb38,-,ctb24,-,ctb10,flatview,ctb23,labels,-,|,ctb22,-,ctb62,ctb61,ctb60,ctb63,ctb56,ctb15,ctb58,ctb59,ctb54,ctb57")

and

open "x:\Buch\";

They should both be executed at the same time with one click. Is this possible? How should I write it?
Many thanks in advance

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

Re: commands to a button

Post by highend »

Code: Select all

toolbar("treeshow,-,ctb36,ctb25,-,ctb26,ctb44,drive_X,-,ctb1,ctb6,ctb13,ctb18,ctb39,ctb38,-,ctb24,-,ctb10,flatview,ctb23,labels,-,|,ctb22,-,ctb62,ctb61,ctb60,ctb63,ctb56,ctb15,ctb58,ctb59,ctb54,ctb57");
    open "x:\Buch\";
One of my scripts helped you out? Please donate via Paypal

Post Reply