ASIDE: Fiji Startup Macros

A quick pro-tip to follow up on the last post.

I use the Bio-Formats plugins all the time, so I like to have the shortcut window open automatically whenever I open Fiji. To do this, make a text file containing the line:

run("Bio-Formats Plugins Shortcut Window");

Save this file (it can have any name as long as the extension is .ijm) to:

c:\path\to\Fiji.app\macros\AutoRun\tools.ijm

This macro will now get run every time Fiji starts and the Bio-Formats shortcut window will appear. You can add anything you like to the startup macro. Mine includes a few other things and looks like this:

run("Options...", "iterations=1 black count=1"); // set black background
run("Colors...", "foreground=white background=black selection=yellow"); // set colors
run("Appearance...", " "); // do not use Inverting LUT
run("Bio-Formats Plugins Shortcut Window");
run("Channels Tool...");

//run("ROI Manager...");
//run("Control Panel...");
//run("Macro");

Double forward slashes are comments and are ignored.

Advertisements

Comment!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.