Guest nistam Posted January 15, 2004 Share Posted January 15, 2004 Ok, i created a script that does something that needs 2 days to be finished by a human.It's actualy a repeated action. Anyway it works fine. I created the same functions using the DLL version. But i wanted it to be variable based, for example if someday the caption of window A changes, the user edits an Access db and changes the caption to the new one.So my EXE reads this new caption from Access and checks for the new one. My problem is the following: objAutoIT.IfWinExists("Level3","") returns 1 'SUCCESS dim var as string var="Level3" objAutoIT.IfWinExists(var,"") always returns 0 'FAIL Am i missing something? Thank you in advance **GREAT SOFTWARE** Link to comment Share on other sites More sharing options...
Guest nistam Posted January 15, 2004 Share Posted January 15, 2004 OH, sorry guys. Forget my question. Because i'm reading from a database, i just needed to issue a TRIM() to the string i'm reading. It works now. Anyway thank you. Link to comment Share on other sites More sharing options...
Recommended Posts