Trigger Conditions in Python

Posted on
Mon Mar 05, 2018 8:23 pm
dgarozzo offline
Posts: 116
Joined: Jan 08, 2009

Trigger Conditions in Python

It looks like Custom Trigger Conditions can only be written in AppleScript. I would like to request that this includes Python as an option.

Posted on
Mon Mar 05, 2018 9:04 pm
jltnol offline
Posts: 287
Joined: Oct 15, 2013

Re: Trigger Conditions in Python

You might try this plugin

https://www.indigodomo.com/pluginstore/129/


I installed it last year, but didn't have much time to try it out... looks like a new version was released just a few months ago, so this may help.

Like you, if/then has been a problem.... and the more devices, the bigger the problem. I've been able.... with the incredible help here online... to construct some basic if/ then options in Python... so if it is something simple, I'll be glad to try to help, but pat that, posting your issue online will most likely provide the best answer for you.

Posted on
Tue Mar 06, 2018 10:44 am
matt (support) offline
Site Admin
User avatar
Posts: 18380
Joined: Jan 27, 2003
Location: Texas

Re: Trigger Conditions in Python

dgarozzo wrote:
It looks like Custom Trigger Conditions can only be written in AppleScript. I would like to request that this includes Python as an option.

Yes, given that we are encouraging folks to move from ApplelScript to Python we will be providing more complete Python capabilities including conditionals.

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests