Search found 4 matches

by boogalooper
Fri Jun 05, 2020 3:11 pm
Forum: Photoshop Scripts
Topic: classID of new ActionDescriptor
Replies: 5
Views: 5872

Re: classID of new ActionDescriptor

I know only one way - by the key from the parent ActionDescriptor (actually, that's why I thought that the classID is stored in the parent object). It is unlikely that you did not know about it :) #target photoshop s2t = stringIDToTypeID; t2s = typeIDToStringID; (A = new ActionDescriptor).putInteger...
by boogalooper
Fri Jun 05, 2020 12:59 pm
Forum: Photoshop Scripts
Topic: classID of new ActionDescriptor
Replies: 5
Views: 5872

Re: classID of new ActionDescriptor

The ActionManager has the functions .isEqual() and .toSream () (an analogue of .toSource () for ordinary objects) - with their help, if necessary, you can compare ActionDescpriptor objects without sorting them into values. This is not the most common task, but sometimes they are useful. As far as I ...
by boogalooper
Thu Jun 04, 2020 7:18 pm
Forum: Photoshop Scripts
Topic: classID of new ActionDescriptor
Replies: 5
Views: 5872

classID of new ActionDescriptor

Recently, I needed to write a script that compared the newly created ActionDescpriptor with a previously saved one in the process. I ran into the following problem: the number of properties and their values ​​in the two ActionDescpriptor are the same (I checked this), however functions like .isEqual...
by boogalooper
Sun Oct 06, 2019 1:52 pm
Forum: Help Me
Topic: How to get layers refs from inactive document (AAM)?
Replies: 1
Views: 2895

How to get layers refs from inactive document (AAM)?

Good afternoon! I am writing a script that looks for layers with certain characteristics among open documents. Is there a way to get references to layers of an inactive document through AAM (now my script switches to the next document in advance, but for the user this mode of operation is not very c...