Vladi243 Posted July 9, 2008 Posted July 9, 2008 1. This notes "!@#^&+" aren't sent by the function Send(). Why? 2. The note "&" isn't seen on the output. Why again?
Moderators SmOke_N Posted July 9, 2008 Moderators Posted July 9, 2008 1. This notes "!@#^&+" aren't sent by the function Send(). Why?2. The note "&" isn't seen on the output. Why again?Try sending it using the raw optional parameter: Send("&", 1) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Vladi243 Posted July 9, 2008 Author Posted July 9, 2008 Try sending it using the raw optional parameter: Send("&", 1)Thanks! Now it's working.Do you know what's about the second problem?I try to create a button with the text "&". When I start the GUI, I don't see the note "&" on the button.
picaxe Posted July 9, 2008 Posted July 9, 2008 Do you know what's about the second problem?I try to create a button with the text "&". When I start the GUI, I don't see the note "&" on the button.Use "&&" to display "&" in button text. Single "&" used to denote keyboard shortcut.
Vladi243 Posted July 9, 2008 Author Posted July 9, 2008 Yes, it works now, but it makes another problem- When I read the text of the button I get 2 "&", but I need only one.
picaxe Posted July 9, 2008 Posted July 9, 2008 (edited) Try StringReplace(GUICtrlRead($Button), "&&", "&") for reading buttons Edited July 9, 2008 by picaxe
Vladi243 Posted July 9, 2008 Author Posted July 9, 2008 Thanks. I think that it will solve my problem.
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