automate typing in web browser

Hi,

I'm trying to use automator/applescript to repeatedly type 1-3 specific 5 digit numbers into a webpage. That may sound sketchy; what I'm really trying to do is have automator/script type 3 CRN (course registration numbers) into my college registration webpage and submit it over and over again. Basically all my classes are full and the only way to get in is if someone drops the class. However, it really has to be luck of the draw if you get in as someone else almost immediately takes the seats and I can't keep refreshing the class schedules page all day long to see if someone drops and then rush over to the registration page to try and get the seat.

If I could get automator to submit the CRN's over and over again I would be able to get the seats as soon as they became available. Is it possible to do this with automator/applescript? If not is there another program I can use to do this on mac? If anyone is worried about policy violation, I checked with my counselor and he said there is no rule against this at my university although he did not know how to do it. This is a very important issue to me so if anyone can come up with a working solution I will gladly tip $5 to paypal for your time and effort.

My course registration page basically just has 7 or 8 exmpty boxes in which you can put CRN numbers and then a submit button. If you submit the CRNs and the classes are full it will come up with the same page and have an error saying they are full but still has the same empty boxes in which to put CRNs. I think it should be easy to automate this since I just need the program to type or paste 1 (or 3 if possible) 5 digit numbers, click submit/press enter and then repeat. The page layout for this website is always the same so I think a simple set of commands/automator flow with repeat should be feasible.

Thanks for reading

Sam

Macbook Pro 2.4 Ghz core 2 duo (4g), Mac OS X (10.6.5)

Posted on Dec 5, 2010 5:54 PM

Reply
4 replies

Dec 7, 2010 7:14 AM in response to pogue.sam

There used to be a set of freeware Automator actions to help with Safari form completion and submission: Ottomate.

Although Ottomate is no longer available, the original developer has repackaged and significantly refined Ottomate's actions in an application (free trial available) called Fake, which "looks like a combination of Safari and Automator that allows you to run (and re-run) 'fake' interactions with the web." http://fakeapp.com/

Another approach might be through some third-party actions in the Automator Extension Action Pack,
http://www.automatedworkflows.com/software/automator_actions/automator.html

Dec 7, 2010 12:52 PM in response to pogue.sam

Alright... well, i can't tell you how to do the entry part, but i used to work for an ISP and my boss had us "monitor" upcoming domains (ones that are expiring that he wanted to acquire).

I once had to monitor a web page for changes to appear in order to purchase domains.

I wrote a simple shell script that used wget to fetch a web page, run grep on it to look for data and upon seeing the string needed ("available now"), sends an email to me with the subject "Domain xxx available now".

I ran this script every 3 minutes.

We had blackberries so we got notification anywhere and could execute the purchases on the fly once the notification mail was received.

We were successful in capturing 100% of our targets.

So, using that method, you can at least know the moment your class is available.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

automate typing in web browser

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.