• 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: "email@hidden" <email@hidden>
  • Date: Sun, 22 Mar 2009 08:57:15 -0700

WIth these appleScript commands:

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.

ES

On Mar 21, 2009, at 3:20 PM, Deivy Marck Petrescu wrote:

Does anyone know how to target the text of a frame in Safari.
I assume t would be through "do Javascript" but I  really stink at it.
Thanks fr any hints!
_______________________________________________
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
  • Follow-Ups:
    • Re: Targeting a frame in Safari
      • From: Simon Topliss <email@hidden>
References: 
 >Targeting a frame in Safari (From: Deivy Marck Petrescu <email@hidden>)

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