• 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: using applescript to navigate a browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: using applescript to navigate a browser
      • From: Lists <email@hidden>
  • Prev by Date: Re: AppleScript-Users Digest, Vol 10, Issue 348
  • Next by Date: Re: using applescript to navigate a browser
  • Previous by thread: Re: AppleScript-Users Digest, Vol 10, Issue 348
  • Next by thread: Re: using applescript to navigate a browser
  • Index(es):
    • Date
    • Thread