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

Safari source code


  • Subject: Safari source code
  • From: dor kelman <email@hidden>
  • Date: Sat, 19 Nov 2005 14:11:51 -0800
  • Thread-topic: Safari source code

How do I get the source code of a website in html from my Safari browser
onto TextEdit. After I already opened the source window on safari I did:

tell application "Safari"
    set x to document "Source of http://news.google.com/"; as text
end tell
tell application "TextEdit"
    run
    set text of document "Untitled" to x
end tell

I got an error that spoke gibberish to me.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Safari source code
      • From: kai <email@hidden>
    • Re: Safari source code
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Check For Open Application
  • Next by Date: Re: Check For Open Application
  • Previous by thread: Fwd: for geeky women
  • Next by thread: Re: Safari source code
  • Index(es):
    • Date
    • Thread