-
-
Notifications
You must be signed in to change notification settings - Fork 33
Error: Function 'InsertLegendSquareHorizontalThree' is not approved. #92
Description
Summary
On macOS, custom shortcut mappings through Karabiner successfully call InstrumentaKeys.applescript, but the macro reference InsertLegendSquareHorizontalThree fails with the error:
Error: Function 'InsertLegendSquareHorizontalThree' is not approved.
What I expected
The shortcut should trigger the Instrumenta macro for inserting a horizontal 3-square legend.
What happened instead
PowerPoint shows an error dialog saying the function is not approved.
Environment
• macOS
• PowerPoint for Mac
• Instrumenta manual installation
• Karabiner-Elements
• AppleScript plugin in ~/Library/Application Scripts/com.microsoft.Powerpoint/
Why this looks like an Instrumenta issue
• The shortcut trigger is working.
• InstrumentaKeys.applescript is being called successfully.
• The failure appears to be in the AppleScript approval/whitelist layer, not in Karabiner.
• The macro appears in the published macro list, but seems not to be approved by the Mac AppleScript bridge.
Steps to reproduce
1. Install Instrumenta manually on macOS.
2. Configure a Karabiner shortcut that runs:
/usr/bin/osascript ~/Library/Application\ Scripts/com.microsoft.Powerpoint/InstrumentaKeys.applescript InsertLegendSquareHorizontalThree
4. Trigger the shortcut.
5. Observe the error dialog.
Question
Is InsertLegendSquareHorizontalThree intended to be supported via InstrumentaKeys.applescript on macOS? If yes, it looks like the approved function list may need updating.