Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting safari and menu items




On 13 Feb 2005, at 12:40, Christian Vinaa wrote:

first i wanted script safari
basically just save the front document

Hi Christian,

Personally I tend to prefer 'curl' to Safari when doing that kind of thing - I find it easier and with more options. I'd do it like this;

set thePathToTheDesktop to the POSIX path of (path to the desktop)
do shell script "curl http://webcam.aet.ch/traffico/airolo_n.jpg > " & quoted form of (thePathToTheDesktop & "myimage.jpg")

...see if you have more luck that way. For more info about 'curl' open the Terminal and type 'man curl'

Good luck

Rob

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

This email sent to email@hidden

References: 
 >Re: numbers and prefix zero (From: Paul Richardson <email@hidden>)
 >scripting safari and menu items (From: Christian Vinaa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.