iladis Posted March 28, 2011 Share Posted March 28, 2011 I cant send a "+" or "!" character in my string. Ex : if i try to send my variable password="!st.+9pI`VR@2", AutoIt send this "t.pI`VR@2" without "+" and "!" and "s" in this case. Any solution for this problem ? Link to comment Share on other sites More sharing options...
hannes08 Posted March 28, 2011 Share Posted March 28, 2011 Hi iladis, if you have a look at the "Send()" function in the help file, you'll see that you need to send the "!" key like this: "{!}". (The same is true for e.g. +#^{}) Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
water Posted March 28, 2011 Share Posted March 28, 2011 Yes, set the flag in the send command to send the data "raw": Send("!st.+9pI`VR@2", 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...
hannes08 Posted March 28, 2011 Share Posted March 28, 2011 Yes, set the flag in the send command to send the data "raw": Send("!st.+9pI`VR@2", 1) Well, that's the other (easier) possibility. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
iladis Posted March 28, 2011 Author Share Posted March 28, 2011 Yes, set the flag in the send command to send the data "raw": Send("!st.+9pI`VR@2", 1) Send ("OK, thank you for answers. "). Thank you again. Link to comment Share on other sites More sharing options...
wolf9228 Posted March 28, 2011 Share Posted March 28, 2011 I cant send a "+" or "!" character in my string. Ex : if i try to send my variable password="!st.+9pI`VR@2", AutoIt send this "t.pI`VR@2" without "+" and "!" and "s" in this case. Any solution for this problem ? HotKeySet("{F1}", "_SendText") HotKeySet("{F2}", "_SendKey") HotKeySet("{ESC}", "Terminate") While 1 Sleep(150) WEnd Func _SendText() Run("notepad") WinWait("[CLASS:Notepad]") Send("!st.+9pI`VR@2",1) EndFunc Func _SendKey() Run("notepad") WinWait("[CLASS:Notepad]") Send("{ALTDOWN}",0) Send("f",1) Send("{ALTUP}",0) EndFunc Func Terminate() Exit 0 EndFunc صرح السماء كان هنا 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