tzerber Posted July 2, 2010 Posted July 2, 2010 how to send >>>>> # <<<<<<< this symbol via ControlSend ? Func debugloop() AutoItSetOption ( "SendKeyDelay", 0 ) AutoItsetoption ( "SendKeyDownDelay", 50 ) $dbugwinname = WinGetHandle("Untitled") WinActivate($dbugwinname) Controlsend($dbugwinname,"","Edit1","{Enter}") Controlsend($dbugwinname,"","Edit1","#") ; <----------- i need this to be sent as text ( tried asc and charw, both didnt worked for me) Controlsend($dbugwinname,"","Edit1","Debug Loop Started") Controlsend($dbugwinname,"","Edit1","{Enter}") exit EndFunc Thanks , TZeRbeR
JohnOne Posted July 2, 2010 Posted July 2, 2010 Controlsend($dbugwinname,"","Edit1","#",1) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
ProgAndy Posted July 2, 2010 Posted July 2, 2010 (edited) using {#} should work, too Edited July 2, 2010 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
tzerber Posted July 2, 2010 Author Posted July 2, 2010 (edited) {#} is sent as [3] need another ideas, my prog is based on this symbol (notice : in notepad is shown as # but on the other window is shown as [3] or 3 ) Also just found that i can`t send a key and keep it pressed for a moment (sendkeydowndelay not working fine for me) AutoItSetOption ( "SendKeyDelay", 200 ) AutoItsetoption ( "SendKeyDownDelay", 200 ) Controlsend($dbugwinname,"","","9") Edited July 2, 2010 by tzerber
JohnOne Posted July 2, 2010 Posted July 2, 2010 whats the other window? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
tzerber Posted July 2, 2010 Author Posted July 2, 2010 security prog for IP cameras that i want to do some stuff automaticly via hotkeys (i`m sending the keys via autoit but fail)
GEOSoft Posted July 2, 2010 Posted July 2, 2010 (edited) Try Send("+3") and if that fails use Send("{ASC 0035}") Don't use the flag 1 EDIT: Sorry, you will want ControlSend() Edited July 2, 2010 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
tzerber Posted July 2, 2010 Author Posted July 2, 2010 that`s my point, send fails, also control send fails ...
JohnOne Posted July 2, 2010 Posted July 2, 2010 Then try ControlSetText() AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
tzerber Posted July 2, 2010 Author Posted July 2, 2010 ControlSend($dbugwinname,"","","{asc 34}") that show`s the # symbol thanks to all for help, i`ll need more help soon <3 ya all
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