Main Area and Open Discussion > General Software Discussion
Capture the address window or file path to the clipboard with hotkey
Contro:
Repeating
--- ---#c:: ; Win+C, change to your liking.
{
Clipboard = %Clipboard%
}
Return
don't go
I don't understand
clipboard = %clipboard% ; Convert any copied files, HTML, or other formatted text to plain text.
I position the cursor over one file.
By example :
Capture the address window or file path to the clipboard with hotkey
After applying the script don't appear the clip in my Ditto Clipboard.
skwire:
Try this:
--- Code: Autohotkey ---#c:: ; Win+C, change to your liking.{ SendInput, ^c ClipWait, 2 Clipboard = %Clipboard%}Return
4wd:
I'm not sure but I think what Contro is saying is:
a) If no file is selected, return the Window address field to the clipboard.
b) If a file is selected, return the full path of the file.
Feel free to ignore me if I'm wrong :)
Of course, with my non-knowledge of AutoHK you might have already answered the question, in which case feel free to :trout:
Contro:
I'm not sure but I think what Contro is saying is:
a) If no file is selected, return the Window address field to the clipboard.
b) If a file is selected, return the full path of the file.
Feel free to ignore me if I'm wrong :)
Of course, with my non-knowledge of AutoHK you might have already answered the question, in which case feel free to :trout:
-4wd (June 27, 2012, 10:39 PM)
--- End quote ---
May be that what you are telling is what I must say.
;D
It's a good solution, because with one hotkey we can do all the tasks
Contro:
Try this:
--- Code: Autohotkey ---#c:: ; Win+C, change to your liking.{ SendInput, ^c ClipWait, 2 Clipboard = %Clipboard%}Return-skwire (June 27, 2012, 09:54 PM)
--- End quote ---
Running to try
Best Regards
:-*
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version