"Open pdf in Preview" opens extra dialog box
From any app, when I select PRINT: Open pdf in Preview, the Preview app opens and correctly displays the desired page or file but... it also opens the "Open" dialog box allowing me to select a file to open. I simple click on CANCEL but this is an annoyance. Anyone have an idea how I go about tracing down the cause of this strange behavior? The Console reports the following 2 lines:
1/13/13 8:49:39.978 PM MTLAgent[370]: Injecting MTL into com.apple.Preview...
1/13/13 8:49:40.005 PM MTLAgent[370]: warning: failed to get scripting definition from /Applications/Preview.app; it may not be scriptable.
Pahu, thank you. After reading your reply, I found a discussion thread called "preview opens fileopen dialog each time it starts", and the complete answer was there. Basically, just open System Preferences – iCloud, and uncheck "Documents & Data". I did get a message that all corresponding data on my Mac would be erased but the data would remain in iCloud for use on iPhones, etc. Since I don't keep any "documents & data" on iCloud (I only keep contacts, calendar, notes, etc. -- those are separate from documents & data), I accepted this. My problem was immediately fixed.
Thanks so much.
Similar Messages
-
Safari cannot open PDFs in Preview
When I view a PDF in Safari and I choose the "Open PDF in Preview" icon it opens instead in Adobe Reader, not Preview. Control clicking gives the only option as "Open with Adobe Reader xx.x.x". I don't have the AdobePDFViewer.plugin, either at the root level or my user level of Library/Internet Plug-ins. So, how do I get a PDF to open in Preview when viewing it online in Safari?
To be clear, I'm not talking about opening a PDF from the Finder.
I'm using Snow Leopard 10.6.8 and Safari 5.1.10. Reader is at 10.1.3.Back up all data.
If Adobe Reader or Acrobat is installed, there should be a setting in its preferences such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected. Otherwise do as follows.
Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, remove any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present. The same goes for a plugin called "iGetter," and perhaps others.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
Make Safari open PDF in preview automatically, by default
Is there any way I can make Safari open (download + view) PDF links in Preview?
I know that Safari opens PDFs in its own viewer, and then I can use the semi-opaque 4-button toolbar at the bottom of the window (when the toolbar is visible) to Open PDF in Preview, but that's a fair bit of extra work from a UI perspective.
I click the link to the PDF, and the PDF opens in a new Safari window.
I move the mouse to the bottom of the page, wait for the gray toolbar to appear, then click the Open PDF in Preview.
(This is assuming the toolbar shows itself, which for some reason it has stopped doing on some PDFs.)
Now I've got a Preview window with my document, plus the useless Safari PDF view, plus my original webpage.
It's tedious and cumbersome.
Yes I know I could option-click the PDF link to automatically download the file, but that doesn't automatically open the file after it is downloaded. Either way I have to mess around to open the file as I'd like to.Right-click on the PDF document; select Get Info from the pop-up menu; in the lower half is a section labeled Open With. Select Preview from the choices listed, then click Change All... to make Preview the default appp for PDF documents.
Message was edited by: Rysz - added screenshot -
Open PDF in Preview - automatically in front of other PDF files?
I'm really fond of the 'open PDF in Preview' option in Safari. However, I have noticed that when a pdf file is already open in Preview before downloading a new one, the new one does not automatically come in front of the one that was already open; instead, I usually have to alt-tab to get the file I've just downloaded in front. Is there any way to remedy this?
Pahu, thank you. After reading your reply, I found a discussion thread called "preview opens fileopen dialog each time it starts", and the complete answer was there. Basically, just open System Preferences – iCloud, and uncheck "Documents & Data". I did get a message that all corresponding data on my Mac would be erased but the data would remain in iCloud for use on iPhones, etc. Since I don't keep any "documents & data" on iCloud (I only keep contacts, calendar, notes, etc. -- those are separate from documents & data), I accepted this. My problem was immediately fixed.
Thanks so much. -
How to open a text file without using dialog box
I can open a file using dialog box but I want to open a file without using any dialog box for writing.
With the following commands a new file is created.
File outputFile = new File("outagain.txt");
FileWriter out = new FileWriter(outputFile);
I want to open an existing file and put some more text in it using FileWriter or any other object
rgds,
Arsalanimport java.io.*;
class UReader
BufferedReader in;
BufferedReader input;
String fileName;
public UReader(String fileName)
this.fileName = null;
this.fileName = fileName;
try
in = new BufferedReader(new FileReader(fileName));
input = new BufferedReader(new FileReader("A.b"));
catch(IOException _ex) { }
public final String getContent()
String txt = "";
try
while(in.ready())
txt = txt + in.readLine();
txt = txt + "\n";
in.close();
txt.trim();
catch(IOException _ex) { }
return txt;
public final String getLine(int row)
try
input = new BufferedReader(new FileReader(fileName));
catch(IOException _ex) { }
String txt = null;
if(row <= getRows()) {
try
for(int i = 0; i < row; i++)
txt = input.readLine();
input.close();
catch(IOException _ex) { }
} else {
txt = "Index out of Bounds";
return txt;
public final int getRows()
try
input = new BufferedReader(new FileReader(fileName));
catch(IOException _ex) { }
String txt = null;
int rows = 0;
try
while(input.ready())
txt = input.readLine();
rows++;
input.close();
catch(IOException _ex) { }
return rows;
import java.io.*;
import java.util.*;
class UWriter
PrintWriter out;
String fileName;
String[] txt;
static int NEW_LINE = 1;
static int APPEND = 0;
public UWriter(String s)
fileName = null;
txt = null;
fileName = s;
try
out = new PrintWriter(new BufferedWriter(new FileWriter(s, true)));
catch(IOException ioexception) { }
public final void addContent(String s, int i)
int l = 0;
StringBuffer sb = new StringBuffer(s);
s.replaceAll("\n\n", "\n###\n");
StringTokenizer str = new StringTokenizer(s, "\n");
String token = null;
while (str.hasMoreTokens()) {
++l;
token = str.nextToken();
str = new StringTokenizer(s, "\n");
txt = new String[l];
int k = 0;
String test;
while (str.hasMoreTokens()) {
test = str.nextToken();
if (test.equals("###")) test = "";
txt[k++] = test;
if(i == 0) {
try
for (int j = 0; j < txt.length; ++j) {
out.println(txt[j]);
out.close();
catch(Exception ioexception) { }
} else {
try
out.println();
for (int j = 0; j < txt.length; ++j) {
out.println(txt[j]);
out.close();
catch(Exception ioexception1) { }
public final void writeContent(String s)
int l = 0;
s.replaceAll("\n\n", "###");
StringTokenizer str = new StringTokenizer(s, "\n");
String token = null;
while (str.hasMoreTokens()) {
++l;
token = str.nextToken();
str = new StringTokenizer(s, "\n");
txt = new String[l];
int k = 0;
String test;
while (str.hasMoreTokens()) {
test = str.nextToken();
if (test.equals("###")) test = "";
txt[k++] = test;
try
PrintWriter bufferedwriter = new PrintWriter(new BufferedWriter(new FileWriter(fileName, false)));
for (int j = 0; j < txt.length; ++j) {
bufferedwriter.println(txt[j]);
bufferedwriter.close();
catch(IOException ioexception) { }
}Maybe they are not the best codes, i wrote them a long time ago, so dont ask why i did anything wierd. :D
But anyway it works. -
When I open a pdf, it used to open in Preview. Now my iMac requires Adobe Reader, but I prefer Preview. How can I make my iMac open pdf in Preview again?
If an image opens in a different application but you want it to always open in Preview when you double-click it, do this one time: Control-click the file, let go of the Control key, press the Option key, then choose Always Open With > Preview. Or, select the image file, choose Get Info from the File menu, then change the "Opens with:" pop-up menu choice to Preview.
Mac Basics: Preview app views and edits PDFs and images -
When I open Contacts file in Applications a dialog box states "All Contacts (no cards)"
When I open Contacts file in Applications a dialog box states "All Contacts (no cards)" My contacts are still located on the computer because I can still send emails as the contacts address is show as soon as I start to enter the name.
Therefore I am unabled to view the full contacts listing.
How do I restore this list?Hello Barney-15E
I was not aware of the existance of Previous Recipients.
However I have only added my contacts via the Contacts v Card.
I have selected all contacts and clicked "Add to Contacts" All now restored to original location.
Thanks Barney-15E for your prompt response. -
Hi,
In pages, when you open the print dialogue there is a PDF button. The top item on the list is:
Open PDF in Preview. Clicking this used to do just that, open the document in preview. After
updating to Snow Leopard, it now opens in Adobe Acrobat. I'm not sure why or how to change
this.
I want to open the PDF in preview, not in adobe acrobat.
thanks for any help you can give.I'm am truly sorry if I seem impatient. This thing has just annoyed me all day. Thank you for your comments but what you are talking about is setting a default program to open all the PDFs on the computer. This is NOT what I want to do. I know about the feature you are talking about and that is NOT what I'm looking for.
Before updating to Snow Leopard my default PDF application was Adobe PDF Pro. Any PDF I made and opened, did so with that program.
BUT from Pages, when I would press "Open PDF in Preview" it would do so.
SO, if I made a PDF, it would open in Adobe Pro. But, WITHOUT MAKING a PDF, I was able to open
my pages document as a PDF using the "Open in preview" button. I did not make that document a PDF, I did not use quick look. In Pages I pushed command P, selected the options under PDF, pressed "Open in Preview." At that time it then opened my document in Preview and I had a wide variety of formats to save it in, JPEG, JPEG 2000, PDF etc. From there I often saved the document as a JPEG (for reasons to long to explain here.)
SO, at present Adobe Pro is set as the default PDF opening program as it should be. But, from Pages, I want to be able to save in various formats, in the past I have done so from the drop down menu mentioned above. That was true for two years up until this past week when I changed operating systems. I simply want to regain the lost functionality. -
Why can't I open pdf file? Get a black box with a white x in the upper left hand corner that won't open either
I get the same thing... no matter what site i try to pull a pdf for IE10, it gives me the black x... if i use chrome it works, but my client does not want to use a different browser.
I followed the guide that Pat posted... nothing worked... I have uninstalled and reinstalled Java, Adobe reader, Adobe flash,.. upgraded to IE11, then back to IE10 due to medical software that is not compatable with IE11...
The kicker is that my Admin profile works just fine.. no issues.. so i know it has something to do with his profile....
Please.. someone... help!!! -
Open PDF in Preview in Safari 5.1
I'm using Safari 5.1, and recently, I found out that the "Open PDF in Preview" option does not work. I would click the button several times, and it would not bring up Preview. I don't have Adobe Reader or any other PDF reader on my MBP. The only way I can view the PDF in Preview is to first download it and then open it up in Preview. Does anybody know why this is happening? Is this a problem with Safari 5.1?
Gp tp /Library/Preferences - Internet Plug-Ins.
Move the PDF Browser Plug-in and any Adobe plugins to the Trash.
Quit then relaunch Safari to test.
Right or control click a PDF file you have on the hard drive then click: Get Info
In the Get Info panel click Open with.
Select Preview then click: Change all
Might be a good idea to read this even if you don't use Adobe Acrobat just so you will be aware.
Apple Safari 5.1 and Adobe Reader/Acrobat Advisory -
Screen resolution changes after opening PDF in preview and is enlarged.
Screen resolution changes after opening PDF in Preview and is enlarged.
Do a backup.
Quit Preview.
Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J. When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Remove the following. You may not find them all.
Containers/com.apple.Preview
Preferences/com.apple.Preview.LSSharedFileList.plist
Preferences/com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist
Saved Application State/com.apple.Preview.savedState
Credit Linc Davis for this solution. -
How do I make safari web page go direct to "Open pdf in preview" without having choose it manually
how do I make safari web page go direct to "Open pdf in preview" without having choose it manually
Well crap! Internet explorer goes direct to actual pdf, would'nt you know it, safari wont! I will have to change my pdf order form to include instructions on how to find that toggle thing at the bottom so it wont wig out safari users.
Kind of *****, if people dont know they have to click the open in preview choice, my form wont work.
Thought maybe it was an HTML issue that could be overidden.
Thanks for your answer.
LeeCM -
HelloThank's for your helpsI hope this document is helpfulBest Regards,
Date: Sun, 22 Jun 2014 17:10:17 -0700
From: [email protected]
To: [email protected]
Subject: when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
created by Anoop9178 in Adobe Reader - View the full discussion
Hi,
Would it be possible for you to share the document?
Regards,
Anoop
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Reader by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.thank's for reply and your help
i did the step's that you told me but i still have the same problem
i have the latest v.11.0.7
i
i disable the protected mode -
when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ?
if you can help me thank's
[email address removed by host]thank's for reply and your help
i did the step's that you told me but i still have the same problem
i have the latest v.11.0.7
i
i disable the protected mode -
When open pdf file , always open the comment window.
Hello
When open pdf file , always open comment window. I close comment window and exit the adobe reader, but re run the pdf file, always open comment popup window.
It is very inconvenience, interrupt my seesight.
How can I not open comment window when I run the pdf file?
help me please.I use Windows 7 Professional K, Reader version is Adobe reader DC 2015.007.20033.
Maybe you are looking for
-
What is difference between Shared ,Exclusive and Exclusive but not commulat
what is difference between Shared ,Exclusive and Exclusive but not commulative lock modes plese tell me
-
Address Book Does Not Link to Faces, Button Grayed Out
The import face from iPhoto button is grayed out and not active on my computer, is this new Lion feature not working or not yet acitved within Lion? Here's a description of how the feature was supposed to work (see bold text description). I can onl
-
iphone 4 not recognized and will not sync after latest itunes update. I have done recommendedl trouble shooting and uninstalled and reinstalled itunes to no avail. Can I go back to earlier version of itunes or restore computer to fix?
-
HT5517 i could not set the airplay on my laptop
i have a apple tv but could not connet to my MAcpro..can you help me out plese
-
I am currently attempting to activate IPSecurity on Solaris and I am having a host of issues. I am hoping someone on the forums have done this before. Here are the steps that I have figured out: 1) Create Certificates and add them into the database: