User interaction exercises#
Question
Create a new script/macro with the following skeleton of a macro:
Then, follow these steps:
- Go to the parameters documentation.
 - Choose a 
Typeand aStyleif applicable. - In the macro, add the 
Typeto the parameter declaration. - If you have a 
Style, addstyle="..."with the appropriate value in the parenthesis. - Give a 
nameto your parameter and change thelabel. - Use the value of the parameter to make a string.
 - Run your macro! 
 
Question
Find examples, of the Type you chose, in the documentation and explore the different parameters.
For instance, an Integer type has different styles and parameters (e.g. min, max etc.).
Question
Find an example of a dialog to choose a file and use it in a macro.
How freakin' amazing is that?