Search found 37 matches

by raron
20 Sep 2021, 04:20
Forum: Wish List
Topic: Dark theme / Windows themed AHK
Replies: 32
Views: 15111

Re: Dark theme / Windows themed AHK

Maybe themed is a bit far fetched, I can appreciate to keep it as simple as possible. But some simple(?) inverted colors would go a long way. Even if it's a bit high contrast. But no biggie in a way I suppose (still, I'd wish for something like this). Side-note: I tried this AHK script by malcev, wh...
by raron
13 Sep 2021, 05:17
Forum: Wish List
Topic: Dark theme / Windows themed AHK
Replies: 32
Views: 15111

Re: Dark theme / Windows themed AHK

Ah, I forgot to clarify that. No, I mean the AHK debugger window I guess you can call it? Where you can see the last keys used, variable contents etc. It pops up if you dobleclick the H icon in taskbar. I used Notepad++ before, and still use it now and then. But I've mostly moved to the Atom editor ...
by raron
12 Sep 2021, 23:50
Forum: Wish List
Topic: Dark theme / Windows themed AHK
Replies: 32
Views: 15111

Dark theme / Windows themed AHK

Title... Surprised I haven't seen this wishlisted? The things showing up in a search is for forum theme or other color stuff. Now that we finally have dark theme in Windows (and have for some time), AHK stands out in a bad way. Blasting the retina with a bright white big window. It would be nice if ...
by raron
11 Sep 2021, 03:11
Forum: Ask for Help (v1)
Topic: Wildcard turned to toggle with expression syntax, bug?
Replies: 7
Views: 691

Re: Wildcard turned to toggle with expression syntax, bug?

I spoke too early! It was still the same (not sure how I missed that). IE key repeats... Anyway, using this method currently, which works for now: SetHotkeys: loop, % modifierCombo.Length() { Hotkey, % modifierCombo[A_Index] . key_forward, Forward_axis_on, On Hotkey, % modifierCombo[A_Index] . key_f...
by raron
11 Sep 2021, 02:46
Forum: Scripts and Functions (v1)
Topic: Modifier key as dynamic hotkeys
Replies: 0
Views: 775

Modifier key as dynamic hotkeys

Hi. So, I'm not too sure how useful this is. It's just a normal AHK hotkey field but used in a (cumbersome) way so modifier keys can be used as hotkeys. Baiscally just a WIP / test. Any normal AHK hotkey should work Modifier keys (Shift, Ctrl, Alt) alone or in combination works (mostly...) No distin...
by raron
08 Sep 2021, 16:13
Forum: Ask for Help (v1)
Topic: Wildcard turned to toggle with expression syntax, bug?
Replies: 7
Views: 691

Re: Wildcard turned to toggle with expression syntax, bug?

Great! Your second example works, thanks! There are timers involved, so I guess that's why keywait can't be used (I didn't try that now). If the hotkey is still down when the timer runs out, it starts the timer again (one-shot timers). Btw, this might be my fault (usually is lol), because this was k...
by raron
08 Sep 2021, 15:24
Forum: Ask for Help (v1)
Topic: Wildcard turned to toggle with expression syntax, bug?
Replies: 7
Views: 691

Re: Wildcard turned to toggle with expression syntax, bug?

Debugging a snippet can be difficult at times. Perhaps you can post your script. It's starting to get somewhat complex at ~20kb :P (plus a couple of libraries). I might post a shorter excerpt if I can't solve the hotkey thing, but if the above works then I'll go with that (I haven't had the time to...
by raron
08 Sep 2021, 12:21
Forum: Ask for Help (v1)
Topic: Wildcard turned to toggle with expression syntax, bug?
Replies: 7
Views: 691

Re: Wildcard turned to toggle with expression syntax, bug?

I tried this: Hotkey, *%key_forward%, Forward_axis_on, On Hotkey, *%key_forward% up, Forward_axis_off, On (Not sure why I put the "*" in a variable before). But then key repeat turns back on. My cumbersome version at the end of my post above works (but it doesn't take all modifiers into account. Hav...
by raron
08 Sep 2021, 02:23
Forum: Ask for Help (v1)
Topic: Wildcard turned to toggle with expression syntax, bug?
Replies: 7
Views: 691

Wildcard turned to toggle with expression syntax, bug?

Hi all. Not sure if this is a bug or not, just thought I'd post this. Maybe I'm using the expression syntax wrong in this case? Consider the following two hotkey down/up definitions: hkprefix := "*" SetHotkeys: Hotkey, % hkprefix . key_forward, Forward_axis_on, On Hotkey, % hkprefix . key_forward up...
by raron
04 Sep 2021, 13:14
Forum: Ask for Help (v1)
Topic: How do we get the Vvariables from gui control in class *OOP Topic is solved
Replies: 3
Views: 496

Re: How do we get the Vvariables from gui control in class *OOP Topic is solved

Very timely, I was just wondering about this as well.
Thank you!
by raron
04 Sep 2021, 10:33
Forum: Notepad++
Topic: Setup Notepad++ for AutoHotkey
Replies: 167
Views: 516933

Re: Setup Notepad++ for AutoHotkey

@D4ng_kun Hi. If it's a userdefined language it should be in Notepad++ menu: Language -> User Defined Language -> "Define your language...". From there select Autohotkey in the drop-down "User Language". Then you should be able to change the Default style colors. Choose a foreground and background c...
by raron
04 Sep 2021, 10:05
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 28036

Re: One Line If Statements

if you want a one-line if in v2 you can just use a short-circuit expression to do it. (DoMsg) && MsgBox(True) (SkipMessage) || MsgBox(True) Thanks for the reply. I have to say I don't think that's more clear though. Where's the "if"? Implied? (I like the ternary operator better then). Anyway, it is...
by raron
01 Sep 2021, 11:56
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 28036

Re: One Line If Statements

From OP's post: If (1 = 1) msgbox true If (1 = 1), msgbox true If (1 = 1) { msgbox true } If (1 = 1) then msgbox true This! + 1 for One Line If Statements! How can this language with so much implied stuff (?), not have this basic and I'd say very normal form? I just spent a couple of hours figuring ...
by raron
15 Aug 2020, 08:50
Forum: Notepad++
Topic: Notepad++ userDefineLang_AHK => import fail
Replies: 1
Views: 4810

Re: Notepad++ userDefineLang_AHK => import fail

Did you fix it? I also get an import fail from that btw. I have another UDL file for AHK (import works). I'm not sure where I got it exactly, I think I made it a few years back. No guarantees it got all keywords etc. (In fact I just randomly spotted some missing.. which I added. Might be new-ish to ...
by raron
05 Aug 2020, 11:59
Forum: Notepad++
Topic: Setup Notepad++ for AutoHotkey
Replies: 167
Views: 516933

Re: Setup Notepad++ for AutoHotkey

I made me a shortcut from Notepad++ to run AutoHotKey scripts directly. I haven't looked at all pages here, so maybe it's mentioned somewhere. I just thought I'd put it up here just in case it's of any use. In addition I added a custom toolbar button to press. Prerequisites Notepad++ plugins: NppExe...
by raron
11 Mar 2017, 20:42
Forum: Gaming Scripts (v1)
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 1014
Views: 830689

Re: Universal Control Remapper (UCR) - v0.1.12 7th Mar 2017

@ evilC

Great stuff! Just confirming that it works.
(Except preview in UCR)
by raron
08 Mar 2017, 10:23
Forum: Gaming Scripts (v1)
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 1014
Views: 830689

Re: Universal Control Remapper (UCR) - v0.1.12 7th Mar 2017

I hadn't updated in a while, so I didn't know when re-use broke. I just randomly decided to try to update it now :) But I briefly tested UCR Alpha 0.0.16 through Alpha 0.1.12 just now. I used the latest vJoy I installed (vJoy 2.1.8.33), and I basically only tested the "Remapper (Axis Merger)" plugin...
by raron
08 Mar 2017, 00:46
Forum: Gaming Scripts (v1)
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 1014
Views: 830689

Re: Universal Control Remapper (UCR) - v0.1.12 7th Mar 2017

Just a quick heads-up that the axis previews in "Remapper (Axis Merger)" plugin don't show, and layout is a bit messed up (UCR v0.1.12). From looking in Control Panel - Game Controllers while testing, it seems I can't use the same axis input for different axis's outputs anymore? I have a setup with ...
by raron
29 Dec 2016, 16:59
Forum: Gaming Scripts (v1)
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 1014
Views: 830689

Re: Universal Control Remapper (UCR) - v0.1.9 26th Dec 2016

So. get me this straight: Can you or can you not map a keyboard or mouse to a virtual joystick (vjoy) :( . I can do this inside UCR, but it makes no response on the vjoy Monitor or windows monitor. :( I have the same issue of vJoy seemingly not being remapped from the latest UCR (Alpha 0.1.9). I ca...
by raron
16 Jun 2016, 13:03
Forum: Gaming Scripts (v1)
Topic: Universal Joystick Remapper (UJR) - v6.10 2nd Nov 2015
Replies: 169
Views: 127440

Re: Universal Joystick Remapper (UJR) - v6.10 2nd Nov 2015

I figured it out! It was.. failure to check Game Controller Calibration issue (or in other words PEBKAC.. yeah a bit embarrassing! :P). Actually, it was enough to just press "Reset to default" in the Settings tab of vJoy #1's Device properties (in Control Panel - Game Controllers), and all axis on v...

Go to advanced search