Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #51971 > unrolled thread
| Started by | DaveC <invalid@invalid.net> |
|---|---|
| First post | 2013-11-06 20:51 -0800 |
| Last post | 2013-11-08 05:05 +0000 |
| Articles | 20 on this page of 27 — 11 participants |
Back to article view | Back to comp.sys.mac.system
Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) DaveC <invalid@invalid.net> - 2013-11-06 20:51 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Michael Vilain <vilain@NOspamcop.net> - 2013-11-06 23:17 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Barry Margolin <barmar@alum.mit.edu> - 2013-11-07 08:30 -0500
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Michael Vilain <vilain@NOspamcop.net> - 2013-11-07 07:25 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) DaveC <invalid@invalid.net> - 2013-11-07 10:54 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Barry Margolin <barmar@alum.mit.edu> - 2013-11-07 14:07 -0500
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) notme <notme@notme.org> - 2013-11-07 11:13 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Barry Margolin <barmar@alum.mit.edu> - 2013-11-07 14:35 -0500
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) DaveC <invalid@invalid.net> - 2013-11-07 11:54 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) dorayme <dorayme@optusnet.com.au> - 2013-11-08 08:34 +1100
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Michael Vilain <vilain@NOspamcop.net> - 2013-11-07 15:10 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Lewis <g.kreme@gmail.com.dontsendmecopies> - 2013-11-07 19:36 +0000
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) DaveC <invalid@invalid.net> - 2013-11-07 11:56 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Doc O'Leary <droleary@6usenet2013.subsume.com> - 2013-11-07 10:44 -0600
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Lewis <g.kreme@gmail.com.dontsendmecopies> - 2013-11-07 20:20 +0000
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) dempson@actrix.gen.nz (David Empson) - 2013-11-08 08:58 +1300
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) DaveC <invalid@invalid.net> - 2013-11-07 12:05 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Barry Margolin <barmar@alum.mit.edu> - 2013-11-07 15:17 -0500
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) dorayme <dorayme@optusnet.com.au> - 2013-11-08 08:40 +1100
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Your Name <YourName@YourISP.com> - 2013-11-08 18:37 +1300
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) dempson@actrix.gen.nz (David Empson) - 2013-11-08 12:21 +1300
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Barry Margolin <barmar@alum.mit.edu> - 2013-11-07 19:53 -0500
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Michael Vilain <vilain@NOspamcop.net> - 2013-11-07 23:00 -0800
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Barry Margolin <barmar@alum.mit.edu> - 2013-11-08 10:57 -0500
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) nmassello@yahoo.com (Neill Massello) - 2013-11-07 13:04 -0700
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Wes Groleau <Groleau+news@FreeShell.org> - 2013-11-07 18:13 -0500
Re: Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) Lewis <g.kreme@gmail.com.dontsendmecopies> - 2013-11-08 05:05 +0000
Page 1 of 2 [1] 2 Next page →
| From | DaveC <invalid@invalid.net> |
|---|---|
| Date | 2013-11-06 20:51 -0800 |
| Subject | Getting Safari to open PDF files in Preview, NOT Safari (under Mavericks) |
| Message-ID | <0001HW.CEA05C4E0059A7E9B04B09BF@news.eternal-september.org> |
In past OS X versions I've used a Terminal command to set my PDF viewer preference to Preview rather than Safari. This is the method for Mavericks, supposedly: <http://apple.stackexchange.com/questions/106660/how-make-safari-7-open-pdf- files-in-preview-instead-of-opening-them-in-page> The desired result is that after clicking on a link that is the URL to a PDF file, Preview launches and the PDF file displays in that application. For me this does not happen. Instead, a new web page opens in Safari and garbage fills the page. Any idea how I can get a PDF file on the web to download and open in Preview Thanks, Dave OS X 10.9 Mavericks Mac mini (2011_5,3): 2.7 GHz dual i7 / 16 GB / 250 GB & 750 GB
[toc] | [next] | [standalone]
| From | Michael Vilain <vilain@NOspamcop.net> |
|---|---|
| Date | 2013-11-06 23:17 -0800 |
| Message-ID | <vilain-D6F79F.23175106112013@news.individual.net> |
| In reply to | #51971 |
In article <0001HW.CEA05C4E0059A7E9B04B09BF@news.eternal-september.org>, DaveC <invalid@invalid.net> wrote: > In past OS X versions I've used a Terminal command to set my PDF viewer > preference to Preview rather than Safari. This is the method for Mavericks, > supposedly: > > <http://apple.stackexchange.com/questions/106660/how-make-safari-7-open-pdf- > files-in-preview-instead-of-opening-them-in-page> > > The desired result is that after clicking on a link that is the URL to a PDF > file, Preview launches and the PDF file displays in that application. > > For me this does not happen. Instead, a new web page opens in Safari and > garbage fills the page. > > Any idea how I can get a PDF file on the web to download and open in Preview > > Thanks, > Dave > > OS X 10.9 Mavericks > Mac mini (2011_5,3): 2.7 GHz dual i7 / 16 GB / 250 GB & 750 GB The standard way for quite some time was to select the PDF file in the Finder, then click Command-I to Get File Information. In that dialog, there's a "Open With" drop down selector. The default application for .PDF is displayed. If you click on the default and let the selection drop down to Safari, it will open that file with Safari. If you click on the Change All button, all files with the .pdf extension will be opened with Safari. -- DeeDee, don't press that button! DeeDee! NO! Dee... [I filter all Goggle Groups posts, so any reply may be automatically ignored]
[toc] | [prev] | [next] | [standalone]
| From | Barry Margolin <barmar@alum.mit.edu> |
|---|---|
| Date | 2013-11-07 08:30 -0500 |
| Message-ID | <barmar-EF68BD.08305107112013@news.eternal-september.org> |
| In reply to | #51973 |
In article <vilain-D6F79F.23175106112013@news.individual.net>, Michael Vilain <vilain@NOspamcop.net> wrote: > In article > <0001HW.CEA05C4E0059A7E9B04B09BF@news.eternal-september.org>, > DaveC <invalid@invalid.net> wrote: > > > In past OS X versions I've used a Terminal command to set my PDF viewer > > preference to Preview rather than Safari. This is the method for Mavericks, > > supposedly: > > > > <http://apple.stackexchange.com/questions/106660/how-make-safari-7-open-pdf- > > files-in-preview-instead-of-opening-them-in-page> > > > > The desired result is that after clicking on a link that is the URL to a > > PDF > > file, Preview launches and the PDF file displays in that application. > > > > For me this does not happen. Instead, a new web page opens in Safari and > > garbage fills the page. > > > > Any idea how I can get a PDF file on the web to download and open in > > Preview > > > > Thanks, > > Dave > > > > OS X 10.9 Mavericks > > Mac mini (2011_5,3): 2.7 GHz dual i7 / 16 GB / 250 GB & 750 GB > > The standard way for quite some time was to select the PDF file in the > Finder, then click Command-I to Get File Information. In that dialog, > there's a "Open With" drop down selector. The default application for > .PDF is displayed. If you click on the default and let the selection > drop down to Safari, it will open that file with Safari. If you click > on the Change All button, all files with the .pdf extension will be > opened with Safari. That setting is for double-clicking on files that have already been downloaded. The question was about how to open PDF web pages this way. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
[toc] | [prev] | [next] | [standalone]
| From | Michael Vilain <vilain@NOspamcop.net> |
|---|---|
| Date | 2013-11-07 07:25 -0800 |
| Message-ID | <vilain-0720E4.07253507112013@news.individual.net> |
| In reply to | #51977 |
In article <barmar-EF68BD.08305107112013@news.eternal-september.org>, Barry Margolin <barmar@alum.mit.edu> wrote: > In article <vilain-D6F79F.23175106112013@news.individual.net>, > Michael Vilain <vilain@NOspamcop.net> wrote: > > > In article > > <0001HW.CEA05C4E0059A7E9B04B09BF@news.eternal-september.org>, > > DaveC <invalid@invalid.net> wrote: > > > > > In past OS X versions I've used a Terminal command to set my PDF viewer > > > preference to Preview rather than Safari. This is the method for > > > Mavericks, > > > supposedly: > > > > > > <http://apple.stackexchange.com/questions/106660/how-make-safari-7-open-pd > > > f- > > > files-in-preview-instead-of-opening-them-in-page> > > > > > > The desired result is that after clicking on a link that is the URL to a > > > PDF > > > file, Preview launches and the PDF file displays in that application. > > > > > > For me this does not happen. Instead, a new web page opens in Safari and > > > garbage fills the page. > > > > > > Any idea how I can get a PDF file on the web to download and open in > > > Preview > > > > > > Thanks, > > > Dave > > > > > > OS X 10.9 Mavericks > > > Mac mini (2011_5,3): 2.7 GHz dual i7 / 16 GB / 250 GB & 750 GB > > > > The standard way for quite some time was to select the PDF file in the > > Finder, then click Command-I to Get File Information. In that dialog, > > there's a "Open With" drop down selector. The default application for > > .PDF is displayed. If you click on the default and let the selection > > drop down to Safari, it will open that file with Safari. If you click > > on the Change All button, all files with the .pdf extension will be > > opened with Safari. > > That setting is for double-clicking on files that have already been > downloaded. The question was about how to open PDF web pages this way. Inside of Safari or any other web-browser, I've used a separate utility that sets the "helpers" database. I've used it since 10.2 and it still works. https://www.macupdate.com/app/mac/14618/rcdefaultapp -- DeeDee, don't press that button! DeeDee! NO! Dee... [I filter all Goggle Groups posts, so any reply may be automatically ignored]
[toc] | [prev] | [next] | [standalone]
| From | DaveC <invalid@invalid.net> |
|---|---|
| Date | 2013-11-07 10:54 -0800 |
| Message-ID | <0001HW.CEA122010087FDA3B04B09BF@news.eternal-september.org> |
| In reply to | #51983 |
> Inside of Safari or any other web-browser, I've used a separate utility > that sets the "helpers" database. I've used it since 10.2 and it still > works. > > https://www.macupdate.com/app/mac/14618/rcdefaultapp Thanks for that possibility Michael. I installed it. But my experience is unchanged. When I click on a link that is a PDF file it opens in a browser window. I've configured RCD as best I can figure it out. Seems that for PDF it's already pretty well set-up. Under "Extensions" I did check the box "Override file creator" for PDF. This is an example of what I want to open in Preview: <www.irs.gov/pub/irs-pdf/f8880.pdf> Nothing fancy about the file... Ideas? Thanks!
[toc] | [prev] | [next] | [standalone]
| From | Barry Margolin <barmar@alum.mit.edu> |
|---|---|
| Date | 2013-11-07 14:07 -0500 |
| Message-ID | <barmar-9CE4BE.14070807112013@news.eternal-september.org> |
| In reply to | #51999 |
In article <0001HW.CEA122010087FDA3B04B09BF@news.eternal-september.org>, DaveC <invalid@invalid.net> wrote: > > Inside of Safari or any other web-browser, I've used a separate utility > > that sets the "helpers" database. I've used it since 10.2 and it still > > works. > > > > https://www.macupdate.com/app/mac/14618/rcdefaultapp > > Thanks for that possibility Michael. I installed it. > > But my experience is unchanged. When I click on a link that is a PDF file it > opens in a browser window. > > I've configured RCD as best I can figure it out. Seems that for PDF it's > already pretty well set-up. Under "Extensions" I did check the box "Override > file creator" for PDF. > > This is an example of what I want to open in Preview: > > <www.irs.gov/pub/irs-pdf/f8880.pdf> > > Nothing fancy about the file... > > Ideas? > > Thanks! The main issue is that you have to convince Safari that it should download the file instead of just linking to it. Once it downloads, the preference from Get Info or RCDefaultApp will take effect. You can force a download with Option-click. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
[toc] | [prev] | [next] | [standalone]
| From | notme <notme@notme.org> |
|---|---|
| Date | 2013-11-07 11:13 -0800 |
| Message-ID | <0001HW.CEA12653008900D2B01029BF@news.eternal-september.org> |
| In reply to | #52000 |
> The main issue is that you have to convince Safari that it should > download the file instead of just linking to it. Once it downloads, the > preference from Get Info or RCDefaultApp will take effect. > > You can force a download with Option-click. Which makes it a 2-step process. In Snow Leopard I could Cmd-Click on a link and it would 1) download the PDF and 2) open it in Preview in 1 step. I'm looking to duplicate that process in Mavericks. Thanks.
[toc] | [prev] | [next] | [standalone]
| From | Barry Margolin <barmar@alum.mit.edu> |
|---|---|
| Date | 2013-11-07 14:35 -0500 |
| Message-ID | <barmar-ADA016.14355707112013@news.eternal-september.org> |
| In reply to | #52002 |
In article <0001HW.CEA12653008900D2B01029BF@news.eternal-september.org>, notme <notme@notme.org> wrote: > > The main issue is that you have to convince Safari that it should > > download the file instead of just linking to it. Once it downloads, the > > preference from Get Info or RCDefaultApp will take effect. > > > > You can force a download with Option-click. > > Which makes it a 2-step process. Have they removed the "Open safe documents after downloading" option from Preferences->General? > > In Snow Leopard I could Cmd-Click on a link and it would 1) download the PDF > and 2) open it in Preview in 1 step. Cmd-Click is "Open link in new window", isn't it? Whether it does #2 is controlled by the above preference. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
[toc] | [prev] | [next] | [standalone]
| From | DaveC <invalid@invalid.net> |
|---|---|
| Date | 2013-11-07 11:54 -0800 |
| Message-ID | <0001HW.CEA1300E008B4892B01029BF@news.eternal-september.org> |
| In reply to | #52005 |
> Have they removed the "Open safe documents after downloading" option > from Preferences->General? It's there in Mav. But it lies. No opening after downloading. Still opens in Safari. >> In Snow Leopard I could Cmd-Click on a link and it would 1) download the >> PDF and 2) open it in Preview in 1 step. > Cmd-Click is "Open link in new window", isn't it? Right you are. But click the link or Cmd-click, both will open the PDF in a Safari window. > Whether it does #2 is controlled by the above preference. Supposedly. But it doesn't. Hence my questions here. Thanks.
[toc] | [prev] | [next] | [standalone]
| From | dorayme <dorayme@optusnet.com.au> |
|---|---|
| Date | 2013-11-08 08:34 +1100 |
| Message-ID | <dorayme-6C31B7.08344408112013@news.albasani.net> |
| In reply to | #52002 |
In article <0001HW.CEA12653008900D2B01029BF@news.eternal-september.org>, notme <notme@notme.org> wrote: > > The main issue is that you have to convince Safari that it should > > download the file instead of just linking to it. Once it downloads, the > > preference from Get Info or RCDefaultApp will take effect. > > > > You can force a download with Option-click. > > Which makes it a 2-step process. Which is not so bad surely, it is not as if there is any time consuming double downloading. But, no, I know, it is not exactly what you want. Another 2-step process, I might as well mention, is to let it open in Safari and right or control click and your contextual menu might say, as does mine, Open in Preview. Another plugin I have, Schubert's, has a button on it to give you an option to open in Preview (or whatever you want). -- dorayme
[toc] | [prev] | [next] | [standalone]
| From | Michael Vilain <vilain@NOspamcop.net> |
|---|---|
| Date | 2013-11-07 15:10 -0800 |
| Message-ID | <vilain-61DF04.15105907112013@news.individual.net> |
| In reply to | #51999 |
In article
<0001HW.CEA122010087FDA3B04B09BF@news.eternal-september.org>,
DaveC <invalid@invalid.net> wrote:
> > Inside of Safari or any other web-browser, I've used a separate utility
> > that sets the "helpers" database. I've used it since 10.2 and it still
> > works.
> >
> > https://www.macupdate.com/app/mac/14618/rcdefaultapp
>
> Thanks for that possibility Michael. I installed it.
>
> But my experience is unchanged. When I click on a link that is a PDF file it
> opens in a browser window.
>
> I've configured RCD as best I can figure it out. Seems that for PDF it's
> already pretty well set-up. Under "Extensions" I did check the box "Override
> file creator" for PDF.
>
> This is an example of what I want to open in Preview:
>
> <www.irs.gov/pub/irs-pdf/f8880.pdf>
>
> Nothing fancy about the file...
>
> Ideas?
>
> Thanks!
In order to view a PDF file from Safari, the server must send the proper
headers. When I used curl to download the file, I saw a valid MIME type.
I had to be sure to remove the Adobe PDF plugins from /Library/Internet
Plugins/{AdobePDFViewer,AdobePDFViewerNPAPI}.plugin
Then Safari correctly displayed the file.
The RCDefaultApp pref sets the download behavior for various MIME types
and extensions. It won't override the behavior of entering a URL with a
PDF file into the URL bar and having Safari or any other browser issue a
"GET" to fetch the file. AFAIK, that's how browsers work and you can't,
short of using a script or some other chicanery, change that behavior.
$ curl -v http://www.irs.gov/pub/irs-pdf/f8880.pdf -o x.pdf
* About to connect() to www.irs.gov port 80 (#0)
* Trying 23.72.181.73...
* Adding handle: conn: 0x7fec08807200
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fec08807200) send_pipe: 1, recv_pipe: 0
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* Connected to www.irs.gov (23.72.181.73) port 80 (#0)
> GET /pub/irs-pdf/f8880.pdf HTTP/1.1
> User-Agent: curl/7.32.0
> Host: www.irs.gov
> Accept: */*
>
< HTTP/1.1 200 OK
< Last-Modified: Fri, 11 Oct 2013 01:55:03 GMT
< ETag: "306bb-16828-4e86d68224bc0"
< Accept-Ranges: bytes
< Content-Length: 92200
< Content-Type: application/pdf
< Date: Thu, 07 Nov 2013 22:59:10 GMT
< Connection: keep-alive
<
{ [data not shown]
100 92200 100 92200 0 0 292k 0 --:--:-- --:--:-- --:--:--
687k
* Connection #0 to host www.irs.gov left intact
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
[toc] | [prev] | [next] | [standalone]
| From | Lewis <g.kreme@gmail.com.dontsendmecopies> |
|---|---|
| Date | 2013-11-07 19:36 +0000 |
| Message-ID | <slrnl7nqt9.1lue.g.kreme@mbp55.local> |
| In reply to | #51973 |
In message <vilain-D6F79F.23175106112013@news.individual.net> Michael Vilain <vilain@NOspamcop.net> wrote: > In article > <0001HW.CEA05C4E0059A7E9B04B09BF@news.eternal-september.org>, > DaveC <invalid@invalid.net> wrote: >> In past OS X versions I've used a Terminal command to set my PDF viewer >> preference to Preview rather than Safari. This is the method for Mavericks, >> supposedly: >> >> <http://apple.stackexchange.com/questions/106660/how-make-safari-7-open-pdf-files-in-preview-instead-of-opening-them-in-page> That is *not* for Mavericks. that worked in 10.6 (and maybe 10.5?) but it doesn't work in 10.9. -- "He has all the virtues I dislike and none of the vices I admire." Winston Churchill
[toc] | [prev] | [next] | [standalone]
| From | DaveC <invalid@invalid.net> |
|---|---|
| Date | 2013-11-07 11:56 -0800 |
| Message-ID | <0001HW.CEA13050008B5839B01029BF@news.eternal-september.org> |
| In reply to | #52006 |
> <http://apple.stackexchange.com/questions/106660/how-make-safari-7-open-pdf- fi > les-in-preview-instead-of-opening-them-in-page> > > That is *not* for Mavericks. that worked in 10.6 (and maybe 10.5?) but > it doesn't work in 10.9. OK, thanks. On to other possibilities.
[toc] | [prev] | [next] | [standalone]
| From | Doc O'Leary <droleary@6usenet2013.subsume.com> |
|---|---|
| Date | 2013-11-07 10:44 -0600 |
| Message-ID | <droleary-A534D7.10445207112013@news.eternal-september.org> |
| In reply to | #51971 |
In article
<0001HW.CEA05C4E0059A7E9B04B09BF@news.eternal-september.org>,
DaveC <invalid@invalid.net> wrote:
> The desired result is that after clicking on a link that is the URL to a PDF
> file, Preview launches and the PDF file displays in that application.
>
> For me this does not happen. Instead, a new web page opens in Safari and
> garbage fills the page.
Uh, perhaps that "garbage" *is* the PDF. Which is to say, the server
might be more at fault than your Mac. How about giving a URL so that we
have some chance of seeing what you're seeing?
--
iPhone apps that matter: http://appstore.subsume.com/
My personal UDP list: 127.0.0.1, localhost, googlegroups.com, theremailer.net,
and probably your server, too.
[toc] | [prev] | [next] | [standalone]
| From | Lewis <g.kreme@gmail.com.dontsendmecopies> |
|---|---|
| Date | 2013-11-07 20:20 +0000 |
| Message-ID | <slrnl7ntg8.1lue.g.kreme@mbp55.local> |
| In reply to | #51989 |
In message <droleary-A534D7.10445207112013@news.eternal-september.org> Doc O'Leary <droleary@6usenet2013.subsume.com> wrote: > In article > <0001HW.CEA05C4E0059A7E9B04B09BF@news.eternal-september.org>, > DaveC <invalid@invalid.net> wrote: >> The desired result is that after clicking on a link that is the URL to a PDF >> file, Preview launches and the PDF file displays in that application. >> >> For me this does not happen. Instead, a new web page opens in Safari and >> garbage fills the page. > Uh, perhaps that "garbage" *is* the PDF. Which is to say, the server > might be more at fault than your Mac. No, it's the combination of Safari 7 and the old defaults write preference. -- Thanks to great leaders such as Ghengis Khan, Joan of Arc, and Socratic Method, the world is full of history.
[toc] | [prev] | [next] | [standalone]
| From | dempson@actrix.gen.nz (David Empson) |
|---|---|
| Date | 2013-11-08 08:58 +1300 |
| Message-ID | <1lc0cqj.16oprut1vudyugN%dempson@actrix.gen.nz> |
| In reply to | #51971 |
DaveC <invalid@invalid.net> wrote: > In past OS X versions I've used a Terminal command to set my PDF viewer > preference to Preview rather than Safari. This is the method for Mavericks, > supposedly: > > <http://apple.stackexchange.com/questions/106660/how-make-safari-7-open-pdf- > files-in-preview-instead-of-opening-them-in-page> > > The desired result is that after clicking on a link that is the URL to a PDF > file, Preview launches and the PDF file displays in that application. > > For me this does not happen. Instead, a new web page opens in Safari and > garbage fills the page. That article says the method which _previously_ worked (defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES) does not work any more with Safari 7. Incidentally, the same applies to Safari 6.1. With that setting, earlier versions of Safari would download a PDF with a simple click on a link, rather than displaying the PDF in Safari. (You also had to get rid of the Adobe PDF plugin, if you had installed Adobe Reader.) I already had that setting enabled, and had the same problem with Safari 6.1 and 7. Until a better solution presents itself, I've turned off that setting with: defaults write com.apple.Safari WebKitOmitPDFSupport -bool NO This restores the standard behaviour of Safari, and PDFs are now displaying in Safari (rather than seeing a page full of the raw data of the PDF in text form). From there, I can save them. Alternatively, I can secondary click on the link and choose Download Linked File, but this is a nuisance as some web sites don't make it clear that the link you are about to click on is a PDF rather than another web page. -- David Empson dempson@actrix.gen.nz
[toc] | [prev] | [next] | [standalone]
| From | DaveC <invalid@invalid.net> |
|---|---|
| Date | 2013-11-07 12:05 -0800 |
| Message-ID | <0001HW.CEA13280008BDB48B01029BF@news.eternal-september.org> |
| In reply to | #52014 |
> Alternatively, I can secondary click on the link and choose Download > Linked File, but this is a nuisance as some web sites don't make it > clear that the link you are about to click on is a PDF rather than > another web page. So there is currently no known way to automatically download & open PDF files in Preview with 1 click? Thanks, Dave
[toc] | [prev] | [next] | [standalone]
| From | Barry Margolin <barmar@alum.mit.edu> |
|---|---|
| Date | 2013-11-07 15:17 -0500 |
| Message-ID | <barmar-964ED1.15170207112013@news.eternal-september.org> |
| In reply to | #52018 |
In article <0001HW.CEA13280008BDB48B01029BF@news.eternal-september.org>, DaveC <invalid@invalid.net> wrote: > > Alternatively, I can secondary click on the link and choose Download > > Linked File, but this is a nuisance as some web sites don't make it > > clear that the link you are about to click on is a PDF rather than > > another web page. > > So there is currently no known way to automatically download & open PDF files > in Preview with 1 click? I think the issue is whether Safari considers PDF files to be "safe". I use Chrome, not Safari. Sometimes it downloads a PDF and opens it immediately. Other times it downloads the PDF and then displays a warning at the bottom that the file may be dangerous, do you want to keep it? So it seems like there are different kinds of PDF files, and some of the contents may render them "unsafe". When they're not safe, you have to open them manually. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
[toc] | [prev] | [next] | [standalone]
| From | dorayme <dorayme@optusnet.com.au> |
|---|---|
| Date | 2013-11-08 08:40 +1100 |
| Message-ID | <dorayme-4203B8.08400008112013@news.albasani.net> |
| In reply to | #52020 |
In article <barmar-964ED1.15170207112013@news.eternal-september.org>, Barry Margolin <barmar@alum.mit.edu> wrote: > it seems like there are different kinds of PDF files, and some of the > contents may render them "unsafe". When they're not safe, you have to > open them manually. Interestingly, there are *some* PDFs that will happily open in iCab in Schubert's PDF plugin but will give an error when the Open in External Viewer button (in that plugin) is pressed. I don't think in this case it is about safety, but I don't know this. On Snow Leopard. -- dorayme
[toc] | [prev] | [next] | [standalone]
| From | Your Name <YourName@YourISP.com> |
|---|---|
| Date | 2013-11-08 18:37 +1300 |
| Message-ID | <081120131837036313%YourName@YourISP.com> |
| In reply to | #52028 |
In article <dorayme-4203B8.08400008112013@news.albasani.net>, dorayme <dorayme@optusnet.com.au> wrote: > In article <barmar-964ED1.15170207112013@news.eternal-september.org>, > Barry Margolin <barmar@alum.mit.edu> wrote: > > > > it seems like there are different kinds of PDF files, and some of the > > contents may render them "unsafe". When they're not safe, you have to > > open them manually. > > Interestingly, there are *some* PDFs that will happily open in iCab in > Schubert's PDF plugin but will give an error when the Open in External > Viewer button (in that plugin) is pressed. I don't think in this case > it is about safety, but I don't know this. On Snow Leopard. The PDF standard comes in different versions, so it depends on what version the reader application can understand. It also depends on how close to the standards the application making the PDF was. Some PDF documents open fine on my Mac OS X 10.2 PowerMac, some throw up an error saying "some things may not display properly" but still show up on-screen, and others refuse to open at all. Some will not work in Preview, but work fine in full Acrobat. If I copy them across to the Mac OS X 10.5 MacBook, then most of them open fine on that, but some still cause errors.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.sys.mac.system
csiph-web