Prevent app from opening Open File window

Whenever I open apps like QuickTime and Preview itself, the Open File window keeps popping up. How do I prevent this from happening? Thank you in advance!

MacBook Air, OS X El Capitan (10.11.6), preview, quicktime

Posted on Jul 28, 2016 7:27 AM

Reply
12 replies

Jul 28, 2016 7:55 AM in response to ekowin

Nothing you can do about that Preview open file panel in El Capitan unless you wing it with AppleScript.


Dock : Launchpad : Other : Script Editor.


tell application "Preview" to activate


Click the run > button to see what I mean.


Save as an Application to your Desktop as (e.g. JustPreview).


Substitute Quick Time Player for Preview in the script.

Jul 28, 2016 8:36 AM in response to ekowin

Ok, this script was run 10 times in a row, and every single time, it removed the open panel from the screen. There simply is no means to prevent the open panel in the first place.


Replace instances of Preview with "QuickTime Player" for that application.


tell application "Preview" to activate

tell application "System Events"

delay 1

tell process "Preview" to click button "Done" of window 1

end tell

return


tell a

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Prevent app from opening Open File window

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.