Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I get applescript to work with Preview in Snow Leopard? I'd like, for instance, my applescript for resizing a window to full screen (which works for most applications (e.g., chrome)) to work for preview.

In old versions of OS X (as ghoppe points out), one can enable this by typing

defaults write /Applications/Preview.app/Contents/Info NSAppleScriptEnabled -bool YES

into a terminal. This doesn't seem to work in Snow Leopard.

share|improve this question
2  
Please be more precise –  radius Jun 22 '10 at 22:00
1  
Agreed with @radius. What does this question mean? What exactly is your problem? –  ghoppe Jun 22 '10 at 22:18
    
You should describe with more details what you are trying to do. –  kiamlaluno Jun 23 '10 at 1:46
    
I edited it to be more precise. –  David Zureick-Brown Jun 23 '10 at 15:49

1 Answer 1

Does this help? Preview is not really that scriptable.

For what it's worth, Automator can do image manipulation more easily, it also has some PDF actions.

If you're wanting to do image manipulation with Applescript, what you're really looking for is Image Events, not Preview.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.