Re: Selecting a folder from the sidebar in a save dialog
Re: Selecting a folder from the sidebar in a save dialog
- Subject: Re: Selecting a folder from the sidebar in a save dialog
- From: "Stockly, Ed" <email@hidden>
- Date: Tue, 11 May 2010 19:04:39 -0500
- Acceptlanguage: en-US
- Thread-topic: Selecting a folder from the sidebar in a save dialog
Title: Re: Selecting a folder from the sidebar in a save dialog
On 5/11/10 4:14 PM, "CYB" <email@hidden> wrote:
I am already GUI scripting Safari. I have to open a URL and find links on that page. To do that, I'm saving the source of the page (via GUI scripting - command-option-U to view the source then command-S to save it). This creates a save dialog that I then use to name the file and select the location to save it.
As opposed to doing this?
tell application "Safari"
tell document 1
set soureHTML to source
end tell
end tell
Which you can parse to find your links or save to disk.
I agree we could offer you more/better advice if we could see your script.
ES
_______________________________________________
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