- Posted on
Thu Apr 19, 2018 1:04 pm
-
Colorado4Wheeler
offline
-
- Posts: 2794
- Joined: Jul 20, 2009
- Location: Colorado
The subprocess is going to be harder to execute long scripts, but easy to execute an actual script file. The AppleScript library can do better at 'ad lib' scripting. My plugin uses the AppleScript library to run script files directly.
Mostly it's whatever your preference is and what the need is.
My Modest Contributions to Indigo:
HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy
Check Them Out Here