|
|
Why do OSX browsers download PDFs?
|
|
|
|
Forum Regular
Join Date: Feb 2001
Location: Washington, D.C.
Status:
Offline
|
|
A small thing that bothers me is that every PDF I view using a browser in OS X is downloaded. I suppose in Windows browsers they are downloaded into a temp folder somewhere and latter deleted. Is there any way to have OS X automatically purge certain folders every so often. I would set my browser to store the PDF in a temp folder and then get OS X to delete it every so often.
Thanks,
Josh
p.s. what programs does the services menu work with in 10.2? Can I email files my clicking on them and using the email in the service menu?
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jul 2001
Location: New York, NY
Status:
Offline
|
|
Originally posted by KeilwerthSX90R:
A small thing that bothers me is that every PDF I view using a browser in OS X is downloaded. I suppose in Windows browsers they are downloaded into a temp folder somewhere and latter deleted. Is there any way to have OS X automatically purge certain folders every so often. I would set my browser to store the PDF in a temp folder and then get OS X to delete it every so often.
Thanks,
Josh
p.s. what programs does the services menu work with in 10.2? Can I email files my clicking on them and using the email in the service menu?
First, I believe a large part of the problem (or at least a significant part of it) is that Adobe hasn't written a .pdf plugin for OS X that works yet. However, I would think with all the native OS X .pdf capabilities, that it wouldn't be too too hard to make OW, e.g., display a pdf like preview does (although there's the issue of the extra interface widgets and whatnot, and possibly some weird cocoa-carbon problems). It probably wouldn't be that hard to write an applescript that deleted .pdfs that download to a certain folder, but you'd need to look for more of an Applescript guru than I am to help you out.
Second, the services menu works with a lot of programs. Many of the services require text to be highlighted before they will work, and yes you can email files just by selecting them in the finder and choosing "Finder->Services->Mail->Send File" from the services menu.
|
cpac
|
|
|
|
|
|
|
|
Registered User
Join Date: Jul 2001
Location: Orange County, CA
Status:
Offline
|
|
For one, Internet Exploder is a shoddy carbon port that cannot recognize any OS X apps or OS 9 plugins. Even selecting the OS 9 version of Acrobat causes the file to be downloaded and displayed in Preview.
OW has no plugin capabilities for PDFs, therefore straight download.
I don't know about the others.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
I think it's good that PDFs are downloaded and viewed in a separate app - Apps should do their own thing well - Browsers are browsers and PDF display Apps are PDF display apps - adding the ability to view PDF documents into a browser would be bloat as far as I am concerned.
Bloat = slow + more bugs.
Anyway - If you wanted you could use an applescript to delete the items - if you are running Jaguar you could even attach an applescript action to your download folder that would move new files with the .PDF extension to the wastebasket (maybe after a delay so Preview can load the file first ).
You would have to specifically "save to�" somewhere else if you wanted to keep the document of course.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Santa Monica, CA
Status:
Offline
|
|
Originally posted by Diggory Laycock:
If you wanted you could use an applescript to delete the items - if you are running Jaguar you could even attach an applescript action to your download folder that would move new files with the .PDF extension to the wastebasket
Or, how about just keeping the default d/l folder, and setting a cron job to purge it at a given time of all PDFs?
I don't know how to write a cron job, or I would give specifics, but someone else will know...
good luck
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Sep 2000
Location: Springfield, MA
Status:
Offline
|
|
Originally posted by brachiator:
I don't know how to write a cron job, or I would give specifics, but someone else will know...
Here's an example you can add to your crontab to delete all the pdf files from ~/Downloads that haven't been accessed for more than 1 day. This will run everyday at quarter after midnight.
Code:
15 0 * * * find ~/Downloads -name "*.pdf" -atime +1 -exec rm -f -- {} \;
|
We hope your rules and wisdom choke you / Now we are one in everlasting peace
-- Radiohead, Exit Music (for a film)
|
|
|
|
|
|
|
|
Junior Member
Join Date: Oct 2002
Status:
Offline
|
|
Originally posted by KeilwerthSX90R:
A small thing that bothers me is that every PDF I view using a browser in OS X is downloaded. I suppose in Windows browsers they are downloaded into a temp folder somewhere and latter deleted. Is there any way to have OS X automatically purge certain folders every so often. I would set my browser to store the PDF in a temp folder and then get OS X to delete it every so often.
You need a browser plugin to display PDF inside the browser.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Jun 2001
Location: Asheville, NC, USA
Status:
Offline
|
|
And as if by magic - someone just posted one to version tracker
But it doesn't work with OmniWeb or Chimera.
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Oct 2002
Status:
Offline
|
|
Originally posted by sra:
But it doesn't work with OmniWeb or Chimera.
The next version will work better with OmniWeb.
(
Last edited by manfreds; May 25, 2003 at 11:17 AM.
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|