<< Click to Display Table of Contents >> Navigation: 3. Script Language > PlugIn-Commands > PIS. - PlugIn Send > PlugIn Commands |
MiniRobotLanguage (MRL)
PIS.SetButtonNumber Command
PlugInSend Set Number of Buttons
Intention
The PIS.SetButtonNumber-Command will set the number of visible Buttons.
Generally the Plugin has 40 Buttons, but only the specified Number of buttons will be available to the User.
' Will set the number of visible Buttons to 4
PIS.$$PIN|SetButtonNumber|4
' Will set the number of visible Buttons to 9
PIS.$$PIN|SetButtonNumber|9
Syntax
PIS.P1|SetButtonNumber|P2
PIS.P1|Sbn|P2
Parameter Explanation
P1 - Variable which contains the PlugIn Index-No.
P2 - value - number of visible Buttons (1-40)
Example
-
Remarks
You can use up to 5 Plugins at the same time.
Just start them, each will get another Index.
To communicate with each PlugIn, you just give the PlugIn-Index to each command.
Button-Colors and transparency:
Please note that if you set Buttons transparent, that they can not have a background-color at the same time.
To set multiple Buttontext at once you can use:
PIS.$$PIN|sbt|all|Button %n
The "%n" is replaced with the number of that button.
The "all" and %n-scheme will also work with most other commands, where it makes sense.
Limitations:-
-
See also:
•