Hot tip: test inside Indigo!

Posted on
Sat May 07, 2016 1:09 pm
Different Computers offline
User avatar
Posts: 1908
Joined: Jan 02, 2016
Location: East Coast

Hot tip: test inside Indigo!

Had a script that worked perfectly in Script Editor, even talked properly to Indigo, setting a variable as it was supposed to based on a condition.

When embedded or run from inside Indigo, the functionality broke.

Scratched my head about that for a while, and realized that some Applescript variable state or some such was somehow being preserved when run inside Indigo. NOT an Indigo variable--the script never reads any of those.

No explanation, but I had to move a few variables other places in the script to get it to work when run from inside Indigo.

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Mon May 09, 2016 11:44 am
jay (support) offline
Site Admin
User avatar
Posts: 15690
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Hot tip: test inside Indigo!

If you specify something as a property in AppleScript, then it's supposed to be persistent so if you change it it will persist to the next run. Perhaps thats what you're seeing.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron