New Utility To Find All AppleScript in Indigo

Posted on
Wed Jun 27, 2018 10:13 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

New Utility To Find All AppleScript in Indigo

As you may have seen, I've been updating my Mac Commander plugin to version 2 and today released Beta 4 which has a cool new utility in it. Under the plugin menu there is an option for Find Embedded AppleScript which will run through your Indigo database and produce a list of all Schedules, Action Groups and Triggers that have an embedded AppleScript. I did this so there was an easy way to see what you may need to take a look at to make sure it is not directly referencing the Indigo object as the devs have repeatedly stated that soon AppleScript is likely to be removed from Indigo.

Since MC2 is in beta you will need to download the latest release from beta 4 forward to get this functionality.

And, yes, this is safe as it examines a copy of your database and doesn't mess with the live database itself ;).

Essentially you run it and the following is output to your Event window:

Code: Select all
EPS - Mac Commander             ### PLEASE WAIT WHILE YOUR DATABASE IS EXAMINED FOR EMBEDDED APPLESCRIPT, THIS MAY TAKE A MOMENT ###

EPS - Mac Commander             
The following items have an embedded AppleScript:

Action Group: CALIBRATE Back Drapes
Action Group: CALIBRATE Side Drapes
Action Group: ONE SECOND - Side
Action Group: ONE SECOND - Back
Action Group: CALIBRATE Bedroom Drapes
Action Group: ONE SECOND - Master Bedroom
Action Group: New Appt
Action Group: ical test
Action Group: Todays Appointments
Action Group: Tomorrows Appointments
Action Group: Office - Toggle Torchiere
Action Group: Office - Toggle Desk
Action Group: Basement - Toggle Theater
Action Group: Basement - Toggle Sitting Area
Action Group: Stop Plex
Action Group: Start Plex
Action Group: Basement Toggle
Action Group: Basement Check
Action Group: Greatroom Check
Action Group: Greatroom Toggle
Action Group: Start Plex Main
Action Group: Stop Plex Main
Action Group: Master Bedroom sync to KPL's
Action Group: Purge Plex File Cache
Action Group: Stop Plex Main Client
Action Group: Start Plex Main Client
Action Group: Kodi - Start
Action Group: Kodi - Stop
Action Group: couchPotato - Start
Action Group: couchPotato - Stop
Action Group: Side Drapes - Close copy
Action Group: Side Drapes - Half copy
Action Group: Side Drapes - Open copy
Action Group: Side Drapes - Toggle copy
Action Group: Back Drapes - Close copy
Action Group: Back Drapes - Half copy
Action Group: Back Drapes - Open copy
Action Group: Back Drapes - Toggle copy
Action Group: Bedrom Drapes - Half copy
Action Group: Bedroom Drapes - Close copy
Action Group: Bedroom Drapes - Open copy
Schedule: Daily - Connect Airfoil Speakers
Trigger: Greatroom KPL sync to Other KPL's
Trigger: Greatroom Sectional sync to KPL's
Trigger: Greatroom Wolf Lamp sync to KPL's
Trigger: Master Bedroom Bed Button 2 On (ALL OFF)
Trigger: Master Bedroom Bed Button 1 On (ALL ON)
Trigger: Bedroom Deck sync to KPL's
Trigger: Sectional Button 3 On (Table Lamp Brighten)
Trigger: Sectional Button 4 On (Table Lamp Dim)
Trigger: Sectional Button 8 On (Company)
Trigger: Side Drape State sync to KPL's (disabled)
Trigger: Sectional Button 7 Off (Movie Time)
Trigger: Bedroom Drape State sync to KPL's
Trigger: Bedroom Vanity Sync to KPL's
Trigger: Bedroom Entryway Sync to KPL's
Trigger: Bedroom (Armoir) sync to KPL's
Trigger: Away Button Turned On
Trigger: Back Drapes sync to KPL's
Trigger: Side Drape State sync to KPL's
Last edited by Colorado4Wheeler on Wed Jun 27, 2018 10:43 am, edited 2 times in total.

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

Posted on
Wed Jun 27, 2018 10:19 am
mat offline
Posts: 769
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: New Utility To Find All AppleScript in Indigo

THANKS! It looks like you may have saved me some time - much appreciated. :)

I may well tackle this at the weekend now!

Late 2018 mini 10.14

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests