AppleScript to press Escape key (3x) for Excel
Hi all,
I'm trying to automatically convert Excel files to PDFs using Automator. Although, every time the Excel file is opened, I get a message about links to other workbooks. I really don't care about these links and just want to convert the file to a PDF. I just can't get Automator to press the "Ignore links" button on the Excel message.
Now I've found out that pressing the escape key on my keyboard activates the following buttons on the Excel message about the links:
- "Update links" (then there's a Finder window popping up)
- "Cancel" (the search for other workbooks) (another Finder window pops up)
- "Cancel" again
Then Excel opens up the file I need to convert, so I can actually convert it using Automator and do whatever I want with it.
I have absolutely no experience using AppleScript.Is there a way to make a AppleScript that presses the escape key three times, so that Excel just opens my file?
Thanks in advance
Mac OSX Lion Server-OTHER, Mac OS X (10.7.3)