Open PDFs in Skim with Keypress...

Although I’m not going to look around for them, I’ve read a lot of messages related to opening PDFs directly in Skim (or another favorite application). Although my preference has been to use a keyboard macro in Keyboard Maestro, I always like to offer a free option. Here’s the GUI scripting alternative:

activate application "DEVONthink Pro"
tell application "System Events"
	tell process "DEVONthink Pro Office"
		click menu item "Skim" of menu 1 of menu item "Open With" of menu 1 of menu bar item "Data" of menu bar 1
	end tell
end tell

Presumably, you can hitch this to a Keyboard Shortcut somehow. I’ve been using “Control-Command-O” which I think is unused in DT.

HTH, Charles

Thanks for the script! But in case that Skim is the default PDF viewer, the shortcut Cmd-Shift-O should be already available.

Yeah, I have quite a few PDFs right now in databases, and I want to open them (forcibly) in Skim.

I recall some folks wanted DT to put in a “preference” for this behavior. :wink:

Best wishes, Charles