LabelButton command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:


{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="575px"|
<span class="f_Para">Lets you replace the label of a Client [[Button Bar|button bar button]]. </span>
<span class="f_Para">Lets you replace the label of a Client [[Button Bar|button bar button]]. </span>



Latest revision as of 21:25, 30 January 2023

Action:

Lets you replace the label of a Client button bar button.

Syntax:

labelButton buttonName newlabel

where:

  • buttonName is button0, button1, etc; that is, the name of a currently mapped button.  
  • newlabel can be as many as 50 characters (the button is expandable).

If the command executes successfully, the label changes immediately, and you receive a Label set for: buttonName message.

Example: The following macro uses labelButton:

continueMacroIf &&blackOrWhiteList = 'black' labelButton button0 BlackList On turnOffBlackList restoreTitle set &changed = 1 clearStatus 

Client menu: --
Introduced: Build 62