I got follow script to select full line depending on activity.
Code: Select all
#If WinActive("ahk_exe notepad.exe") OR WinActive("ahk_exe notepad++.exe") OR WinActive("ahk_exe Code.exe") OR WinActive("ahk_exe studio64.exe") OR WinActive("ahk_exe idea64.exe") OR WinActive("- OneNote ahk_class ApplicationFrameWindow", "OneNote")
$!LButton:: ; SELECT FULL TEXT LINE IN TEXT
{
KeyWait, Alt
SendInput, {Esc}{LButton}
SendInput, {HOME}{ShiftDown}{End}{ShiftUp}
return
}
#IfWinActive
#If WinActive("ahk_exe chrome.exe") OR WinActive("ahk_exe firefox.exe")
$!LButton:: ; SELECT FULL TEXT LINE IN TEXT
{
KeyWait, Alt
SendInput, {Esc}{LButton 3}
Return
}
#IfWinActive
Thanks in advance