Re: Inserting a button into another application's toolbar

2017-09-21 Thread Nick
Thank you for the suggestions! 2017-09-19 10:36 GMT+03:00 Alastair Houghton : > > On 19 Sep 2017, at 06:01, Jack Brindle wrote: > > > > Actually, there may be a way. It all depends on exactly where in the > menu bar you want to place the menu

Re: Inserting a button into another application's toolbar

2017-09-19 Thread Alastair Houghton
> On 19 Sep 2017, at 06:01, Jack Brindle wrote: > > Actually, there may be a way. It all depends on exactly where in the menu bar > you want to place the menu item. I think the OP wanted to inject a *toolbar* item into another app’s window’s toolbar, not a menu bar

Re: Inserting a button into another application's toolbar

2017-09-18 Thread Jack Brindle
Actually, there may be a way. It all depends on exactly where in the menu bar you want to place the menu item. If you want to add it on the right side as a status item, then you need to check out NSStatusBar. This would allow you to add a separate application (more likely a user Agent which can

Re: Inserting a button into another application's toolbar

2017-09-18 Thread Jens Alfke
> On Sep 18, 2017, at 2:35 PM, Nick wrote: > > adding/injecting a toolbar icon > with a custom handler code into the main window of the application. Sorry, there's no reasonable way to do that if the app doesn't already support plugins. There used to be some awful

Re: Inserting a button into another application's toolbar

2017-09-18 Thread Quincey Morris
On Sep 18, 2017, at 14:35 , Nick wrote: > > adding/injecting a toolbar icon with a custom handler code into the main > window of the application Isn’t that a massive security violation? Assuming you could get an icon into the toolbar (NSToolbar), it would need an action

Inserting a button into another application's toolbar

2017-09-18 Thread Nick
Hello I am developing an add-in for an application that does not officially support add-ins. Everything can be done using AppleScript, except for a method to activate this add-in, to make it work more or less seamlessly with the application, which is basically adding/injecting a toolbar icon with