Re: using applescript to navigate a browser
Re: using applescript to navigate a browser
- Subject: Re: using applescript to navigate a browser
- From: Kaydell Leavitt <email@hidden>
- Date: Tue, 01 Oct 2013 20:43:07 -0600
Hello Joseph,
> I am trying to write an applescript program to log onto a website, navigate pages to a link and
> click the link to download a file.
>
> Please email me some example programs that do this sort of thing. I can log in okay, but I have
> difficulty telling the browser where to click.
>
> Please send me some examples.
If you open the web page that has the click to click and right-click on it an choose "Copy Location", then you will have the download link in your clipboard. Then you can use a command somewhat like the following to do the actual downloading in a script:
tell application "Finder" to open location "http://kaydell.us"
replace: "http://kaydell.us" with the URL in your clipboard.
Does that work for you?
-- Kaydell
On Sep 30, 2013, at 4:49 PM, Joseph J Alotta <email@hidden> wrote:
> Greetings,
>
> I am trying to write an applescript program to log onto a website, navigate pages to a link and
> click the link to download a file.
>
> Please email me some example programs that do this sort of thing. I can log in okay, but I have
> difficulty telling the browser where to click.
>
> Please send me some examples.
>
> Thank you, Joe.
>
>
>
> _______________________________________________
> 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
_______________________________________________
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