Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"open location" osax question



I wrote a script to do a Google query to get the lyrics of whatever track iTunes is playing. It assembles the URL and then uses "open location" to send it. I found that

open location theURL

doesn't do anything.  But if I say

tell application "Safari" to open location theURL

it works perfectly. I'm wondering why that is. My understanding was that the osax could be used anywhere and would open the default application for the protocol of the URL.

Marc [2/11/05  6:43:07 PM]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.