Skip to content

Commit

Permalink
added sript parameters to auto-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Sep 30, 2019
1 parent ac03d96 commit ed5d5eb
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions src/main/resources/doc/ij1macro/functions_extd.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,58 @@
All commands inside a while loop block are repeatedly executed until expression becomes false.


<a name="param1"></a>
<b>#@ String text</b>
Ask the user to enter a string when starting macro execution.

<a name="param2"></a>
<b>#@ String(value="Useful hints", visibility="MESSAGE") hint</b>
Show a message to the user when starting macro execution.

<a name="param3"></a>
<b>#@ String(label="Analyst name", description="Your name") name</b>
Ask the user to enter a string explained in a label when starting macro execution.

<a name="param4"></a>
<b>#@ String(choices={"A","B"}, style="radioButtonHorizontal") location</b>
Ask the user to make a choice with radio buttons when starting macro execution.

<a name="param5"></a>
<b>#@ String(choices={"Mutant", "Control"}, style="list") experimGroup</b>
Ask the user to make a choice in a pulldown when starting macro execution.

<a name="param6"></a>
<b>#@ int number</b>
Ask the user to enter a number when starting macro execution.

<a name="param7"></a>
<b>#@ int(value=25, min=0, max=100, style="slider") ratio2</b>
Ask the user to enter a number within a given range using a slider when starting macro execution.

<a name="param8"></a>
<b>#@ double(value=25, min=0, max=1, style="spinner") realNumber</b>
Ask the user to enter a number within a given range using a spinner when starting macro execution.

<a name="param9"></a>
<b>#@ File (style="open") inputFile</b>
Ask the user to select a file to open when starting macro execution.

<a name="param10"></a>
<b>#@ File (style="save") outputFile</b>
Ask the user to select a file to save when starting macro execution.

<a name="param11"></a>
<b>#@ File (style="directory") imageFolder</b>
Ask the user to select a folder when starting macro execution.

<a name="param12"></a>
<b>#@ ColorRGB(value="red") color</b>
Ask the user to select a colour when starting macro execution.

<a name="param14"></a>
<b>#@ boolean checkbox</b>
Offer the user to activate a checkbox when starting macro execution.



</body>
Expand Down

0 comments on commit ed5d5eb

Please sign in to comment.