AutoHotkey: CopyNamesToClipWithoutExt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Added category AutoHotkey scripts) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* | |||
'''''Ctrl+Alt+Shift+C''''' copies the filenames to the clipboard using the internal command cm_CopyNamesToClip, | |||
then removes the extension parts from the clipboard. | |||
*/ | |||
#IfWinActive, ahk_class TTOTAL_CMD | |||
^!+c:: ;*** Adjust hotkey when needed | |||
Clipboard := "" | |||
PostMessage, 1075, 2017 | |||
ClipWait, 1 | |||
Clipboard := RegExReplace(Clipboard, "(.+)\..+", "$1") | |||
Return | Return | ||
{{translated|AutoHotkey: Kopiere Dateinamen ohne Erweiterung in die Zwischenablage|AutoHotkey}} | |||
[[Category:AutoHotkey scripts|CopyNamesToClipWithoutExt]] |
Latest revision as of 19:01, 1 June 2008
/* Ctrl+Alt+Shift+C copies the filenames to the clipboard using the internal command cm_CopyNamesToClip, then removes the extension parts from the clipboard. */
#IfWinActive, ahk_class TTOTAL_CMD ^!+c:: ;*** Adjust hotkey when needed Clipboard := "" PostMessage, 1075, 2017 ClipWait, 1 Clipboard := RegExReplace(Clipboard, "(.+)\..+", "$1") Return
Back to AutoHotkey