I'm trying to use the TCL command to capture the name and path from a file into the clipboard. I realized that it works only for general text instead for file.
Thanks, Felipe
This is my TCL Example:
set keysym "Copy Activated"
pack [label .l -textvariable keysym -padx 2m -pady 1m]
set function {}
bind . <Key> {
set var "%K"
lappend function $var
if { [ lindex $function end-1 ] == "Control_L" || [ lindex $function end ] == "c" } { set contents [clipboard get] }
if { [ lindex $function end-1 ] == "Control_L" || [ lindex $function end ] == "v" } { eval clipboard clear; clipboard append $contents}
}