Re: Grabbing current Safari webpage url
Re: Grabbing current Safari webpage url
- Subject: Re: Grabbing current Safari webpage url
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 6 Mar 2008 20:39:53 -0700
On Mar 6, 2008, at 7:59 PM, Steve Sheets wrote:
Is there a way of finding out what is the current topmost webpage
being viewed by Safari?
Yes, through AppleScript.
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?
Mac OS X does not allow applications to get NSWindows or WindowRefs of
other applications' windows for obvious security reasons (unless the
developer creates a back door via DO), so I don't see how that would
be possible.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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