I have a script that copies value to an array, the value is empty but if i want to test ii, he copied something although i can't see it and in the array there are ""
It tested it with couple methods but non of them give me the answer to tell me that the value is empty
I tried it with
- UIIA (value functon, and the setfocus function and then copy the thing)
- an condition if (A_Clipboaerd = "")
- an condition if (A_Clipboaerd == "")
-Clipwait
- tried to replace `r of `n of the A_clipboard (there are no invisible enters or new lines )
nothing seems to work
Anyone with an other idea
The code is very simple
Code: Select all
Clipboard := ""
Send ^c
var := A_clipboard ; this is an empty field
if (var = "")
msgbox "Empty"