• 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: Selecting a folder from the sidebar in a save dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Selecting a folder from the sidebar in a save dialog (From: CYB <email@hidden>)

  • Prev by Date: Re: Selecting a folder from the sidebar in a save dialog
  • Next by Date: Scripting Help Viewer?
  • Previous by thread: Re: Selecting a folder from the sidebar in a save dialog
  • Next by thread: Re: Selecting a folder from the sidebar in a save dialog
  • Index(es):
    • Date
    • Thread