• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to open link in default browser?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to open link in default browser?


  • Subject: Re: How to open link in default browser?
  • From: Matthew Smith <email@hidden>
  • Date: Fri, 01 Jul 2005 15:31:11 +1000

on 01/07/2005 15:15, Neil Lee at email@hidden wrote:

> 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!

How about:

open location "http://www.apple.com";

It doesn't have to be in any tell block.

--
Matthew Smith


 _______________________________________________
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

References: 
 >How to open link in default browser? (From: Neil Lee <email@hidden>)

  • Prev by Date: How to open link in default browser?
  • Previous by thread: How to open link in default browser?
  • Index(es):
    • Date
    • Thread