Page 1 of 1

commands to a button

Posted: 02 May 2024 19:39
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

Re: commands to a button

Posted: 02 May 2024 19:54
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\";