Here is pasted my clipboard on the X between the two O's like this -----> OXO
And here is the code that just won't listen to me:O
Status for contract n49iegSVo3RsJsce changed from pending to canceled
Please check your notifications page for details
O
Code: Select all
array[1] = null ;making sure I don't recycle and old clipboard
array[3] = null ;I use null instead of "" because those produce an annoying warning every time I run the script
array[8] = null
Haystack := clipboard
MsgBox, % Haystack
Array := StrSplit(Haystack, [A_Space,"`n","`l","`r"])
MsgBox, % "Status: " array[1] ;shows nothing or empty space
MsgBox, % "contract: " array[3] ;shows nothing or empty space
MsgBox, % "to: " array[8] ;shows [changed] instead of [to]