Accessing Citations in Applications Other than Word - Mac - Newbie
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
I put two | (vertical bar) in front of the surname of the author in Bookends citation information itself. Then I used the floating citation window to get the following:
{||Brewer, 1991}
I even put two | (vertical bar) in Japanese using ATOK's Input Manager Editor, I got the following using Bookend's floating citation window:
{||Brewer, 1991}
In both cases, ATOK again does not seem to be activated.
It would be great to try some debugging of BBT to see if this works. I will have to depend on somebody to open an issue on the BBT tracker as I do not have expertise in this type of thing.
I am not sure if I understand you mean exactly, but what I did was launch Bookends floating citation window in the note taking application. I then clicked on the "paste" button in this window to have the citation pasted in the text in the note taking application. This same citation appears in the clipboard of MacOS.
I downloaded and used "Clipboard Viewer". I typed in "{ | Brewer, 1991 | | | zu:276004:4EAB2LZW }". Then I copied and again pasted the same into a note taking application. Clipboard Viewer showed the results for all the following file titles:
com.reinvented.keepit.note.text
public.rtf
NeXT Rich Text Format v1.0 pasteboard type
public.utf8-plain-text
public.utf16-external-plain-text
'ut 16' (CorePastboardFlavorType 0x75743136)
dyn.ah62d4rv4gk81n65yru
'ustl' (CorePasteboardFlavorType 0x7473746C)
com.apple.traditional-mac-plain-text
'TEXT' (CorePasteboardFlavorType 0x54455854)
dyn.ah62d4rv4gk81g7d3ru
'styl' (CorePasteboardFlavorType 0x7374796C)
Which files do you need the information for?
osascript -e 'the clipboard as record'
in the terminal for each case (you put it on the clipboard, BBT puts it on the clipboard), noting which output belongs to what case?Would you mind giving me detailed instructions on how to get the information you need? I have only basic computer skills. I look forward to getting the information to you so this issue can be solved. I will work on it tomorrow. (It is almost 1am here in Tokyo). :)
terminal
application{ | Brewer, 1991 | | | zu:276004:4EAB2LZW }
into the note app and copy it to the clipboardosascript -e 'the clipboard as record' > /tmp/clipboard-state-manual.txt
pbpaste > /tmp/clipboard-contents-manual.txt
{ | Brewer, 1991 | | | zu:276004:4EAB2LZW }
back{ | Brewer, 1991 | | | zu:276004:4EAB2LZW }
(whatever it says, no Japanese){ | Brewer, 1991 | | | zu:276004:4EAB2LZW }
or something (partially) Japaneseosascript -e 'the clipboard as record' > /tmp/clipboard-state-bbt.txt
pbpaste > /tmp/clipboard-contents-bbt.txt
/tmp
that look likeclipboard...txt
. Put these somewhere where we can download them. If you open an issue on the github link I posted, you can attach them there.I apologize for the inconvenience, but if I'm going to make changes to BBT to accommodate this, I need a channel where I can talk about the issue (for which this forum would suffice) and get you test builds (for which this forum does not suffice). I have an automated setup around github issues to deliver tested debug-builds that I don't really want to work around (and working around it would be some work at this point, I've made it intentionally hard for me to put out builds that have not passed through this automated testing setup).
Thanks for following up on this issue. I really appreciate it! :)
I followed your instructions and believe I have the 4 files in /tmp, but I am at a loss as to where the /tmp folder is on my Mac. If you could provide me with the file path, I will post it all on github.
~/Desktop
?boost_interprocess clipboard-state-manual.txt
clipboard-contents-bbt.txt com.apple.launchd.KXBN1OTnxe
clipboard-contents-manual.txt com.apple.launchd.LkIbvRzNn4
clipboard-state-bbt.txt powerlog
Thanks for your instructions. I managed to find the file path and past the issue on GitHub. ( https://github.com/retorquere/zotero-better-bibtex/issues/1154 ) Hopefully some solution can be found. :)
keystroke theReference
withkeystroke "v" using command down
(and adding&clipboard=true
to the url) should work, but I also see warnings that if you hold down a modifier key (such as ctrl) while it's pasting it would be seen as cmd-ctrl-v and it's unpredictable what that would do.I've not tested this. I'm not really familiar with Macs. I concentrate on the backend in BBT.