Page 1 of 1
Getting the path for a file loaded in the editor.
Posted: Wed Aug 13, 2003 4:55 pm
by hucker
There are several instances where I would like to be able to copy the full path text of the file in the editor. Textpad lets me display the full path in tabs and in the title bar but I can't select it or copy it. It would be nice if I could right click on the tab and copy the path to the clipboard.
Chuck
Posted: Wed Aug 13, 2003 7:55 pm
by webmasta
Assign a KB shortcut for that ...
Configure /preferences/
Click Keyboard in right pane...
Click Edit in Categories pane...
Scroll down in the Commands pane and select EditCopyFileName...
Click in the Shortcut key box to give it focus...
Type a shortcut (I use Alt+c)..
Click Assign...
Click Ok...
Now use that shortcut to copy the full path for the current active document in the editor.
SideBar ------------------
In the Edit menu, theres "copy other"... in that flyout menu theres "copy all filenames" which will copy all the current files in TP.
----------------------------
I vaguely remember there was an option there to copy the current open filename (could be mistaken from information overload) but I cant seem to find it anymore (4.7 bug maybe), thus my Alt+c shortcut...
Posted: Wed Aug 13, 2003 9:12 pm
by talleyrand
I believe you are looking for
Edit -> Insert -> File Name
Posted: Wed Aug 13, 2003 9:30 pm
by webmasta
Thats what I used after I couldnt find it anymore and before I made the kb shortcut .. insert to documnet then copy it from there ..
Though I do remember using copy filename from the edit menu to paste filename when using the examdiff tool but it disappeared ... after I created the kb shortcut now I have a "copy filename" entry above "copy all filenames" ...
Posted: Thu Aug 14, 2003 5:25 am
by hucker
Thank you for showing me the various ways to get there. I'm glad that it is possible.
As a user though diving through menus is not the most discoverable way to copy a file name IMO. It seems to me if there is a tab or list box with the file name in it (document selector and document tabs) I should be able to right click on the file to a context sensitive menu that let's me copy it.
Chuck
Posted: Thu Aug 14, 2003 1:53 pm
by webmasta
duh.. I had forgot to mention you can also do that....(I got too accustomed to KB shortcuts) If you right click on the specific document tab and choose properties you will see the full path highlited to be copied...
Posted: Thu Aug 14, 2003 2:38 pm
by hucker
Thanks, that's pretty good. Assuming I have the doc selector open (which is a lot of real estate in order to get to a filename copy) it's a:
Right Click in File Selector
Select Properties
Copy (extra right click and select if I use the mouse)
Close Window
in order to get the information to the editor. Obviously the kb shortcut is the fastest, but since file names are shown on document tabs, title bars, and the selector window it seems that more than a right click - select from menu is extra.
Sort of a pet peave of mine since the project I'm working on had a request for this. Grudgingly, I added it to enable right click on a status item to copy a full file path. I use it all the time now, and now notice that most apps could benefit from this simple optimization.
Chuck