- Posted on
Mon Jun 20, 2011 9:18 am
-
jay (support)
offline
- Site Admin
-
- Posts: 18246
- Joined: Mar 19, 2008
- Location: Austin, Texas
-
Conditions aren't supported in AppleScript or Python.
As a workaround, you can create a sort of "template" trigger which contains the condition you want to use. Then duplicate it rather than create one from scratch and change the trigger and/or actions in code. The Conditions will get duplicated from the template.
NOTE: I just found a bug in the current Indigo 5 beta - the duplicate command in AppleScript seems to be broken; we'll get that fixed in an upcoming release.