Skip to content, Skip to search

Changes

Script Parameters

171 bytes added, 07:41, 30 July 2018
m
Files and Folders: - add the style="file" tag
The exact same code works for the [[Macros|ImageJ1 Macro language]], too.
 
If you want to select files only, use a <code>style</code> property:
 
<source lang="python">
#@ File(label="Select a file", style="file") myFile
 
print(myFile)
</source>
You can set restrictions on accepted file types based on file extension (using a <code>style</code> property):
Emailconfirmed
91
edits