• 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: Parsing web pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing web pages


  • Subject: Re: Parsing web pages
  • From: Christopher Stone <email@hidden>
  • Date: Mon, 02 Nov 2015 01:59:56 -0600

On Nov 02, 2015, at 01:55, Christopher Stone <email@hidden> wrote:
What version of OSX are you using?
______________________________________________________________________

Hey Dave,

Oh, I missed that you were using Mavericks.  That changes things just a little.

-------------------------------------------------------------------------
tell application "Finder" to set desktopBounds to bounds of window of desktop
set item 2 of desktopBounds to 44

tell application "Safari"
  tell front document
    set pageText to its text
    set pageSource to its source
  end tell
end tell

tell application "BBEdit"
  make new text window with properties {text:pageText, bounds:desktopBounds}
  make new text window with properties {text:pageSource, bounds:desktopBounds}
end tell
-------------------------------------------------------------------------

--
Best Regards,
Chris

 _______________________________________________
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: 
 >Parsing web pages (From: DaveC <email@hidden>)
 >Re: Parsing web pages (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Parsing web pages
  • Next by Date: PATH variable for do shell script
  • Previous by thread: Re: Parsing web pages
  • Next by thread: Re: Parsing web pages
  • Index(es):
    • Date
    • Thread