Search found 1044 matches
- Today, 07:58
- Forum: Scripts and Functions (v2)
- Topic: ApplicationSwitcher for v2
- Replies: 5
- Views: 281
Re: ApplicationSwitcher for v2
This is really cool -- Thanks for sharing it!
- Today, 07:35
- Forum: Scripts and Functions (v2)
- Topic: [Function] MsgBoxTBI - Display a MsgBox window with an icon in the title bar
- Replies: 2
- Views: 119
Re: [Function] MsgBoxTBI - Display a MsgBox window with an icon in the title bar
Cool idea. I'm getting errors though... I'm on Win 10 with RaptorX's AHKToolBox, to test your self contained example. It has AHK v2.0.2. First two message boxes work, but there is no icon... Third msgbox causes error: Error: Expected a Number but got an empty string. 069: If wParam = HSHELL_WINDOWDE...
- Yesterday, 13:31
- Forum: Wish List
- Topic: Notify if not UTF-8?
- Replies: 2
- Views: 38
Notify if not UTF-8?
It seems like lots of folks have run into the problem of not having their ahk files encoded as UTF-8. Should AutoHotKey (during validation) detect if there are Unicode characters, then return a warning, if the ahk file is not UTF-8 (??)
- Yesterday, 13:27
- Forum: Ask for Help (v2)
- Topic: InStr(...) gives error?
- Replies: 22
- Views: 169
Re: InStr(...) gives error?
Can anyone tell me how I can automatically substitute all "xE9" special character ( and other similar ) with another character I want? I use the SciTE4AutoHotkey editor. Thank you very much. Did these "xE9" characters appear when you changed the file to UTF encoding? If so, see my previous recommen...
- Yesterday, 12:12
- Forum: Ask for Help (v2)
- Topic: InStr(...) gives error?
- Replies: 22
- Views: 169
Re: InStr(...) gives error?
Editing it with the UTF-8 encode, shows all characters "è" like "xE9": how I can automatically substitute all chars? My autocorrect tool has a bunch of accented-words. Something I remember running in to, is that, if your characters are already messed up, then changing the formatting to UTF won't fi...
- Yesterday, 11:40
- Forum: Ask for Help (v2)
- Topic: InStr(...) gives error?
- Replies: 22
- Views: 169
Re: InStr(...) gives error?
Weird... Sorry, I don't know why.
Does this give you '5' ?
Also, sorry, I put "UDF-8 with BOM" but I meant "UTF-8 with BOM." (unicode text format)
Does this give you '5' ?
Code: Select all
#SingleInstance
#Requires AutoHotkey v2+
sOriginalString := "123456789"
sSubStr := "5"
msgbox iTest := Instr(sOriginalString, sSubStr, 0,,)
- Yesterday, 11:34
- Forum: Ask for Help (v2)
- Topic: InStr(...) gives error?
- Replies: 22
- Views: 169
- Yesterday, 11:30
- Forum: Ask for Help (v2)
- Topic: InStr(...) gives error?
- Replies: 22
- Views: 169
Re: InStr(...) gives error?
I think it might make a difference if your ahk file is not saved as format "UDF-8 with BOM." With the below, I get 15. I think the accented o character might get converted to two characters(?) #SingleInstance #Requires AutoHotkey v2.0 sOriginalString := "qweQWEghjklpoiqwe123456df" sSubStr := "QWE" m...
- Yesterday, 11:20
- Forum: Ask for Help (v2)
- Topic: InStr(...) gives error?
- Replies: 22
- Views: 169
Re: InStr(...) gives error?
I'm getting 17...
- 16 Apr 2024, 10:00
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 101
- Views: 9123
Re: AutoCorrect for v2
.... I assumed you had an updated list of single words that you then convert to multiple matching. Unfortunately, no. There's no table that indicates each original 'whole-word' item, and the 'multi-match' items that were derived from them. It occurred to me after converting the list, that I should ...
- 16 Apr 2024, 08:01
- Forum: Off-topic Discussion
- Topic: Beginner to VSCode/GitHub/GitDeskop.
- Replies: 11
- Views: 386
Re: Beginner to VSCode/GitHub/GitDeskop.
lol... No... just discovered it, but I came back here to mention that I am getting a 404 error when trying to access the course page. So I'm not sure if it is just me or not. Can you access the course page? Same here. It seemed like it was installing, then when I tried to choose a repo... 404. Than...
- 15 Apr 2024, 20:48
- Forum: Ask for Help (v2)
- Topic: Best way to ensure single instance of GUI?
- Replies: 5
- Views: 115
Re: Best way to ensure single instance of GUI?
These are all excellent approaches. Thanks Folks!
- 15 Apr 2024, 20:47
- Forum: Off-topic Discussion
- Topic: Beginner to VSCode/GitHub/GitDeskop.
- Replies: 11
- Views: 386
Re: Beginner to VSCode/GitHub/GitDeskop.
Very cool! Have you been using this?andymbody wrote: ↑15 Apr 2024, 20:26I am also new to GitHub. Are you aware of the GitHub learning lab?
- 15 Apr 2024, 10:06
- Forum: Ask for Help (v2)
- Topic: Best way to ensure single instance of GUI?
- Replies: 5
- Views: 115
Best way to ensure single instance of GUI?
With some help from gpt, then some additional tweaking, I got the below code working. Is this the best way to ensure that I don't get multiple instances of g2? (Assume that the user clicks the g1 'make' button over and over.) It occurs to me to keep g2 in RAM and just show/hide it... Should I do tha...
- 15 Apr 2024, 09:26
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 101
- Views: 9123
- 15 Apr 2024, 07:53
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 101
- Views: 9123
Re: AutoCorrect for v2
Incidentally... Typing the above reply made me realize that my "no sort" block of items near the top of the ac entries (but below the 'nullification' items) includes several word beginnings and middles. If word beginnings or middles can't be nullification items... How can those items coexist with th...
- 15 Apr 2024, 07:43
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 101
- Views: 9123
Re: AutoCorrect for v2
d_romeo There's not really an "ignore list" though the section near the top of the autocorrect items that looks like this: ; ===== Trigger strings to nullify the potential misspellings that are indicated. ====== ; Used the word "corrects" in place of fix to avoid double-counting these as potential ...
- 14 Apr 2024, 09:56
- Forum: Ask for Help (v2)
- Topic: How to change where a window will apear
- Replies: 15
- Views: 274
Re: How to change where a window will apear
Interesting idea, could be tested for various windows and programs. Another thought is to use the script to actually run the target app, but force it to start minimized. I'm not sure if that would help, though... Does Windows actually "create" the necessary application window when it starts the app...
- 14 Apr 2024, 09:32
- Forum: Ask for Help (v2)
- Topic: How to change where a window will apear
- Replies: 15
- Views: 274
Re: How to change where a window will apear
Here are some ideas for a work-around... I got the idea from here https://www.autohotkey.com/boards/viewtopic.php?f=83&t=119688 I'm not sure I've used the commands/functions correctly though... Firstly, I experimented with just the SetWinDelay , using it with Notepad. I didn't see a big difference i...
- 13 Apr 2024, 15:08
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 101
- Views: 9123
Re: AutoCorrect for v2
Okay... I think I've managed to correctly make a GitHub repository for this project. I'm still new to GitHub, so bearwith me as I continue learning to use it correctly.
https://github.com/kunkel321/AutoCorrect2
https://github.com/kunkel321/AutoCorrect2