Sign in to follow this  
Followers 0
sebgg

Send Keys Language problem?

6 posts in this topic

#1 ·  Posted (edited)

Hi,

So send on some non-english language keyboards/computers is sending strange things,

for example

send("_") sends the number 8 not an undrscore etc,

also sending send ("180") sends instead &_à where ona french keyboard the followign is true

& é " ' ( - è _ ç à )

1 2 3 4 5 6 7 8 9 0 °

had a search counldnt find an example - anyone know a fix to this? would sending the ascii code help?

cheers,

Seb.

Edited by sebgg

GC - Program to rapidly manipulate DNA SequencesRotaMol - Program to measure Protein Size

Share this post


Link to post
Share on other sites



What language are you talking about?

According to the help file: "To send UNICODE characters you must use the "ASC" option"

Could you try:

Send("_", 1)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

What language are you talking about?

According to the help file: "To send UNICODE characters you must use the "ASC" option"

Could you try:

Send("_", 1)

thanks very much for the fast reply, I shall give this a try.

cheers,

Seb


GC - Program to rapidly manipulate DNA SequencesRotaMol - Program to measure Protein Size

Share this post


Link to post
Share on other sites

According to Wikipedia the "8" and "_" are on the same key on a french keyboard.

Do you set the SendCapslockMode or send "{SHIFTDOWN}" somewhere in your script?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

According to Wikipedia the "8" and "_" are on the same key on a french keyboard.

Do you set the SendCapslockMode or send "{SHIFTDOWN}" somewhere in your script?

yeah its laid out as i edited in the first post, but no there is no shift down commands, (on my english keyboard/system its all works with the numbers and not the other corresponding characters that I have above my numbers.)

But I do know that on a french system, the number on the number keys is not the default option, and normally shift is needed to be pressed before they are sent. so maybe i need to add that before the send for any key that isnt a letter?

will give this a try next if the ,1) didnt fix it.

thanks again for all the help,

Seb.


GC - Program to rapidly manipulate DNA SequencesRotaMol - Program to measure Protein Size

Share this post


Link to post
Share on other sites

In your AutoIt script you have to do exactly what you do when you type the text yourself.

So if you need to press Shift to get the "8" then you have to send "{Shift}" as well in your AutoIt script.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

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  
Followers 0