• 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: getting URL of front web page (addendum)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting URL of front web page (addendum)


  • Subject: Re: getting URL of front web page (addendum)
  • From: email@hidden
  • Date: Thu, 27 Mar 2003 06:13:00 +0000

Thank you for the error as I do occasionally have to resort to IE (Safari being in beta) and your Safari:IE tip will be very handy

Thanks to all who responded.

Kind regards



Oz


At 22:23 +0000 26/03/2003, Mr Tea wrote:
>This from Mr Tea - dated 26/3/03 10714 pm:
>
>> This from OzSprings - dated 26/3/03 9731 pm:
>>
>>> Is is possible to Applescript copying the URL of the frontmost web
>>> page from Safari (which is what I am using) or another browser?
>>
>> Yes. The precise terminology required needs to be checked in each browser's
>> scripting dictionary, but a Safari to IE transfer would look like this:
>>
>> --===========================================================
>> tell application "Safari" to set theURL to URL of the front document
>> tell application "Internet Explorer" to OpenURL theURL
>> --===========================================================
>
>
>Er, I read the last three words of the passage I quoted as '_to_ another
>browser', rather than 'or'. Which is why the script I proposed effected a
>browser to browser transfer. Useful for pages that don't work right in
>Safari, but not much good if you want to get the URL into FMP (as per
>OzSprings' original request). No matter. The syntax for getting the URL
>still applies. Safari doesn't need to be frontmost, and the value of
>'theURL' is simply a string containing the URL. You can take it anywhere.
>;-)
>
>
>Nick
>pp Mr Tea
>
>--
>_______________________________________________
>applescript-users mailing list | email@hidden
>Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
>Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: getting URL of front web page (addendum) (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: getting URL of front web page
  • Next by Date: Re: getting URL of front web page (addendum)
  • Previous by thread: Re: getting URL of front web page (addendum)
  • Next by thread: Re: getting URL of front web page
  • Index(es):
    • Date
    • Thread