RE: AppleScript and Safari
RE: AppleScript and Safari
- Subject: RE: AppleScript and Safari
- From: "Steve Suranie" <email@hidden>
- Date: Tue, 9 Nov 2004 14:50:40 -0500
- Thread-topic: AppleScript and Safari
Hey Paul or other more intelligent than me folks:
I can get this command to work in the terminal
curl -O http://www.nytimes.com/services/xml/rss/nyt/Opinion.xml
but when I put in an AS it doesn't work:
do shell script "curl -O http://www.nytimes.com/services/xml/rss/nyt/Opinion.xml"
Is my syntax wrong?
> ----------
> From: applescript-users-bounces+ssuranie=email@hidden on behalf of Paul Berkowitz
> Sent: Tuesday, November 9, 2004 12:07 PM
> To: AppleScript-Users
> Subject: Re: AppleScript and Safari
>
> On 11/9/04 8:43 AM, "Emmanuel" <email@hidden> wrote:
>
> > At 7:08 AM -0800 11/9/04, Paul Berkowitz wrote:
> >>
> >>> man curl (in terminal or a BBEdit worksheet.)
> >>>
> >>> cd $HOME/Documents/wherever
> >>> curl -O
> >>> "http://www.smartmoney.com/rss/smheadlines.cfm?feed=2&format=RSS091"
> >>
> >> So what would be the advantages of curl over 'open location' that Emmanuel
> >> mentioned?
> >
> > "curl" lets you request the size of the file, so you can monitor the
> > downloaded file and know when it's finished downloading.
>
> Thanks, Emmanuel. That sounds like it's just what the OP wanted.
>
> --
> Paul Berkowitz
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden