Jump to content

Recommended Posts

Posted

The help says that it is possible to get UTF8 characters from the clipboard:

Current Limitations

There are a few parts of AutoIt that don't yet have full Unicode support. These are:

Send and ControlSend - Instead, Use ControlSetText or the Clipboard functions.

Can someone please help to pass to the console the UTF8 characters according to the following script:

Local $MPos = MouseGetPos()
MouseClick('left', $MPos[0], $MPos[1], 2, 0)
Send('^c')
ConsoleWrite(ClipGet() & @LF)

Be Green Now or Never (BGNN)!

Posted (edited)

Look in help file about _ClipBoard_GetData() and $CF_UNICODETEXT format.

Thats return empty string. It does not return the locale characters.

Thanks for the response

EDIT: BTW the _ClipBoard_IsFormatAvailable($CF_UNICODETEXT) is available on my machine.

Edited by lsakizada

Be Green Now or Never (BGNN)!

Posted

Thats return empty string. It does not return the locale characters.

Thanks for the response

EDIT: BTW the _ClipBoard_IsFormatAvailable($CF_UNICODETEXT) is available on my machine.

Try another format, maybe one of them work fine.
Posted (edited)

Sorry for BUMPING it up, but I realy need help on this one.

Can someone help with simple scrit to prove that the cliboard functions can read and write locale string?

Thanks.

Edited by lsakizada

Be Green Now or Never (BGNN)!

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
×
×
  • Create New...