How to access dropdowns in an application using applescript?

I'm trying to tell applescript to open the application, Application Loader, and select from the drop-down list that is in the window. The item to be selected will always be the first item. How can I do it? Thanks in advance.

+2
source share
1 answer

Wow, I finally got a job! I pretty much got mad at my script, so I just put in a random ASCII number and it worked magically. I am very happy ahh :)

activate application "Application Loader" tell application "System Events" tell process "Application Loader" tell the first combo box of window 1 delay 3 keystroke (ASCII character 30) keystroke (ASCII character 12) keystroke return end tell end tell end tell 
+2
source

All Articles