Jango Posted August 11, 2006 Share Posted August 11, 2006 Hello, I would like to send some characters to an open Winword with ControlSend but when i use AU3Info.exe and i place my mouse on the blank Winword page there is no Control ID How can i do to send characters to word and other applications with no Control ID ? It will be cool if someone can write an example. Thank you. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 11, 2006 Moderators Share Posted August 11, 2006 This was done for word yesterday, you might see if you can mod it:http://www.autoitscript.com/forum/index.ph...st&p=219558 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. Link to comment Share on other sites More sharing options...
Jango Posted August 11, 2006 Author Share Posted August 11, 2006 (edited) This was done for word yesterday, you might see if you can mod it: http://www.autoitscript.com/forum/index.ph...st&p=219558 Thanks but it's not exactly what i want, i have to send characters to other apps too like lotus notes. We here have a keyboard problem, we can't send the euro symbol so i wrote this little script: #include <GUIConstants.au3> Global $Paused HotKeySet("{F2}", "SendEuro") HotKeySet("{ESC}", "Terminate") ; == GUI generated with Koda ==); $Form2 = GUICreate("Keys", 307, 73, 302, 218) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd Exit Func SendEuro() Send("€", 1) EndFunc ;_WwG1 Func Terminate() Exit 0 EndFunc When i press F2 it send the euro symbols but on some terminals it does work and i would like to send the char with ControlSend instead of Send. But Winword have no Control ID Perhaps should a do a mix of the link you gave me and my code but ... Help Edited August 11, 2006 by Jango 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