multiple commands with one button

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
OUrm7Vo2
Junior Member
Junior Member
Posts: 80
Joined: 2003-04-17, 18:50 UTC

multiple commands with one button

Post by *OUrm7Vo2 »

How do I execute the cm_FocusLeft command followed by OPENTABS command using a single bar button?
User avatar
Dalai
Power Member
Power Member
Posts: 10024
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: multiple commands with one button

Post by *Dalai »

Commands with parameters can't be used in command sequences. You need to create a user-defined command with the OPENTABS command with the appropriate .tab file as parameter, and name it e.g. em_OpenMyWorkingTabs. Once that's done, you can specify the command sequence the usual way, i.e.

Code: Select all

cm_FocusLeft,em_OpenMyWorkingTabs
.

User(-defined) commands are set in the "Choose command" window - also called command browser, opened e.g. via cm_CommandBrowser - in the usercmd.ini section.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
OUrm7Vo2
Junior Member
Junior Member
Posts: 80
Joined: 2003-04-17, 18:50 UTC

Re: multiple commands with one button

Post by *OUrm7Vo2 »

2Dalai,

Works as you described.

Very helpful. Thank you.
Post Reply