• 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
Selection in Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selection in Safari


  • Subject: Selection in Safari
  • From: Jon Pugh <email@hidden>
  • Date: Tue, 24 Jun 2003 11:37:04 -0700

I see we can get the selection in Safari now:

tell application "Safari"
do JavaScript ("return getSelection();") in document 1
end tell

Cheesy, but it works.

Jon
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Selection in Safari
      • From: Paul Skinner <email@hidden>
References: 
 >Re: Applescript, Panther, and X-Code (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Short, maybe even handy, Address Book script
  • Next by Date: Re: Script Editor 2.0 (beta II)
  • Previous by thread: Re: Applescript, Panther, and X-Code
  • Next by thread: Re: Selection in Safari
  • Index(es):
    • Date
    • Thread