搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can I download a file (to a folder I choose, not a temp) AND open it simultaneously?

more options

I'm trying to save a PDF file to a folder of my choosing, while also having it open in a PDF annotator program that I'm using. Basically, I'm trying to bypass having to save the file first, then opening it in a program. I want to be able to open it in the program, but ALSO save it to my desktop (not a temp folder) at the same time. Changing the default location for temp files doesn't work because then I get everything. I just want specific files. Any thoughts?

I'm trying to save a PDF file to a folder of my choosing, while also having it open in a PDF annotator program that I'm using. Basically, I'm trying to bypass having to save the file first, then opening it in a program. I want to be able to open it in the program, but ALSO save it to my desktop (not a temp folder) at the same time. Changing the default location for temp files doesn't work because then I get everything. I just want specific files. Any thoughts?

所有回覆 (1)

more options

Firefox doesn't have a built-in way to do that. I think the shortest workflow in Firefox is:

(1) Save to Desktop (or wheverever)

(2) Click the downloads arrow, then click the download to launch it in your default PDF handler

Extensions -- unless they coordinate with a companion program -- can't save files outside the Downloads folder (or maybe it's outside your selected downloads folder?).

This is quite indirect, but if you know someone who knows a Windows scripting language, maybe it would work. Create a script that you can select in the Download dialog through "Open" (in place of your PDF program) that does this:

(A) Receives the path to the file from Firefox (B) Moves the file to your preferred folder (C) Then launches the file in your preferred application