iladis 0 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 ? Share this post Link to post Share on other sites
hannes08 39 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] Share this post Link to post Share on other sites
water 2,414 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 2021-04-14 - Version 1.5.3.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (NEW 2021-04-13 - Version 1.6.4.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (NEW 2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - WikiTask Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - WikiTutorials:ADO - Wiki, WebDriver - Wiki Share this post Link to post Share on other sites
hannes08 39 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] Share this post Link to post Share on other sites
iladis 0 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. Share this post Link to post Share on other sites
wolf9228 70 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 صرح السماء كان هنا Share this post Link to post Share on other sites