Re: Extracting data from HTML
Re: Extracting data from HTML
- Subject: Re: Extracting data from HTML
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 30 Jan 2004 14:01:47 -0800
Weirdly, 1.0 actually works! It must be coerced to the integer 1, which is
actually the correct way:
tell application "Safari"
set theContents to source of document 1
end tell
'document 1.5' doesn't work, thankfully.
--
Paul Berkowitz
>
From: J Charles Ferrari <email@hidden>
>
Date: Mon, 9 Feb 2004 13:23:57 -0800
>
To: Irwin Poche <email@hidden>
>
Cc: <email@hidden>
>
Subject: Re: Extracting data from HTML
>
>
tell application "Safari"
>
set theContents to source of document 1.0
>
end tell
>
>
Charles
>
On Feb 9, 2004, at 11:37 AM, Irwin Poche wrote:
>
>
> Quite sometime ago I scripted IE to load a page ever so often, pull
>
> some information from the page, and write out a summary of that
>
> information. I am able to have URL Access Scripting download the page
>
> to a file, but extracting data from it would be an additional step.
>
>
>
> Is it possible to have have Applescript get the content of a Safari
>
> window? If there is I haven't figured it out.
>
> _______________________________________________
>
> 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.
>
_______________________________________________
>
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.
_______________________________________________
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.