wytas3 Posted December 23, 2011 Share Posted December 23, 2011 is there function like this?i need script that can replace something i whrite for example when i tipe btw it will replace btw whit by the way Link to comment Share on other sites More sharing options...
water Posted December 23, 2011 Share Posted December 23, 2011 Did you search the forum for "hotstring"? A lot of threads pop up! 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...
AdmiralAlkex Posted December 23, 2011 Share Posted December 23, 2011 There's also _WinAPI_SetWindowsHookEx() in helpfile. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
kylomas Posted December 23, 2011 Share Posted December 23, 2011 (edited) wytas3, I what context? If the string subtitution is to occur within an AutoIT app you do NOT need any hooking function. If you want system wide substitution then a LL hook may be the answer, but you may need to build in the capability to NOT substitute, based on condition. If you decide that you need a LL hook, use the _hotstring UDF. IT has a really slick technique for posting back from the hook call. kylomas Edit: additional info Credit to Manadar for the hotstring UDF. Sorry Manadar, could'nt remember who authored it till I went back and looked Edit2: What the fuck is wrong with this editor? It loses line breaks and tabs!!! Edited December 23, 2011 by kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill 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