hey guys, having trouble getting the name of a windows recorded when the hotkey is pressed
only an empty file is being written, i am so confused and the damn help file is no help, here is the code:
Code:
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: A.N.Other <myemail@nowhere.com>
;
; Script Function:
; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^LButton::
MouseGetPos, WinX, WinY, Winget
WinGetTitle, Winget,%Winget% ;<--- this line of code has been removed
FileSelectFolder, SWNT
InputBox,SWNA, Save redorded window name as?`nalso include the extension
FileAppend,,%SWNT%\%SWNA%
FileAppend,%Winget%,%SWNT%\%SWNA%
return
all help is appreciated, tx guys
*edit* removed a line of code, see the code
am now getting this in my output file from a window title recording attempt:
0x318ac