• 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: Script for Auto-login to websites
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script for Auto-login to websites


  • Subject: Re: Script for Auto-login to websites
  • From: Neil Laubenthal <email@hidden>
  • Date: Wed, 04 Jun 2008 09:59:54 -0400

Quoting Alan Fairlie <email@hidden>:

This works for me.

tell application "Safari"
	activate
	open location "http://mail.yahoo.com";
	delay 5
	tell application "System Events" to keystroke "username" & tab &
"password" & return
end tell

The delay may need to be adjusted depending on the loading speed of
the site you go to.



True . . .but the script also will need adjusting to allow if the particular web site being logged into doesn't automatically select the username field. Some do. . . some don't.

There's also a security issue with having passwords in a script . . .


--

There are only three kinds of stress . . .your basic nuclear stress, cooking
stress, and A$$ho1e stress. The key to relating them is . . . Jello.

neil

_______________________________________________
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: Script for Auto-login to websites
      • From: Ed Stockly <email@hidden>
References: 
 >Script for Auto-login to websites (From: SVV Satyanarayana <email@hidden>)
 >Re: Script for Auto-login to websites (From: Alan Fairlie <email@hidden>)

  • Prev by Date: Re: AppleScript sets busy cursor even when displaying alert
  • Next by Date: Running ruby (utilizing appscript) from do shell script
  • Previous by thread: Re: Script for Auto-login to websites
  • Next by thread: Re: Script for Auto-login to websites
  • Index(es):
    • Date
    • Thread