Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to use a web browser to launch applescripts or quickies shortcuts. The problem is in Safari, for instance, a link to a script just shows it in the Finder. It will not run a script. I know this is because of security issues, but is there a way to make a browser open these scripts?

Is there a browser that will do it? This use to work fine using an old version of Internet Explorer for Mac, but since upgrading to Snow Leopard, I can't get it to work.


share|improve this question

Do you want to automate tasks in your web browser? Then iMacros for Firefox and iMacros for Chrome is what you need. These two are free/open-source "web browser macro recorder" addons.

share|improve this answer
+1 For listing two of the best browsers. (Safari is one of the worst well-known browsers, IMHO.) – Mateen Ulhaq Jan 18 '11 at 6:51

You could create your own AppleScript application, which allows you to also register your own URL schemes, such as myapp:. When such AppleScript application is then installed on some Mac, it will "listen" to URLs you defined, like myapp://go?text=Hello%20world. Clicking such URL will run the AppleScript right away.

See How do I make Safari open search results in a new tab by default? for an example.

AppleScript also supports the applescript: URL scheme. However: that will not run the script, but only open it in AppleScript Editor, after which you need to run it yourself. Like copy the following (as one line) into any browser on Mac OS X:


To convert a script into such a clickable applescript: URL, see Convert Script to Markup Code.

share|improve this answer

In Internet Explorer 8, you can enable the running of Java applets by clicking TOOLS > INTERNET OPTIONS > SECURITY > LOCAL INTRANET > CUSTOM LEVEL and then set ENABLE for the option 'Scripting of Java applets' in the SCRIPTING section.

That section controls all scripting settings on your local intranet, including your local hard disk.

Because you are adjusting only the LOCAL INTRANET zone, this does not risk a security breach. Scripting in the INTERNET zone, for instance, is not affected by changes made only in the LOCAL INTRANET zone.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .