Jump to content
Sign in to follow this  
alaa777

_StringBetween() and unicode

Recommended Posts

alaa777

_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 by alaa777

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.