It is in the command "Copy target patch (ctrl+c). Is possibility to copy the same name without path ?


It is in the command "Copy target patch (ctrl+c). Is possibility to copy the same name without path ?
#NoEnv
#SingleInstance force
;double tap ctrl+c in FARR
;to turn clipboard full path into filename
#IfWinActive, ahk_exe FindAndRunRobot.exe
~^c::
if (A_PriorHotkey == A_ThisHotkey)
if (A_TimeSincePriorHotkey < 500)
{
clipwait
if !FileExist(clipboard)
return
SplitPath, % clipboard , file
clipboard := file
}
return
#IfWinActiveOriginal address: https://www.donationcoder.com/forum/index.php?topic=43566.0