Search found 13 matches
- 08 Jun 2024, 05:26
- Forum: General Discussion
- Topic: [Future] █ Dedicated, custom trained LLM like Github Copilot to assist Autohotkey scripts development
- Replies: 0
- Views: 160
[Future] █ Dedicated, custom trained LLM like Github Copilot to assist Autohotkey scripts development
Just throwing idea to develop community driven custom trained LLM models to assist developing Autohotkey scripts in AHK v1.1 and AHK 2.0 versions. Recently I write some scripts with help of GPT 3.5 and GPT 4o and I noticed quite a few code proposals that are obosolete or marked as legacy in AHK docu...
- 27 Nov 2020, 07:08
- Forum: Suggestions on Documentation Improvements
- Topic: IniRead suggestion
- Replies: 2
- Views: 1077
Re: IniRead suggestion
Indeed. I'm not perceive it earlier. So to emphasise maybe change it to something like this? (may contain grammar errors): Unicode: IniRead and IniWrite rely on the external functions GetPrivateProfileString¬ and WritePrivateProfileString¬ to read and write values. Note: These functions support Unic...
- 24 Nov 2020, 11:15
- Forum: Suggestions on Documentation Improvements
- Topic: IniRead suggestion
- Replies: 2
- Views: 1077
IniRead suggestion
My suggestion is to add to "Remarks" in IniRead help that common error could be UTF coding in INI file, what an example is a cause in this thread: https://www.autohotkey.com/boards/viewtopic.php?t=55308 Recently takes me about 2 hours of fighting with ahk code until finally I start to google and fou...
- 13 Jun 2019, 17:56
- Forum: Ask for Help (v1)
- Topic: Launching function on HOTKEY HOLD for specified time, else send normal key
- Replies: 2
- Views: 839
Re: Launching function on HOTKEY HOLD for specified time, else send normal key
Wow, seems quite complicated.
I must analyze this line by line.
Thanks a lot!
I must analyze this line by line.
Thanks a lot!
- 13 Jun 2019, 14:06
- Forum: Ask for Help (v1)
- Topic: Launching function on HOTKEY HOLD for specified time, else send normal key
- Replies: 2
- Views: 839
Launching function on HOTKEY HOLD for specified time, else send normal key
I searching whole day and can't find right, working answer. I want to launch my function mToggler() only when holding Win keys (left or right) for more than 800 ms. But on the other hand I want not to lose bringing Start Menu with this hotkey short tap nor other Win+<key> shortcuts (like Win+D for S...
- 22 Oct 2018, 22:52
- Forum: Ask for Help (v1)
- Topic: Name generator AKA brute force algorithm?
- Replies: 2
- Views: 906
Re: Name generator AKA brute force algorithm?
It will take few days for me to analyze this code.
Maybe my guideline to avoid to using functions for recurrence was very bad idea...
Because this code looks very complicated for me - but I'm basic coder.
Thanks!
I'll dig into it.
- 21 Oct 2018, 04:40
- Forum: Ask for Help (v1)
- Topic: Name generator AKA brute force algorithm?
- Replies: 2
- Views: 906
Name generator AKA brute force algorithm?
Can anyone help me with changing my code to work with any string length (defined by iNameLenght) without copy/pasting loop, parse section (and without using functions if possible - but not necessary)? ;alfabet := "abcdefghijklmnopqrstuvwxyz0123456789" alfabet := "abcdefghijklmnopqrstuvwxyz" iNameLen...
- 11 Jun 2018, 11:43
- Forum: Ask for Help (v1)
- Topic: Binding RControl & RShift shortcut as AppKey - no go Topic is solved
- Replies: 1
- Views: 939
Re: Binding RControl & RShift shortcut as AppKey - no go Topic is solved
OK, I thought about it and I came to the conclusion that this is an border case and standard/automatic Autohotkey's methods will not work here. Additionally RControl & RShift and RShift & RControl are treated as 2 different hotkeys (the order in which the keys are pressed is important). So I think t...
- 10 Jun 2018, 18:49
- Forum: Ask for Help (v1)
- Topic: Binding RControl & RShift shortcut as AppKey - no go Topic is solved
- Replies: 1
- Views: 939
Binding RControl & RShift shortcut as AppKey - no go Topic is solved
I have [probably] a trivial problem but trying to fight it for about an hour and didn't get good results: as I have K750 keyboard without AppsKey on the right side of Space I try to make shortcut for AppsKey by just pressing simultaneously RControl & RShift. RControl & RShift UP::MsgBox Fired! ; Msg...
- 13 Mar 2018, 03:37
- Forum: Ask for Help (v1)
- Topic: If and boolean variables - why don't work? Topic is solved
- Replies: 1
- Views: 590
If and boolean variables - why don't work? Topic is solved
Hi, I don't understand why second MsgBox isn't displayed. #Persistent #SingleInstance force mE_bCapslockEnh := true mE_bCapslockTootlip := true IfEqual, mE_bCapslockEnh, 1, Hotkey, ~CapsLock, mE_fCapslockEnh mE_fCapslockEnh() { MsgBox THIS WORK! (%mE_bCapslockTootlip%) if (mE_bCapslockTootlip) { Msg...
- 09 Mar 2018, 17:06
- Forum: Scripts and Functions (v1)
- Topic: [x64 & x32 fix] DeskIcons - Get/Set Desktop Icon Positions
- Replies: 80
- Views: 30845
Re: [x64 & x32 fix] DeskIcons - Get/Set Desktop Icon Positions
I can't get consistent results from running this code.
Few times it works fine, but at some launch it stops run and this function returns empty value.
Windows 10 x64.
Few times it works fine, but at some launch it stops run and this function returns empty value.
Windows 10 x64.
- 02 Feb 2018, 14:20
- Forum: Ask for Help (v1)
- Topic: Best coding practices with modular AHK scripts
- Replies: 5
- Views: 3077
Re: Best coding practices with modular AHK scripts
Thank you very much A_AhkUser. Trick with GoSub jump seems clever. I'll try it. About "Hotkey" command - I use AHK from many years (10?) and as I remember, dimly, that there are some limitations in Hotkey command - I didn't remember any details now, but I remember that I have problems with it and I ...
- 30 Jan 2018, 17:59
- Forum: Ask for Help (v1)
- Topic: Best coding practices with modular AHK scripts
- Replies: 5
- Views: 3077
Best coding practices with modular AHK scripts
I worked on my system (Windows) UI enhancer script from many years. It have now about 36 kb of code in 2 files. But from year to year I think often to cleanup this code and make it more modular. I mean that I would to make a one core .ahk script which #include other, quite independent .ahk modules (...