21 April 2008 @ 6:43Camino no longer accepts the Applescript ‘get URL’

I just noticed this today when one of my scripts was broken. Apparently from Camino 1.5 to 1.6 the open URL and the get URL commands were dropped and replaced by open location. If you have any uncompiled Applescripts using the open URL or the get URL commands, you should make the change to open location.

Note: compiled Applescripts that use either of the old commands should still work.

In my testing, the problem with using the old syntax only exhibits itself when using osascript from the command line. Using “Get URL” in the Script Editor still seems to work.

The syntax on the command line should look like this:

osascript -e 'tell application "Camino"' -e 'open location "http://geek.thinkunique.org"' -e 'end tell'

Be Sociable, Share!

by | Add a comment | Tags: ,
Posted in applescript | Link to this

Add a Comment

Show who you are with a Gravatar.


Sign up for PayPal and start accepting credit card payments instantly.

Staples Logo

Get fed!

rss icon subscribe to Geek stuff

rss icon Geek stuff in your inbox

Add the "Geek stuff" Google Gadget to your homepage

Add the "Daily Deals" Google Gadget to your homepage


Search Amazon

Search Amazon.com
Search Amazon.co.uk

Recent Forum Topics


    Web hosting by ICDSoft