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.

Update:
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'

Share this:
  • E-mail this story to a friend!
  • Print this article!
  • Wists
  • del.icio.us
  • Reddit
  • Digg
  • StumbleUpon
  • Slashdot
  • Technorati
  • SphereIt
  • Sphinn
  • Google
  • Facebook
  • NewsVine
  • Furl
  • YahooMyWeb
  • TwitThis
  • Shop Apple
  • Shop Dell

 

Related posts

by Jon | Tags: ,
Posted in applescript

Link to this post

HTML
BBCode

Add a Comment

Show who you are with a Gravatar.

 

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

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

Featured Tee

UneeTee.com

One Day, One Artist, One cool T-shirt

$3000 Kick Off by Uneetee
Guys - $13
Girls - $13

Apparel

Search Amazon

Search Amazon.com
Search Amazon.co.uk

Advert

Web hosting by ICDSoft