I want to write a script that will drop down the menu of the script editor from the menu bar, but without selecting a menu item from it. The idea is to give the script a keystroke shortcut (like F15) that will run the script, drop down the menu choices, and then I will select the script from the list to execute. This saves me having to navigate the cursor over the script icon in the menu bar and then click on it to drop the menu down. Instead, I just press F15 and voila! It appears.
Any suggestions will be appreciated. I made some attempts adapting other examples, but could not make any of them work. I was hoping for something as simple as:
tell application "System Events" to click process "Script Editor"
tell application "Finder" to click process "Script Editor"