Announcement: Upgrade to macOS Mojave

With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. 
Find out how to upgrade to macOS Mojave > https://support.apple.com/macos/mojave

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: Adding a 'Scripts' Menu Item

Hello,


Is it possible to add a ‘Scripts’ menu item for whatever application you choose so as to be able to run scripts in that app?


Thanks.

MacBook Air, macOS Sierra (10.12.3)

Posted on

Reply
Question marked as Solved
Answer:
Answer:

You can enable a Scripts menu item on the Finder menu bar via the Script Editor's Preferences : General panel. You then have the choice of whether application scripts appear at the top, or bottom of this menubar menu. This Finder script menubar item remains after Script Editor has quit, and it will not place a script menu on applications.


Not all applications are scriptable with AppleScript as the author chose not to provide AppleScript support.

Posted on

Question marked as Helpful

Dec 19, 2017 3:31 PM in response to KDS-KDS In response to KDS-KDS

Enabling the Scripts menu will allow you to run scripts in an app. That can be done from the Script Editor, General tab.

The menu will always show in the status menu area of the menu bar, but otherwise, I think it would accomplish what you desire.

Question marked as Helpful

Dec 19, 2017 3:31 PM in response to KDS-KDS In response to KDS-KDS

Here is the Scripts menu in the menu bar:

User uploaded file


In addition to the Scripts menu, you may be interested in using Services.


Using Services allows you to do one thing that you can't with the Scripts menu: assign keyboard shortcuts.

Services are created with Automator and can call scripts and a lot more.

There’s more to the conversation

Read all replies
Question marked as Helpful

Dec 19, 2017 3:31 PM in response to KDS-KDS In response to KDS-KDS

Enabling the Scripts menu will allow you to run scripts in an app. That can be done from the Script Editor, General tab.

The menu will always show in the status menu area of the menu bar, but otherwise, I think it would accomplish what you desire.

Dec 19, 2017 3:31 PM

Reply Helpful (1)
Question marked as Solved

Dec 17, 2017 6:06 AM in response to KDS-KDS In response to KDS-KDS

You can enable a Scripts menu item on the Finder menu bar via the Script Editor's Preferences : General panel. You then have the choice of whether application scripts appear at the top, or bottom of this menubar menu. This Finder script menubar item remains after Script Editor has quit, and it will not place a script menu on applications.


Not all applications are scriptable with AppleScript as the author chose not to provide AppleScript support.

Dec 17, 2017 6:06 AM

Reply Helpful
Question marked as Helpful

Dec 19, 2017 3:31 PM in response to KDS-KDS In response to KDS-KDS

Here is the Scripts menu in the menu bar:

User uploaded file


In addition to the Scripts menu, you may be interested in using Services.


Using Services allows you to do one thing that you can't with the Scripts menu: assign keyboard shortcuts.

Services are created with Automator and can call scripts and a lot more.

Dec 19, 2017 3:31 PM

Reply Helpful (1)
User profile for user: KDS-KDS

Question: Adding a 'Scripts' Menu Item