Keyboard Shortcuts & Drag-n-Drop

Keyboard Shortcuts

The following are keyboard shortcuts that help speed up your interactions with Jim by reducing the amount of mouse movement you have to perform.

Note: in order for any of these shortcuts to have the desired effect, the image display must have the correct input focus. For example, if the cursor is currently flashing in the place where you type in an image name, then this will receive the keyboard input, and the key-presses detailed below will not have the desired effect.

flashing_cursor
Input focus in a text field is indicated by a flashing cursor.

Click on the image with the mouse, and then your key presses will be directed at the image, and the shortcuts will work correctly.

Note: in Mac OS X Lion a new feature was introduced that disables key repeating in Java programs. Normally, if a key is held down, the action of a key repeats, but this is not the case in OS X Lion. To re-enable key repeating, open a terminal window, and type in the following command (you can copy and paste it from here):

  defaults write -g ApplePressAndHoldEnabled -bool false

Then logout and log back in again, and key repeating should be enabled in Jim.

Slice Selection

  • Press the shift key as you double-click on the slice to simultaneously select a slice, and set the display layout to single slice display.
  • With a single slice selected, press the shift key as you double-click on the slice to set the display layout to display all slices.

Zoom & Pan Shortcuts

  • Press the + key to zoom in.
  • Press the - key to zoom out.
  • Press the = key to set the zoom to 100%.
  • Press the r key to pan right a small amount.
  • Press the l key to pan left a small amount.
  • Press the u key to pan up a small amount.
  • Press the d key to pan down a small amount.
  • Press the R, L, U and D keys to scroll by larger amounts.

You must have either a slice selected, or all slices must have the same zoom and pan for these shortcuts to have any effect. Press the mag_link button to set all slices to the same zoom and pan.

  • Press the "a" key to set all slices to the same zoom/pan. You must have a slice selected for this to have any effect.

Slice Paging Shortcuts

  • Press the n key, PgDn key or arrowdown to increment the visible slices by one.
  • Press the p key, PgUp key or arrowdown to decrement the visible slices by one.
  • Press the N key or arrowdown to increment the visible slices by one page of slices.
  • Press the P key or arrowdown to decrement the visible slices by one page of slices.
  • Press the Home key to go to the first slice.
  • Press the End key to go to the last slice.

Note: these shortcuts only apply when the ROI Toolkit is active.

  • Press the > key to select the next ROI in the selected slice (or the first ROI if none is currently selected).
  • Press the < key to select the previous ROI in the selected slice (or the first ROI if none is currently selected).
  • Press Ctrl-A select all ROIs, or those in the selected slice (if there is a selected slice).
  • Press Ctrl-C to copy all selected ROIs to the clipboard.
  • Press Ctrl-V to paste all ROIs in the clipboard to the selected slice.
  • Press Ctrl-X or the Delete key to delete all the selected ROIs.
  • Press Ctrl-O to edit the outline of an Irregular or Curved Line ROI.
  • Press Ctrl-T to smooth the outline of an Irregular or Curved Line ROI.
  • Press Ctrl-Z to undo the last ROI editing operation.
  • Press Ctrl-S to save the current ROIs to disk.
  • Press the t key to add a Text ROI underneath the current mouse location. Then type in the text you want, and finish by pressing the Return (Enter) key.
  • Press the m key to add a Marker underneath the current mouse location.
  • Press the i key to start creation of an Irregular ROI, just as if you had pressed the irregular button.
  • Press the f key to add an Irregular ROI using fuzzy-connection from the current mouse location. This only applies when the Fuzzy Connections is tool active, and the ROI Toolkit is visible.
  • Press the c key to add a Contour ROI, with contouring starting at the current mouse location. If you have preview_check_box selected, then pressing the c key initiates the preview, and you must click with the mouse to finalise the Contour ROI.
  • Press the o key to add an Open Spline ROI.
  • Press the s key to add a closed Spline ROI.
  • Press the e key to start the eraser. You must have an Irregular ROI selected for this to work.
  • Press the w key to start pixel painting. You must have an image loaded, and the pixel paint value already selected for this to work.
  • Press the z key to to finalize Irregular and Spline ROIs. The key-press substitutes for the normal double-click with the mouse to finalize the ROI. For Contour ROIs, the key-press substitutes for the single click of the mouse to finalize the contour.
  • Press the j key to select ROIs that overlap in adjacent slices (see selecting connected ROIs).
  • Press Ctrl-E to erode an ROI.
  • Press Ctrl-D to dilate an ROI.

Some of these keyboard accelerators can be remapped, so that you can assign different key presses to perform the actions, instead of the default key presses above. See the User Preferences section to see how to do this.