E2Scriptah Posted February 24, 2013 Share Posted February 24, 2013 So basically, I need a script that will type in alt codes for me from the keypad. Would it be possible to make a script that will type in ALT+0174 (which makes the ® symbol) with an autoit script? The keypad keys need to be used. I figured out how to use ! in a Send command to emulate the press of alt, but it only lets me do one key after it and not multiple. which is what I need to type in alt codes. This is what I have so far although I know it's wrong: Sleep ("3000") Send("!0") Send("!1") Send("!7") Send("!4") Any help would be appreciated! Link to comment Share on other sites More sharing options...
ActualAkshay Posted February 24, 2013 Share Posted February 24, 2013 (edited) Cant you just simply use, msgbox(0, "test", chr(0174)) Edited February 24, 2013 by ActualAkshay Link to comment Share on other sites More sharing options...
E2Scriptah Posted February 24, 2013 Author Share Posted February 24, 2013 Cant you just simply use,msgbox(0, "test", chr(0174))No, the alt code has to be entered manually. Link to comment Share on other sites More sharing options...
ActualAkshay Posted February 24, 2013 Share Posted February 24, 2013 No, the alt code has to be entered manually.maybe this? Send(chr(0174)) Link to comment Share on other sites More sharing options...
ActualAkshay Posted February 24, 2013 Share Posted February 24, 2013 maybe this? Send(chr(0174))or this Send("{ASC 0174}") Link to comment Share on other sites More sharing options...
ActualAkshay Posted February 24, 2013 Share Posted February 24, 2013 Send("{ALTDOWN}{NUMPAD0}{NUMPAD1}{NUMPAD4}{NUMPAD7}{ALTUP}")isnt working dude Link to comment Share on other sites More sharing options...
PhoenixXL Posted February 24, 2013 Share Posted February 24, 2013 It should be Send("{ALTDOWN}{NUMPAD0}{NUMPAD1}{NUMPAD7}{NUMPAD4}{ALTUP}") My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
E2Scriptah Posted February 24, 2013 Author Share Posted February 24, 2013 It should be Send("{ALTDOWN}{NUMPAD0}{NUMPAD1}{NUMPAD7}{NUMPAD4}{ALTUP}") Thank you!!! Link to comment Share on other sites More sharing options...
water Posted February 24, 2013 Share Posted February 24, 2013 BTW: Could you please use more descriptive titles for your threads? Everyone on this forum is seeking for help. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki 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