• 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
Script help for filling in Chrome credentials dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script help for filling in Chrome credentials dialog


  • Subject: Script help for filling in Chrome credentials dialog
  • From: "Ball, Dan" <email@hidden>
  • Date: Fri, 17 Feb 2017 20:21:59 +0000
  • Thread-topic: Script help for filling in Chrome credentials dialog

Can someone help with this?  Trying to launch a webpage in kiosk mode using Chrome that needs authentication and trying to script it, but it won’t fill in the credentials when the dialog pops up in Chrome.

delay 4
tell application "Finder"
                activate
                do shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --kiosk https://somewebpage.com<https://somewebpage.com/>"
end tell
tell application "Google Chrome"      (Also tried here System Events, Google Chrome Helper or System Events to tell process “Google Chrome”)
                activate
                delay 0.3
                keystroke "username"
                keystroke tab
                keystroke "password"
                keystroke return
end tell


Thanks,

Dan





This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system.

 _______________________________________________
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 help for filling in Chrome credentials dialog
      • From: David Gregg <email@hidden>
    • Re: Script help for filling in Chrome credentials dialog
      • From: Jim Underwood <email@hidden>
  • Prev by Date: Re: AppleScript Droplet seems to receive strange file list
  • Next by Date: Re: Script help for filling in Chrome credentials dialog
  • Previous by thread: Re: AppleScript Droplet seems to receive strange file list
  • Next by thread: Re: Script help for filling in Chrome credentials dialog
  • Index(es):
    • Date
    • Thread