action_reference
This object provides information about what the action is refering to.
For example, when referring to the name of something you might use keyName. The reference would also need to know what name you are referring to. In this case you could use classDocument for the name of the document or classLayer for the name of the layer. It can be used for low-level access into Contains data associated with an ActionDescriptor.
ActionReference
Bases: Photoshop
Contains data describing a referenced Action.
The action reference object is part of the Action Manager functionality. For details on using the Action Manager, see the Photoshop Scripting Guide.
Source code in photoshop/api/action_reference.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
|
getForm()
Gets the form of this action reference.
Source code in photoshop/api/action_reference.py
57 58 59 |
|
getIdentifier()
Gets the identifier value for a reference whose form is identifier.
Source code in photoshop/api/action_reference.py
61 62 63 64 |
|
getIndex()
Gets the index value for a reference in a list or array,
Source code in photoshop/api/action_reference.py
66 67 68 |
|
putEnumerated(desired_class, enum_type, value)
Puts an enumeration type and ID into a reference along with the desired class for the reference.
Source code in photoshop/api/action_reference.py
76 77 78 79 |
|
Created: 2024-11-27