• 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
Grabbing current Safari webpage url
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Grabbing current Safari webpage url


  • Subject: Grabbing current Safari webpage url
  • From: Steve Sheets <email@hidden>
  • Date: Thu, 6 Mar 2008 21:59:16 -0500

Good evening all...

Is there a way of finding out what is the current topmost webpage being viewed by Safari? Somehow then grabbing the url & title of that page? I have seen a couple applications that do exactly that. You goto a web page using Safari, but then goto the other applications window, and press a button. That application somehow acquires the information from Safari, and then uses it for some purpose. Some Bookmark apps do it this way, as well as some download utilities.

I think I can get this information using Applescript, but one of the developers hinted that he was not using Applescript to do this. Is there an application service or Safari API that passes your application this information?

Information (or better yet, source code) for doing this whatever your method would be appreciated!

Thanks,

Steve Sheets
Midnight Mage Software

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Grabbing current Safari webpage url
      • From: Adam P Jenkins <email@hidden>
    • Re: Grabbing current Safari webpage url
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Intel mac required for iPhone development
  • Next by Date: Re: Intel mac required for iPhone development
  • Previous by thread: Re: Intel mac required for iPhone development
  • Next by thread: Re: Grabbing current Safari webpage url
  • Index(es):
    • Date
    • Thread