Spark icon indicating copy to clipboard operation
Spark copied to clipboard

Cannot bind App created by osacompile to hotkey?

Open von opened this issue 9 years ago • 0 comments

I've created an Application from an AppleScript using osacompile (osacompile -o NewIterm.App NewIterm.scpt). This script opens a new Iterm window. The created Application works fine from Finder and from the command-line. I'd like to bind this App to an Spark hotkey, but I'm having no luck doing so.

First, it's hard to choose the App from Spark. It seems to let me choose it, but after hitting Create another (random?) App appears in the action instead. Trying to update the binding with my App is similarly frustrated by the original App appearing. I'm not sure how, but by changing the App to other Apps enough times, I got it to successfully create once (though I cannot not now recreate it).

But then my new binding doesn't do anything. Whenever I press the hotkey, nothing happens or appears no matter what settings I have (e.g. Show notification at Launch).

Does Spark require some attribute of Applications that osacompile may not be setting? Any suggestions for debugging?

p.s. I've successfully bound other Mac applications to hotkeys so I understand the process in general.

von avatar Oct 03 '16 01:10 von