Be sure to set ModulePath in your .fvwmrc file to include FvwmScript's path.
Main Case Message of SingleClic: Begin # list of instructions which will be # executed when widget receives # message "SingleClic". This message is # generated by the user. End 1: Begin # list of instructions which will be # executed when widget receives # message 1 End End
Title: string to display.
Icon: icon to display.
Title: this string has the following syntax {Title of the button|Option 1|Option 2| Option3|...|Option N}. "Option 1|Option 2|...|Option N" is the popup menu which is displayed when pressing the right button.
Icon: icon to display.
Title: title of the radio button.
Value: if Value is equal to 1, the box is checked else it is not.
Title: title of the check box.
Value: if Value is equal to 1, the box is checked else it is not.
Title: content of text field.
Value: position of the insert point.
Value: position of the thumb.
MaxValue: upper limit of Value.
MinValue: lower limit of Value.
Value: position of the thumb.
MaxValue: upper limit of Value.
MinValue: lower limit of Value.
Value: position of the thumb.
MaxValue: upper limit of Value.
MinValue: lower limit of Value.
Title: specify the window name which be captured and displayed in the script window. SwallowExec: specify the command line to execute to spawn the process. Modules canalso be swallowed.
Value: specify the looking of the border. Possible value: -1, 0, 1.
Value: specify what option is selected.
Title: the title has the following syntax: {Option 1|Option 2|...|Option N}."Option 1|Option 2|...|Option N" is the popup menu which is displayed when pressing mouse button.
Value: specify the current value of the dipstick.
MinValue: specify the minimum value of the dipstick.
MaxValue: specify the maximum value of the dipstick.
Value: specify the current value of the dipstick.
MinValue: specify the minimum value of the dipstick.
MaxValue: specify the maximum value of the dipstick.
Value: specify which option is selected.
Title: title contains options displayed in the list. The syntaxe is the following: {Option 1|Option 2|...|Option N}. All menus are displayed at the top of window.
Value: specify which option is selected.
Title: title contains options displayed in the menu. The syntaxe is the following: {Option 1|Option 2|...|Option N}.
Here is the description of all instructions.
If $ToDo=={Open xcalc} Then Do {Exec xcalc &} # List of instructions Else Begin Do {Exec killall xcalc &} # List of instructions Do {Exec echo xcalc killed > /dev/console} EndThe second part "Else-Begin-End" is optional. If the loop contains only one instruction, Begin and End can be omitted. The instruction "While-Do" as the following syntax:
While $i<5 Do Begin Set $i=(Add i 1) # List of instructions EndTwo strings can be compared with "==" and two numbers can be compared with "<", "<=", "==", ">=", ">". The loop "For-Do-Begin-End" has the following syntax:
For $i=1 To 20 Do Begin Do {Exec xcalc &} # List of instructions End