Search found 10 matches

by tempuser
13 Jun 2019, 17:56
Forum: Ask For Help
Topic: Launching function on HOTKEY HOLD for specified time, else send normal key
Replies: 2
Views: 158

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!
by tempuser
13 Jun 2019, 14:06
Forum: Ask For Help
Topic: Launching function on HOTKEY HOLD for specified time, else send normal key
Replies: 2
Views: 158

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...
by tempuser
22 Oct 2018, 22:52
Forum: Ask For Help
Topic: Name generator AKA brute force algorithm?
Replies: 2
Views: 312

Re: Name generator AKA brute force algorithm?

:shock:
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... :think:
Because this code looks very complicated for me - but I'm basic coder.

Thanks!
I'll dig into it.
by tempuser
21 Oct 2018, 04:40
Forum: Ask For Help
Topic: Name generator AKA brute force algorithm?
Replies: 2
Views: 312

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...
by tempuser
11 Jun 2018, 11:43
Forum: Ask For Help
Topic: Binding RControl & RShift shortcut as AppKey - no go Topic is solved
Replies: 1
Views: 283

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...
by tempuser
10 Jun 2018, 18:49
Forum: Ask For Help
Topic: Binding RControl & RShift shortcut as AppKey - no go Topic is solved
Replies: 1
Views: 283

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...
by tempuser
13 Mar 2018, 03:37
Forum: Ask For Help
Topic: If and boolean variables - why don't work? Topic is solved
Replies: 1
Views: 209

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...
by tempuser
09 Mar 2018, 17:06
Forum: Scripts and Functions
Topic: [x64 & x32 fix] DeskIcons - Get/Set Desktop Icon Positions
Replies: 69
Views: 11208

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.
by tempuser
02 Feb 2018, 14:20
Forum: Ask For Help
Topic: Best coding practices with modular AHK scripts
Replies: 5
Views: 744

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 ...
by tempuser
30 Jan 2018, 17:59
Forum: Ask For Help
Topic: Best coding practices with modular AHK scripts
Replies: 5
Views: 744

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 (...

Go to advanced search