Select Top/Previous/Next/Bottom Layer Only

This script cycles through layers making the active layer the only visible layer (useful for hand-editing simple animations) similar to Layer > Stack > Select Next/Previous Layer.

AttachmentSize
cycle-layer-visibility.scm2.9 KB

Comments

Key bindings

Regarding:

;;; I typically bind these to Ctl+PgUp and Ctl+PgDn so I can do simple
;;; layer-based animations

I am running GIMP 2.6 on a Linux platform. How do you assign key bindings? I have searched the web - this site specifically. I am unsure as to how to go about specifying key bindings for a script or plug-in.

-Randall

Key Bindings

I answered my own question regarding keybindings. In case anyone else has the same question...
1) Open menu item: Edit -> Preferences
2) Select 'Interface'.
3) Under 'Keyboard Shortcuts', check the box labeled 'Use dynamic keyboard shortcuts'.
4) Close preferences dialog.
5) Find desired menu item, and highlight it (via hovering mouse cursor).
6) Press desired key combination.
Easy!

-Randall

Useful, indeed!

I downloaded this script-fu plug-in. It appropriately works well in concert with my recent posting "Guillotine into Layers" (useful for selecting guillotined regions for exporting). Have you considered adding additional functionality: "Select Top Layer Only" and "Select Bottom Layer Only"?

Yours,
Randall