Search found 6 matches
- 18 Jun 2023, 08:20
- Forum: Ask for Help (v2)
- Topic: Autoreplace text wihout space/tab Topic is solved
- Replies: 9
- Views: 686
Re: Autoreplace text wihout space/tab Topic is solved
By the way, today I encountered a problem that AHKv2 is not case-sensitive, and thanks to ChatGPT and AHK → AHKv2 converter, I find how to fix it: :*:*С:: { if(GetKeyState("Shift", "P")) SendInput("°C") return } But I can't find out, is it possible to just say AHKv2 to make a replace only if text is...
- 25 Apr 2023, 09:57
- Forum: Ask for Help (v2)
- Topic: Autoreplace text wihout space/tab Topic is solved
- Replies: 9
- Views: 686
Re: Autoreplace text wihout space/tab Topic is solved
It worked for me. Did you close the old script? You should remove the code from my first comment. Try this if it still doesn't work: SetKeyDelay -1 #InputLevel 1 :*X:<-::SendEvent "←" :*X:->::SendEvent "→" :*X:<|::SendEvent "↑" :*X:|>::SendEvent "↓" #InputLevel 0 :*:←>::↔ ; <-> :*:↑>::↕ ; <|> :*:.←...
- 24 Apr 2023, 15:52
- Forum: Ask for Help (v2)
- Topic: Autoreplace text wihout space/tab Topic is solved
- Replies: 9
- Views: 686
Re: Autoreplace text wihout space/tab Topic is solved
I just remembered you can also change #InputLevel to allow hotstring to trigger from Send . #InputLevel 1 :*X:<-::Send "←" :*X:->::Send "→" :*X:<|::Send "↑" :*X:|>::Send "↓" #InputLevel 0 :*:←>::↔ ; <-> :*:↑>::↕ ; <|> :*:.←::↙ ; .<- :*:→.::↘ ; ->. :*:*←::↖ ; *<- :*:→*::↗ ; ->* Somewhy, this scrypt ...
- 23 Apr 2023, 08:17
- Forum: Ask for Help (v2)
- Topic: Autoreplace text wihout space/tab Topic is solved
- Replies: 9
- Views: 686
Re: Autoreplace text wihout space/tab Topic is solved
ntepa Thanks! That's help a lot. But what to do with replacements like this: :*:.<-::↙ (replaces ".<-" with ".←" instead of "↙") and :*:\|/::↓ with :*:/|\:: { Send "↑" ih := InputHook("L1 V") ih.Start() ih.Wait() if (ih.Input = "d") or ((ih.Input = "\|/")) Send "{BS 3}↕" } (replaces "/|\\|/" with "...
- 23 Apr 2023, 02:09
- Forum: Ask for Help (v2)
- Topic: Autoreplace text wihout space/tab Topic is solved
- Replies: 9
- Views: 686
Autoreplace text wihout space/tab Topic is solved
I found that I need to use " :*:replaceSoure::replaceResult " for instant replace without hitting the Space button. But than, if there's a two replacements like: :*:<-::← :*:<->::↔ Writting "<->" will result "←>" insread of "↔". How do I fix that? I also tryed to change second to :*:←>::↔ , but it d...
- 29 Mar 2023, 06:51
- Forum: General Discussion
- Topic: Script library site
- Replies: 0
- Views: 588
Script library site
Is there site with AHK scripts collection (like Greasyfork for JS and userstyles.world for css) with ratings, download stats, categories, comments and etc. under each script, so I can see most casual and usefull scripts on the top while also can use search to see if somebody created script for speci...