Need help with an applescript

Joined
Aug 23, 2011
Messages
1
Reaction score
0
Points
1
Im currently trying to develop an applescript to help me with school. The application would open a display dialog box, and then I would input the name of a class, and it would open the class on Firefox. Here is what it looks like currently

set myv to text returned of (display dialog "Enter the name of the class" default answer "")
if myv is equal to "World Studies" then tell application "Microsoft Word" to activate
delay 1
if myv is equal to "World Studies" then tell application "Finder" to open location "http://www.websitenamehere.com"

the problem is it requires a login, and currently the website does not offer a "Remember me" section. Is there anyway around this? I tried with the system event's keystroke command, to try to type in my name and pass, but it didnt work. Anyone have any ideas?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top