Jason407 Posted May 24, 2009 Share Posted May 24, 2009 I have a barcode scanner that passes numbers as keyboard entries when a barcode scanned. I would like to force any input from this scanner into a certain window/input field. (Example: Notepad/Edit1) I am OK with having ALL numeric keyboard entries to go to this field. So basically, I think I need to have the script watch for any numeric keyboard input, and forces the numeric input into the proper window(Notepad) and proper input field (Edit1). I need this to work, even if the Notepad program window is not active. Ideas? I tried _IsPressed but could not get the actual number to pass correctly. Link to comment Share on other sites More sharing options...
Hawkwing Posted May 25, 2009 Share Posted May 25, 2009 If I understand correctly, this would basically be a keylogger that only logged numbers. Since posting keyloggers is not allowed, I'll pm a script to you in a bit that should do it. The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again. Link to comment Share on other sites More sharing options...
Jason407 Posted May 25, 2009 Author Share Posted May 25, 2009 If I understand correctly, this would basically be a keylogger that only logged numbers. Since posting keyloggers is not allowed, I'll pm a script to you in a bit that should do it.I don't need it to function like a keylogger. I just need to force the barcode scanner input into the Edit1 field.Checking for numeric entries was just the only way I could think of doing it. I am very open to any other ideas.Is there a way to force all keyboard input to a certain field? If so, that might due.Or, at the least...a way to keep the focus set to my notepad window and the edit1 field. Link to comment Share on other sites More sharing options...
fdm99 Posted June 28, 2009 Share Posted June 28, 2009 If I understand correctly, this would basically be a keylogger that only logged numbers. Since posting keyloggers is not allowed, I'll pm a script to you in a bit that should do it.I am trying to develop an application for gathering input from barcode reader and am running into this very same issue. Any help with this would be very much appreciated... Link to comment Share on other sites More sharing options...
fdm99 Posted July 2, 2009 Share Posted July 2, 2009 I am trying to develop an application for gathering input from barcode reader and am running into this very same issue. Any help with this would be very much appreciated...Don't worry about responding I figured it out myself ... Very helpful group. NOT ... Link to comment Share on other sites More sharing options...
juzis28 Posted October 21, 2015 Share Posted October 21, 2015 (edited) Don't worry about responding I figured it out myself ...Please be so kind and share your solution. I`m facing the same problem as well. Edited October 21, 2015 by juzis28 Link to comment Share on other sites More sharing options...
BrewManNH Posted October 21, 2015 Share Posted October 21, 2015 This topic is over 6 years old, and the poster hasn't been here in 4 years, I wouldn't expect an answer. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Danyfirex Posted October 21, 2015 Share Posted October 21, 2015 But if you create a new topic maybe we can help you... Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut 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