python : get all selected layers
Hi,
I actually use python com to do some stuff in photoshop cs6.
The problem is I can get activelayer :
The problem is in actually being able to get the names of the currently selected layers
from win32com.client import Dispatch
psApp = Dispatch("Photoshop.Application")
doc = psApp.Application.ActiveDocument
print "ActiveLayer:", doc.ActiveLayer.name
But I can't find a way to get the name of all selected layers ! is there a isSelected state, or any function to get the list of all selected layers ?
Thanks
