0 évaluation0% ont trouvé ce document utile (0 vote)
78 vues4 pages
The macros and macro tools in this file ("StartupMacros.txt") are automatically installed in the Plugins>Macros submenu and in the tool bar when ImageJ starts up. The drawing tools are similar to the pencil, paintbrush, eraser and flood fill (paint bucket) tools in NIH Image.
The macros and macro tools in this file ("StartupMacros.txt") are automatically installed in the Plugins>Macros submenu and in the tool bar when ImageJ starts up. The drawing tools are similar to the pencil, paintbrush, eraser and flood fill (paint bucket) tools in NIH Image.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme TXT, PDF, TXT ou lisez en ligne sur Scribd
The macros and macro tools in this file ("StartupMacros.txt") are automatically installed in the Plugins>Macros submenu and in the tool bar when ImageJ starts up. The drawing tools are similar to the pencil, paintbrush, eraser and flood fill (paint bucket) tools in NIH Image.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme TXT, PDF, TXT ou lisez en ligne sur Scribd
// The macros and macro tools in this file ("StartupMacros.txt") are
// automatically installed in the Plugins>Macros submenu and // in the tool bar when ImageJ starts up. // About the drawing tools. // // This is a set of drawing tools similar to the pencil, paintbrush, // eraser and flood fill (paint bucket) tools in NIH Image. The // pencil and paintbrush draw in the current foreground color // and the eraser draws in the current background color. The // flood fill tool fills the selected area using the foreground color. // Hold down the alt key to have the pencil and paintbrush draw // using the background color or to have the flood fill tool fill // using the background color. Set the foreground and background // colors by double-clicking on the flood fill tool or on the eye // dropper tool. Double-click on the pencil, paintbrush or eraser // tool to set the drawing width for that tool. // // Icons contributed by Tony Collins. // Global variables var pencilWidth=1, eraserWidth=10, leftClick=16, alt=8; var brushWidth = 10; //call("ij.Prefs.get", "startup.brush", "10"); var floodType = "8-connected"; //call("ij.Prefs.get", "startup.flood", "8-co nnected"); // The macro named "AutoRun" runs when ImageJ starts. // macro "AutoRun" {print("AutoRun");} // The macro named "AutoRunAndHide" runs when ImageJ starts // and the file containing it is not displayed when ImageJ opens it. // macro "AutoRunAndHide" {} //macro "AutoRun" { //run("My Plugin"); //} //macro "Unused Tool -" {} var pmCmds = newMenu("Popup Menu", newArray("Help...", "Rename...", "Duplicate...", "Original Scale", "Paste Control...", "-", "Record...", "Capture Screen ", "Monitor Memory. ..", "List Commands...", "Control Panel...", "Startup Macros...", "Search...") ); macro "Popup Menu" { cmd = getArgument(); if (cmd=="Help...") showMessage("About Popup Menu", "To customize this menu, edit the line that starts with\n\"var pm Cmds\" in ImageJ/macros/StartupMacros.txt."); else run(cmd); } macro "Abort Macro or Plugin (or press Esc key) Action Tool - CbooP51b1f5fbbf5 f1b15510T5c10X" { setKeyDown("Esc"); } var xx = requires138b(); // check version at install function requires138b() {requires("1.38b"); return 0; } var dCmds = newMenu("Developer Menu Tool", newArray("ImageJ Website","News", "Documentation", "ImageJ Wiki", "Resourc es", "Macro Language", "Macros", "Macro Functions", "Startup Macros...", "Plugins", "Source Code", "Mailing List Archives", "-", "Record...", "Capture Screen ", "Monitor Memory...", "List Commands...", "Control Panel ...", "Search...", "Debug Mode")); macro "Developer Menu Tool - C037T0b11DT7b09eTcb09v" { cmd = getArgument(); if (cmd=="ImageJ Website") run("URL...", "url=http://rsbweb.nih.gov/ij/"); else if (cmd=="News") run("URL...", "url=http://rsbweb.nih.gov/ij/notes.html"); else if (cmd=="Documentation") run("URL...", "url=http://rsbweb.nih.gov/ij/docs/"); else if (cmd=="ImageJ Wiki") run("URL...", "url=http://imagejdocu.tudor.lu/imagej-documentation-wi ki/"); else if (cmd=="Resources") run("URL...", "url=http://rsbweb.nih.gov/ij/developer/"); else if (cmd=="Macro Language") run("URL...", "url=http://rsbweb.nih.gov/ij/developer/macro/macros.ht ml"); else if (cmd=="Macros") run("URL...", "url=http://rsbweb.nih.gov/ij/macros/"); else if (cmd=="Macro Functions") run("URL...", "url=http://rsbweb.nih.gov/ij/developer/macro/functions .html"); else if (cmd=="Plugins") run("URL...", "url=http://rsbweb.nih.gov/ij/plugins/"); else if (cmd=="Source Code") run("URL...", "url=http://rsbweb.nih.gov/ij/developer/source/"); else if (cmd=="Mailing List Archives") run("URL...", "url=https://list.nih.gov/archives/imagej.html"); else if (cmd=="Debug Mode") setOption("DebugMode", true); else if (cmd!="-") run(cmd); } var sCmds = newMenu("Stacks Menu Tool", newArray("Add Slice", "Delete Slice", "Next Slice [>]", "Previous Slice [ <]", "Set Slice...", "-", "Images to Stack", "Stack to Images", "Make Montage...", "Reslice [/]..." , "Z Project...", "3D Project...", "Plot Z-axis Profile", "-", "Label...", "Combine...", "C oncatenate...", "-", "Start Animation", "Stop Animation", "Animation Options...", "-", "T1 Hea d (2.4M, 16-bits)")); macro "Stacks Menu Tool - C037T0b11ST8b09tTcb09k" { cmd = getArgument(); if (cmd=="Images to Stack") run(cmd, " "); else if (cmd!="-") run(cmd); }
Windows 11 for Beginners: The Complete Step-by-Step User Guide to Learn and Take Full Use of Windows 11 (A Windows 11 Manual with Useful Tips & Tricks)
Music Production for Beginners: How to Make Professional Electronic Dance Music, The Ultimate 3 in 1 Bundle for Producers (Synthesizer Explained, The Ultimate Melody Guide & Mixing EDM Music)