Turn on all Photoshop layers

Anyone out there have a script that can turn on all Photoshop layers?

Documents contain layers. Layers have a property named visible. Maybe that’s what you’re after?

tell application "Adobe Photoshop Elements"
	repeat with i in (every layer of document 1)
		set visible to true
	end repeat
end tell

Hope it works,

You should not need the repeat loop:

tell application "Adobe Photoshop CS4"
	tell document 1 to set visible of every layer to true
end tell


in Photoshop CS it doesn’t work on layers in layersets.

you may have a look at this http://macscripter.net/viewtopic.php?id=32106 to find 1 or 2 possibilities

Does the script need to do anything else or is this its purpose? Only ‘ctrl’ and click the eye icon of a layer gives a flyout menu that does this.