alaa777 0 Posted May 4, 2010 (edited) _StringBetween() has any thing to do with the setting of "language for non-Unicode programs" in the region and language? because it's working for me my setting "Arabic (Egypt)" and not working with my friend his setting "Chinese (simplified, PRC)" $command=_StringBetween(ClipGet(),"$",";") If @error Then FileWriteLine("commands log.txt",_DateTimeFormat( _NowCalc(),2)&"......" &_DateTimeFormat( _NowCalc(),4)&".....forgot the '$' or the ';'......"&ClipGet()) WinActivate("*******") WinWaitActive("*********","",3000) Sleep(1000) Send("you forgot the '$' or the ';'") Send("{enter}") WinClose("********]") Else comands($command[0]) EndIf well it sets the error even if there is '$' and ';' Edited May 4, 2010 by alaa777 Share this post Link to post Share on other sites
alaa777 0 Posted May 4, 2010 /close this fixed the problem in my virtual pc didn't test on my friend pc $command=_StringBetween(ClipGet(),ChrW(36),ChrW(59)) Share this post Link to post Share on other sites