ReidRik_Von
Here's one approach to try...
1) Open System Preferences > Universal Access and make sure "Enable access for assistive devices" is checked.
2) Highlight and copy the block of code below and paste it into your AppleScript Script Editor (located inside your Applications > AppleScript folder):
*tell application "System Events"*
*keystroke tab using command down*
*set theApp to name of (first process whose frontmost is true)*
*tell process theApp*
*click menu bar item "File" of menu bar 1*
*end tell*
*end tell*
Choose Save As from the Script Editor's File menu, File Format: application, leaving the Options unchecked. Give the script application a name (Display File Menu, e.g.), and press Save.
3) To assign a keyboard shortcut, you might consider downloading and installing the excellent
Spark program.
From Spark's File menu, set up a New Hot Key to launch an Application, in this case the application being your newly created AppleScript application. When the new System HotKey sheet drops down, hit the Choose button and navigate to the location where your new AppleScript application was saved. Select it and press Open. Click inside the editable Shortcut field to make it active, and on your keyboard keystroke Option (alt), plus the letter "f." Then press Create.
Start the Spark Daemon by selecting it from the File menu, or by pressing the Stark Spark Daemon button on the Spark panel itself, and then quit Spark altogether. The Spark Daemon and your enabled keyboard shortcut will run as a hidden process, using a minimal amount of RAM.
It worked for me...
Good luck!
Regards, Andrew99