NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 1132 - Always on top
Always on top
Status: RESOLVED INVALID
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
PC Windows
: P4 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2015-08-03 21:19 CDT by Willisa Liou
Modified: 2015-08-04 04:22 CDT
2 users (show)

See Also:

Description Willisa Liou 2015-08-03 21:19:56 CDT
I follow the instruction of imagej online http://imagej.nih.gov/ij/developer/javascript.html
and practice the always on top instructions. 
 it says "To create an "Always on Top" command, save this script in the plugins folder as "AlwaysOnTop.js", 
It should be Always_On_Top.js What does this _ do to make it work? how many_ should be in the file name and where should it be?  anywhere, at least one?
Although I have fixed the file name, it will not run until I execute install plug in, and later has to run help > refresh manus. Your online instruction is in controdict to the pdf version of the user guide.

I run fiji, there are many plugins in the plugin folder, however, not all the plugins are shown on the main menu under Plugins, eg. extended_depth_field. Why is it and how to run it?

Information about your version of Java:

  os.arch => amd64
  os.name => Windows 7
  os.version => 6.1
  java.version => 1.6.0_24
  java.vendor => Sun Microsystems Inc.
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_24-b07
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 19.1-b02
  java.vm.vendor => Sun Microsystems Inc.
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.6
  sun.cpu.endian => little
  sun.desktop => windows
  file.separator => \

The up-to-date check says: UP_TO_DATE

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: C:\Users\user\fiji\FIJI-W~1\Fiji.app/java/win64/jdk1.6.0_24//jre
  imagej.dir => C:\Users\user\fiji\FIJI-W~1\Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20150722105527)
Fiji: http://fiji.sc/update/ (last check:20150725035809)

Files not up-to-date:
  fa223c09 (LOCAL_ONLY) 20150804100144 plugins/Always_On_Top.js
  d31ed141 (LOCAL_ONLY) 20150730191459 plugins/Stack_Focuser_.class
Comment 1 Jan Eglinger 2015-08-04 04:22:43 CDT
For scripts, it's sufficient to contain at least one underscore (_) in the file name. See http://fiji.sc/Scripting_Help#Creating_scripts_and_using_.22refresh_scripts.22

Plugins (i.e. .jar files) usually contain a plugins.config file that defines their menu path, so it doesn't matter at what position in the ./plugins/ folder or sub-folders the file is located. See http://fiji.sc/Frequently_Asked_Questions#My_plugin_runs_fine_in_the_Script_Editor.2C_but_it_does_not_show_up_in_the_menus_when_I_install_it._What.27s_wrong.3F


From your other bug report (#1133), it seems that you were able to run Always_on_top.js, so I'm closing this bug.