See where it says "export"?
There is no keyboard shortcut. Is there a way that I can create a keyboard shortcut for it?
tell application "Preview" to activate
delay 1
tell application "System Events"
click menu item "Export…" of menu "File" of menu bar item "File" of menu bar 1 of application process "Preview"
end tell
True, however AppleScript interpreter has trouble recognizing actual ellipses …, and converts three periods... into an ellipses when sending messages to a menu item.FYI, it's not "3 dots/periods" - it's an ellipsis, inserted by pressing "Option-semicolon" on your keyboard.
A non-issue for me. I don't need Automator to accomplish this - and I've been using Apple's built-in editor since Tiger. No Automator required for this very simple edit - 90 seconds, done. QED.True, however AppleScript interpreter has trouble recognizing actual ellipses …, and converts three periods... into an ellipses when sending messages to a menu item.
Yes, that's odd, and I'm not sure which format "Keyboard Shortcuts" or "Services Preferences" takes, but if one form does not work, you'd best try the other as well.
And, if the app's developer - in this specific case, Apple, adheres to programming convention - and Preview does, then an ellipsis will work. I am being case- and post-specific, and I have used and don't shy away from Automator. Cheers!
I think it's likely a feature instead. You have to go to some trouble to make menus behave this badly via Xcode.It's a bug in Preview.
Odd, I have the "Control-Option-Command" shortcut assigned to that command on one of the Macs we use for managing printers and also a 2012 rMBP we use for field work. But both of those Macs were upgraded - not with a clean install - from Mavericks, when those tweaks were made. I tried it out on two Macs that were straight up with Yosemite - it seems as though some commands under the File Menu aren't editable under app-specific keyboard shortcuts. So, in that regard, my bad, and thanks for pointing that out…It's a bug in Preview.
…
So there's a bug in Preview with application specific shortcuts. I posted a link to a discussion of this earlier on in the thread.