C-Command Software Forum

Using EagleFiler’s Capture Key From Preview

The following was posted on the EagleFiler blog:

EagleFiler’s capture key is often the easiest way to get files into EagleFiler. You can just press the F1 key to import the selected items or the frontmost window of the current application. Unfortunately, this does not work in Preview. The capture feature relies on AppleScript, and Preview does not support AppleScript. Macworld wrote an article in 2006 that shows a way to enable AppleScript in Preview. The Terminal commands need to be modified slightly for Mac OS X 10.6 Snow Leopard:

sudo defaults write /Applications/Preview.app/Contents/Info NSAppleScriptEnabled -bool YES
sudo chmod a+r /Applications/Preview.app/Contents/Info.plist

(The above two commands also work on Mac OS X 10.4 and 10.5.)

This procedure seems to work for lots of people, and we believe it to be safe. However, you should be aware that you are modifying the Preview application to work in a way that Apple did not intend.