Download Real Time Developer Studio: User Manual
Transcript
User Manual
<shell command> is the command associated with the button
buttonWindowDel <button window name> <button name>
removes a button from a button window
<button window name> is the name of the button window
<button name> is the text of the button to be removed
buttonWindowLabelAdd <button window name> <label name>
adds a label to previously created button window
<button window name> is the name of the button window
<label name> is the text to be displayed on the label
buttonWindowLabelDel <button window name> <label name>
removes a label from a button window
<button window name> is the name of the button window
<label name> is the text of the label to be removed
• Button windows
It is possible to create user-defined buttons and to associate shell commands.
Here is an example of a button window:
>buttonWindowCreate myWindow
>buttonWindowLabelAdd myWindow Misc
>buttonWindowAdd myWindow myButton = help
>buttonWindowLabelAdd myWindow Execution
>buttonWindowAdd myWindow stop = send2name pPing normal
mStop
>buttonWindowAdd myWindow start = send2name pPing normal
mStart |{param1|=12345|}
So clicking on myButton will actually execute the help command in the shell.
It is also possible to remove labels or buttons:
>buttonWindowDel myWindow stop
It is possible to create several button windows.
To stop one of the window, just close the window.
Real Time Developer Studio V4.0
Page 243