How to make an existing AppleScript file to work as a service? I made an AppleScript, saved it as a file in a specific folder on my hard drive. Now I want to assign a shortcut to it and looks like I have to make a Service via Automator, but the Run AppleScript asks me to put the code inside, while I want to execute the already existing .scpt file. How to do that?
Yes, Automator is the best option here. To create the service follow these steps:


Open Automator and select Service:


Search 'applescript' and drag the action to the right pane:


Change Service receives selected text to Service receives no input so that it always appears in the Services menu:


Replace (* Your script goes here *) with:

do shell script "/usr/bin/osascript /path/to/your/script.scpt"


if you wish to execute your existing .scpt file. Note that osascript can't handle user interaction like displaying a dialog window:



To overcome this limitation either use this workaround or simply replace (* Your script goes here *) with the contents of your script.
Save it:


If you wish, you can assign a shortcut to your new service. Select Services>Services Preferences in Finder (or any open application):


Assign a not so common shorcut:


Now your service is accessible from any application through the shortcut you assigned in the previous step:




If you ever want to get rid of the service open ~/Library/Services, delete the service and empty the trash: