How to do user inputs on an application config window

Hi,

After launching an app icon, a window pops up with 3 inputs fields, so I need to write a script to ask each user to enter

username,
tab,
password,
tab,
server address,
tab,
return (to click on the “Apply” button),
click on the top-left red button to close the window

Could someone please share an expertise to make such a barebone AppleScript code?

Thanks.

  • Life Learner

You may try Dialog Toolkit available for free at the very bottom of this web page :

http://www.macosxautomation.com/applescript/apps/

With it you may build dialog with numerous UI elements : text fields, check boxes, radio buttons, popups.

Yvan KOENIG (VALLAURIS, France) samedi 23 mai 2015 11:23:30

Thanks a lot, Yvan!

I’ll give that a try.

  • Life Learner