• 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: Targeting a frame in Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Targeting a frame in Safari


  • Subject: Re: Targeting a frame in Safari
  • From: Simon Topliss <email@hidden>
  • Date: Sun, 22 Mar 2009 20:07:00 +0000

On 22 Mar 2009, at 15:57, email@hidden wrote:

WIth these appleScript commands:

I now pronounce you "Man and Grief".

tell application "Safari"
	set tabText to text of tab 1 of window 1
	set tabSource to source of tab 1 of window 1
end tell

I have been able to identify part of the page looking by parcing the source, then parcing the text.

Not much else can be done via abbleScript, except do javascript, of course.

Unfortunately, Javascript will be the only way to go here.


_______________________________________________ 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
References: 
 >Targeting a frame in Safari (From: Deivy Marck Petrescu <email@hidden>)
 >Re: Targeting a frame in Safari (From: "email@hidden" <email@hidden>)

  • Prev by Date: Link working again! (Introduction to AppleScript Language Guide)
  • Next by Date: Re: Re: Applescript newbie trying to do something easy
  • Previous by thread: Re: Targeting a frame in Safari
  • Next by thread: Link working again! (Introduction to AppleScript Language Guide)
  • Index(es):
    • Date
    • Thread