(v4.48)
When using GetTriggerOption (and the like), passing "name" returns nil. When using SetTriggerOption (and the like), passing "name" returns 30025 ("Option name not found"). This is in contrast to the documentation for both, which lists "name" as a valid option.
Certainly Get(X)Option wuth "name" isn't very useful, but in regards to Set(X)Option I don't see any other way to rename a trigger/alias/timer from a script without exporting the whole thing, tweaking the name, and importing it back in. Renaming a trigger/alias/timer can be useful along the same lines as modifying one's group: the name acts as a reference to it, so you could manage a set of triggers and apply a single name to any one at a time, where the named trigger represents the "current" trigger.
When using GetTriggerOption (and the like), passing "name" returns nil. When using SetTriggerOption (and the like), passing "name" returns 30025 ("Option name not found"). This is in contrast to the documentation for both, which lists "name" as a valid option.
Certainly Get(X)Option wuth "name" isn't very useful, but in regards to Set(X)Option I don't see any other way to rename a trigger/alias/timer from a script without exporting the whole thing, tweaking the name, and importing it back in. Renaming a trigger/alias/timer can be useful along the same lines as modifying one's group: the name acts as a reference to it, so you could manage a set of triggers and apply a single name to any one at a time, where the named trigger represents the "current" trigger.