Is there a way to hide all groups in a psd file with Python? I've searched everywhere but haven't found an answer.
Open .psd, log by Script Listener this task with Extendscript, then see yourself how to convert it to Python.
I have no idea what this post is about, can you explain?
I still don't understand. What you mean by 'everything is possible'? And why you think I'm a 'Genius', while I am not. What it has to do with Python? Can you explain better?
'Everything is possible in Every Scripting that is called genius'
The above sentence has no logic in english, so it would be better if you pasted it in your native langauge to give a chance to translate it, otherwise that is impossible to understand what you mean.
Anyway, no one in this topic (incl. me and topic creator) said Photoshop scripting in Python is not possible. His question and my hints prove it, so your saying 'Everything is possible' has no relation to context of posted content. That's why I'm asking what that is said for.
Additionally scripting in Python is nothing extraordinary. You can find a few threads on this forum about it. Calling me a genius because I'm aware there's possibility to use Python together with Photoshop is unnormal. That's the common information you can find on google. Otherwise everyone who knows that is possible is an genius? 😕
I've found a way to make it working with the following code:
doc = psApp.Application.ActiveDocument layerSets = doc.LayerSets if (len(layerSets) > 0): for layerSet in layerSets: layerSet.Visible = false