Skip to content

action_list

This object provides an array-style mechanism for storing data.

It can be used for low-level access info Photoshop.

ActionList

Bases: Photoshop

The list of commands that comprise an Action.

(such as an Action created using the Actions palette in the Adobe Photoshop application). The action list 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_list.py
11
12
13
14
15
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
class ActionList(Photoshop):
    """The list of commands that comprise an Action.

    (such as an Action created using the Actions palette in the Adobe Photoshop application).
    The action list object is part of the Action Manager functionality.
    For details on using the Action Manager, see the Photoshop Scripting Guide.

    """

    object_name = "ActionList"

    def __init__(self, parent=None):
        super().__init__(parent=parent)
        self._flag_as_method(
            "getBoolean",
            "getClass",
            "getData",
            "getDouble",
            "getEnumerationType",
            "getEnumerationValue",
            "getInteger",
            "getLargeInteger",
            "getList",
            "getObjectType",
        )

    @property
    def count(self):
        return self.app.count

    def getBoolean(self, index):
        return self.app.getBoolean(index)

    def getClass(self, index):
        return self.app.getClass(index)

    def getData(self, index):
        return self.app.getData(index)

    def getDouble(self, index):
        return self.app.getDouble(index)

    def getEnumerationType(self, index):
        return self.app.getEnumerationType(index)

    def getEnumerationValue(self, index):
        return self.app.getEnumerationValue(index)

    def getInteger(self, index):
        return self.app.getInteger(index)

    def getLargeInteger(self, index):
        return self.app.getLargeInteger(index)

    def getList(self, index):
        return self.app.getList(index)

    def getObjectType(self, index):
        return self.app.getObjectType(index)

Last update: 2024-11-17
Created: 2024-11-17