I have a file open in, say, a pdf viewer (or some other application). I want to get the path of the open file as text.
A simple approach to know the files location is to chose "Save As" - the dialogue comes up with the files current location selected. For pasting a path into such a dialogue, I can do cmd-shift-G, but the text box that appears contains the most recent path used this way (not the current files path).
Is there a way to access the path (as text) of a file open in an application?