Re: Getting a link from a safari window
Re: Getting a link from a safari window
- Subject: Re: Getting a link from a safari window
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 23 May 2010 05:51:48 -0400
On May 23, 2010, at 1:08 AM, Tommy Bollman wrote: Den 22. mai 2010 kl. 23.03 skrev email@hidden:
It would really help my script if I could get the link's URL first. This script will be visiting hundreds of pages, but if I can't determine if it's visited the URL already, it would be 1000s of pages.
I've sent Ed the GUI Scripting solution privately. In summary: using UI Browser or GUI Scripting, get the value of the AXURL attribute of a Safari/WebKit "link" element, instead of getting the value of the link's static text child element (which is the name of the website, not its URL). |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden