Sign in to follow this  
Followers 0
wytas3

Hotstrings and Auto-replace

4 posts in this topic

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

Share this post


Link to post
Share on other sites



Did you search the forum for "hotstring"? A lot of threads pop up!


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0