Jump to content

Unicode and clipboard


Recommended Posts

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)!

Link to comment
Share on other sites

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)!

Link to comment
Share on other sites

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.

When the words fail... music speaks.

Link to comment
Share on other sites

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)!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...