I'm writing a macro that will back up a disc after inserting a second blank disc.
I didn't see a KM trigger for inserting a blank disc (only for mounting Volumes - for which blank discs are not) - so I'm using the Mac's 'When you insert a blank Blu-ray Disc' -> Run Script... function to trigger a macro.
This old gem:
...but the macro referenced in my .scpt script is not getting called.
I'm probably not writing the .scpt script right so I could use a second set of eyes.
My current process for creating a .scpt executable:
- Grab the "Or By Apple Script" trigger text in the KM macro
- Paste it in a text file and save with a .applescript extension
- Open the file in Script Editor
- Export... > File Format: Script
Then I plug it into the 'When you insert a blank Blu-ray Disc' -> Run Script... function as seen above. Unfortunately nothing happens when inserting a blank disc
I would post the macro, but at this point it's only a single 'Display Text Briefly' action I'm using as a placeholder to be sure the macro gets called.
Here's the .applescript before compiling to .scpt:
tell application "Keyboard Maestro Engine" do script "BF064EDC-282A-4D9F-87D7-0F32D3F1E25C" -- or: do script "Copy Disc" -- or: do script "BF064EDC-282A-4D9F-87D7-0F32D3F1E25C" with parameter "Whatever" end tell
Am I talking to whatever interprets .scpt files wrong? Is there a place where I can see runtime errors?