Hi! I am new here and did some Googling but was still pretty confused so sorry for the newbie question.
My entire goal is to figure out a way to copy a chunk of text as well as information about the source - (if the text is from a website, then I'd like to copy the text, URL and Title, and if its from an internal document, I'd like to copy the text, file id/path, and file name.) then I'd like to send the text and the citation to be appended to a document in OmniOutliner, and copied to a new document in DEVONthink.
I think I am getting there slowly, but for the life of me I can't figure out how to get the file name of whatever document I'm copying text from. I see how to get the URL if I'm copying from the Internet, but don't see how to get the file name if I'm copying something from my internal files. When I try to use the "set file" or "get file attribute" options, they seem to require a static document. but htis variable would change every time I copied text. any help would be much appreciated!