Photoshop, bring layer to front with applescript

It is not that cool, nor that interesting, BUT, if someone ever need it, as I did, it’ll be there :slight_smile:
Just a small “snippet” that brings current layer of photoshop document to the front. It is useful when you got tons of layer to suddenly bring to front, document after document…(at his best when use with keyboard shortcut trigger)



tell application "Adobe Photoshop CS5"
	tell current document
		set mylayer to move current layer to the front
	end tell
end tell