You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _pages/tutorials/batch-processing-with-ij-macro.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Data from the [Image Data Resource](https://idr.openmicroscopy.org/) is used in
35
35
36
36
To start the macro recorder, go to {% include bc path="Plugins|Macros|Record" %}:
37
37
38
-
{% include img src="screenshot-plugins-macro-record.PNG" alt="Macro Recorder location on plugins menu" %}
38
+
{% include img src="screenshot-plugins-macro-record.png" alt="Macro Recorder location on plugins menu" %}
39
39
40
40
Every command you now access through ImageJ's menu will be recorded as a line of text in the macro recorder.
41
41
@@ -45,7 +45,7 @@ Every command you now access through ImageJ's menu will be recorded as a line of
45
45
46
46
Perform a series of commands that you would like to automate with a macro.
47
47
48
-
{% include img src="screenshot-macro-recorder-with-commands.PNG" alt="ImageJ Macro Recorder" %}
48
+
{% include img src="screenshot-macro-recorder-with-commands.png" alt="ImageJ Macro Recorder" %}
49
49
50
50
The commands recorded below resulted from:
51
51
1. Opening of an image with [Bio-Formats](/formats/bio-formats), splitting channels into separate windows.
@@ -69,13 +69,13 @@ The commands recorded below resulted from:
69
69
70
70
The result of the commands recorded above should look like this:
71
71
72
-
{% include img src="screenshot-workflow-output.PNG" alt="Workflow output" %}
72
+
{% include img src="screenshot-workflow-output.png" alt="Workflow output" %}
73
73
74
74
## Edit the Output from the Macro Recorder
75
75
76
76
It's possible to edit commands directly within the Macro Recorder, but it's probably easier to use the [Script Editor](/scripting/script-editor). You can launch the Script Editor directly from the Macro Recorder by clicking the `Create` button.
77
77
78
-
{% include img src="screenshot-macro-recorder-create.PNG" alt="Macro Recorder create button" %}
78
+
{% include img src="screenshot-macro-recorder-create.png" alt="Macro Recorder create button" %}
79
79
80
80
### Save your macro and run it
81
81
@@ -188,7 +188,7 @@ for (i = 0; i < 10; i++) {
188
188
```
189
189
...and should now produce some meaningful output when run:
190
190
191
-
{% include img src="screenshot-particle-analyzer-summary-output.PNG" alt="Particle Analyzer summary output" %}
191
+
{% include img src="screenshot-particle-analyzer-summary-output.png" alt="Particle Analyzer summary output" %}
Find the _scripts_ folder within your ImageJ/Fiji installation and save your macro within the _Plugins_ subdirectory. You should now see your macro appear at the bottom of the Plugins menu when you restart the application:
623
623
624
-
{% include img src="screenshot-plugins-installed-macro.PNG" alt="Macro dialog" %}
624
+
{% include img src="screenshot-plugins-installed-macro.png" alt="Macro dialog" %}
0 commit comments