"Copy file location" vs "Show file"
Hi,
Would it be possible to add a "Copy file location" right-click option for file attachments (e.g. a PDF)? This would be analogous to Firefox' "Copy link location".
"Show file" works great for drag&drop operations. However, if I want to send the file in an email to someone (e.g. with gmail), I need to copy&paste the location of the file, which is not straightforward right now. The other option would be to navigate Zotero's directory structure using "Browse", a big no-no.
Another scenario: as many people I know, I work a lot in a shell. If I want to manipulate an attachment, even a simple copy, without a "Copy file location" option, I am left to searching for the attachment on the cryptic directory structure.
I haven't been able how to do this, nor have I seen anything in the forum. If I missed something, please let me know.
Thanks, and keep up the great job!
Rodrigo
Would it be possible to add a "Copy file location" right-click option for file attachments (e.g. a PDF)? This would be analogous to Firefox' "Copy link location".
"Show file" works great for drag&drop operations. However, if I want to send the file in an email to someone (e.g. with gmail), I need to copy&paste the location of the file, which is not straightforward right now. The other option would be to navigate Zotero's directory structure using "Browse", a big no-no.
Another scenario: as many people I know, I work a lot in a shell. If I want to manipulate an attachment, even a simple copy, without a "Copy file location" option, I am left to searching for the attachment on the cryptic directory structure.
I haven't been able how to do this, nor have I seen anything in the forum. If I missed something, please let me know.
Thanks, and keep up the great job!
Rodrigo
Really, of course, your mail issue is a limitation of web-based mail clients, since this isn't a problem with regular mail clients (to which you can drag from the filesystem window). I think HTML5 provides ways for web apps to support drag-and-drop of external files, so I wouldn't be surprised if Gmail added support for dragging in attachments soon.
I liken it to the difference between opening a link on Firefox and then copying the URL from the location bar versus right-clicking "Copy link location". True, the file browser does not open the file itself, but you do open the file browser.
On my Mac at the lab I have to go to the opened file browser window and then drag and drop the file where I need it.
On my Linux box at home, I don't use a file browser, so nothing is opened with "Show file" and I cannot access the file path. I agree that not using a file-browser is a personal choice. However, even in the Mac, I would like to copy the path without more need of a mouse.
In both scenarios, a single "Copy file location" function as in Firefox would leave the link in the clipboard for a quick Ctrl-V to anywhere you may like it.
Cheers,
Rodrigo
Drag&Drop from Zotero to a shell (Mac) copies the following:
1. "name_of_pdf_without_path.pdf"
which is not useful.
Drag&Drop from Zotero to a shell in Linux (at least my install) does nothing.
You mention a limitation on webmail clients as "regular mail clients" don't have that issue. "Regular" is a very subjective thing, mutt and pine are considered "regular" where I work. You are assuming that every operation can be done with drag and drop, which is not always the case. Requiring a file browser to be present and depending on its capabilities when a very simple menu option allows for a wider array of operations, is in my opinion an unnecessary thing.
But if you deem the simple feature is not useful, that is OK. I was able to code it in my local copy of Zotero and it is working, so I am happy now.
Cheers,
Rodrigo
I don't think we ever coded it to copy the filename in Zotero, though, so that may be the automatic content from the tree view for text/plain, which we could override with the full path if people deemed that more useful. (I know your vote.) Great.
Sending multiple files essentially requires dragging them onto the desktop and then onto an email.
These workflows all work fine, but could be much more elegant. Hopefully, the day is coming where all of this emailing back and forth will be moot anyway through the use of Zotero Groups.
I have also noticed as Jimdelaney above that you can try to drag a pdf from zotero into gmail and gmail recognizes it, but it doesn't work. That would be amazing if you can get it to work!
I also would like to know where this discussion has gone so far. As the user above, I think it would be amazing to be able just to drag and drop a pdf file into gmail or at least to have the option "Copy file location" when I do the right click on the pdf file. Any of these options would save much time when I have to attach multiple files.
Please, let me know if there are any progress in this direction.
Thanks.
Will try it on linux, later.
Regards, Jon
Thanks for your replay.
I've just tried this at Windows 7 and it does work perfectly even using Zotero 2.0, but on Ubuntu 10.10 it doesn't work with any version of Zotero.
Do you know if there is anything I can do to get it working?
Regards,
Climerio