Re: giving a URL to safari
Re: giving a URL to safari
- Subject: Re: giving a URL to safari
- From: Martin Costabel <email@hidden>
- Date: Mon, 30 Jun 2003 10:45:40 +0200
Eugene Lee wrote:
Nope. It's a shell issue. Use single quotes instead, like so:
open 'http://localhost/3.6man/xephem.html#SkyView'
open 'file:///Library/Documents/3.6man/xephem.html#SkyView'
You haven't really tried this, have you?
I think it's the LaunchServices framework that throws away the #SkyView.
Here is a method that works: I don't know how to do this with Safari,
but with Mozilla you can use AppleScript. From the command line, the
following will work (one line)
osascript -e 'tell application "Mozilla" to OpenURL
"file:///Library/Documents/3.6man/xephem.html#SkyView"'
Maybe something similar will work with Safari, but I don't know the syntax.
--
Martin
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.