Skip to content

Commit

Permalink
disable shortcuts macro for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ahgamut committed May 15, 2024
1 parent 8f66fe3 commit 5029f77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion macros/ShoeComp.ijm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<hideMenus>

<startupAction>
eval("js", "IJ.getInstance().setVisible(false)");
eval("js", "if(IJ.getInstance().isVisible()) IJ.getInstance().setVisible(false);");
</startupAction>

<line>
Expand Down
3 changes: 2 additions & 1 deletion macros/StartupMacros.fiji.ijm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
macro "AutoRun" {
// hide ImageJ window at startup
eval("js", "IJ.getInstance().setLocation(0, 0)");
eval("js", "if(IJ.getInstance().isVisible()) IJ.getInstance().setVisible(false);");
run("Action Bar","/macros/ShoeComp.ijm");
run("Install...", "/macros/ShoeComp_Shortcuts.ijm");
// run("Install...", "/macros/ShoeComp_Shortcuts.ijm");
}

0 comments on commit 5029f77

Please sign in to comment.