I want compare value & clipboard. The exam always False.
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetkeyDelay, 20, 50
F3::
ControlGetText, Var, ThunderRT6TextBox11, ahk_class ThunderRT6MDIForm
MsgBox % Var
Clipboard=""
Send ^c
Copy1 = Clipboard
ClipWait ; Wait for the clipboard to contain text.
msgBox % Copy1
If ( Var = %Clipboard% )
MsgBox True
Else
Msgbox False
return
I dont understand. help me. thank