How to open link in default browser?
How to open link in default browser?
- Subject: How to open link in default browser?
- From: Neil Lee <email@hidden>
- Date: Fri, 1 Jul 2005 01:15:11 -0400
I'm working on tweaking an applescript that works in conjunction with
the bayesian filtering software POPFile[1] and Mail.app. POPFile adds
a few custom headers, one of which includes a URL that displays the
email in POPFile's web interface.
[1]: http://popfile.sourceforge.net/
An example of a POPFile header:
X-Popfile-Link: http://127.0.0.1:8080/jump_to_message?view=24212
Here's what I have working for for Safari. I'd like to target this,
though, in whatever the default system browser is, but am not sure if
it should be just "open [url]" or if there's something more complex I
need to be doing:
set popFileLink to (content of header ¬
"X-Popfile-Link" of msg)
set popFileLink to (characters 1 through ¬
(count of popFileLink) of popFileLink)
log "PopFile: " & popFileLink
tell application "Safari" to GetURL ¬
(popFileLink as string)
Any help is appreciated!
Neil
--
Slumming at the beatnikPad : http://www.beatnikpad.com/
The person you love is 72.8% water.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden