sebgg Posted January 16, 2012 Share Posted January 16, 2012 (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 January 16, 2012 by sebgg GC - Program to rapidly manipulate DNA SequencesRotaMol - Program to measure Protein Size Link to comment Share on other sites More sharing options...
water Posted January 16, 2012 Share Posted January 16, 2012 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
sebgg Posted January 16, 2012 Author Share Posted January 16, 2012 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 Link to comment Share on other sites More sharing options...
water Posted January 16, 2012 Share Posted January 16, 2012 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
sebgg Posted January 16, 2012 Author Share Posted January 16, 2012 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 Link to comment Share on other sites More sharing options...
water Posted January 16, 2012 Share Posted January 16, 2012 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now