Skip to content

Instantly share code, notes, and snippets.

View methodphoto's full-sized avatar

Richard Earney methodphoto

View GitHub Profile
@methodphoto
methodphoto / Select Next Layer (invisible or not).jsx
Last active January 19, 2026 18:22 — forked from joonaspaakko/Select Next Layer (invisible or not).jsx
Photoshop script that selects the next layer above or below even if it's not visible.
// Select Next Layer (+100).jsx
// Original Script: https://gist.github.com/joonaspaakko/048c9b58ccbb6e6f44c894bf4ce30b68
// This Script: https://gist.github.com/methodphoto/284a81728885873b4d5164aa977b7912
// This version of the original script will select the nth layer (in this case 100) below the current layer
// Using nextLayer('down'); you can switch directions using 'up' and 'down'
// Using 'Select next layer 100 times' you can choose how many layers it can skip
nextLayer('down');
// direction (↑): "up" or "above"

Keybase proof

I hereby claim:

  • I am methodphoto on github.
  • I am methodphoto (https://keybase.io/methodphoto) on keybase.
  • I have a public key ASD88U1RW48j-yVAcUMLrx_jKVOjGNAd6HMLwFw7aaTpHgo

To claim this, I am signing this object: