Search found 77 matches

by StefOnSteroids
12 Mar 2023, 10:46
Forum: Ask for Help (v2)
Topic: GUI with small "keyboard" for special characters
Replies: 7
Views: 645

Re: GUI with small "keyboard" for special characters

Thank you both. For the links and the script.
Now it works like a charm. Much appreciated. :D
by StefOnSteroids
12 Mar 2023, 04:23
Forum: Ask for Help (v2)
Topic: Cannot trigger F-Key Hotkey
Replies: 3
Views: 519

Re: Cannot trigger F-Key Hotkey

@ntepa you were right on track, something is off with my ghosting. :oops:
Thanks for that link, very helpful.
by StefOnSteroids
12 Mar 2023, 04:12
Forum: Ask for Help (v2)
Topic: Cannot trigger F-Key Hotkey
Replies: 3
Views: 519

Re: Cannot trigger F-Key Hotkey

Does not work. I made sure there is nothing else running. No other ahk-script, no other hotkey-app.
Something must be wrong with my function-keys, it seems. ^+f etc works fine. But none of the F-Key combinations.
Thanks for the SendEvent and delay, I will keep trying.
by StefOnSteroids
12 Mar 2023, 03:50
Forum: Ask for Help (v2)
Topic: Cannot trigger F-Key Hotkey
Replies: 3
Views: 519

Cannot trigger F-Key Hotkey

I want Ctrl+Shift+F12 key as a trigger. Try as I might, I cannot figure it out:

Code: Select all

^+F12::
{
Send "abc"
}
Enclosing F12 in braces, brackets, parentheses does not help, either. What's my mistake, here?
by StefOnSteroids
11 Mar 2023, 23:10
Forum: Ask for Help (v2)
Topic: GUI with small "keyboard" for special characters
Replies: 7
Views: 645

Re: GUI with small "keyboard" for special characters

Very useful. Thanks!

2 questions:
  1. Where do I find those codes, to supplement them with my own?
  2. Escape does not close the window/ exit the app. Maybe I don't understand the code correctly. Is it supposed to do so?
by StefOnSteroids
09 Mar 2023, 02:52
Forum: General Discussion
Topic: What has happened to AutoHotkey?!
Replies: 33
Views: 7167

Re: What has happened to AutoHotkey?!

I fully agree with everything Skrommel said. It's daunting to even look at the new code. At first, I thought I might get used to it. Reading the help file was the first downer. Way over my head, too many concepts I found arcane and requiring in-depth programming knowledge. Many examples sent me clic...
by StefOnSteroids
07 Mar 2023, 13:27
Forum: Ask for Help (v2)
Topic: Can the popup menu support dark mode? Topic is solved
Replies: 10
Views: 1171

Re: Can the popup menu support dark mode? Topic is solved

We already have
MyMenu.SetColor([ColorValue, ApplyToSubmenus])

An additional "MyMenu.SetFontColor" would allow us to design dark menus.
by StefOnSteroids
07 Mar 2023, 05:33
Forum: Ask for Help (v2)
Topic: Return or not — that is the question Topic is solved
Replies: 3
Views: 296

Re: Return or not — that is the question Topic is solved

Thank you, both. I hope I got it now.
I will not put an insert after building my groups and menus.
by StefOnSteroids
07 Mar 2023, 04:38
Forum: Ask for Help (v2)
Topic: Return or not — that is the question Topic is solved
Replies: 3
Views: 296

Return or not — that is the question Topic is solved

From what I gathered, "return" is not used anymore to terminate a hotkey or function call. But I also have areas in my code, that are not bound by braces {}. Do I still need "return" after those lines? Case in question: I build groups (AddGroup) and menus at the top of my script. Should I end this s...
by StefOnSteroids
05 Mar 2023, 23:57
Forum: Ask for Help (v1)
Topic: Ctrl + dbl-click as a hotkey? Topic is solved
Replies: 4
Views: 299

Re: Ctrl + dbl-click as a hotkey? Topic is solved

Thank you. Much appreciated. :angel:
by StefOnSteroids
05 Mar 2023, 18:00
Forum: Ask for Help (v1)
Topic: Ctrl + dbl-click as a hotkey? Topic is solved
Replies: 4
Views: 299

Re: Ctrl + dbl-click as a hotkey? Topic is solved

Wow. There is no way I could have that figured out. Ever. :shock:
How do you arrive at such a solution? This should be included in the help file.

Can I ask you one more favor? What would it look like in v2?
by StefOnSteroids
05 Mar 2023, 17:04
Forum: Ask for Help (v1)
Topic: Ctrl + dbl-click as a hotkey? Topic is solved
Replies: 4
Views: 299

Ctrl + dbl-click as a hotkey? Topic is solved

I have been racking my brain how to use Ctrl+DoubleClick as a trigger:

^LButton:: .... works nicely, but how do I accomplish a double-click instead of a single click?
by StefOnSteroids
05 Mar 2023, 14:54
Forum: Ask for Help (v2)
Topic: Trying to migrate from v1.1 to v2
Replies: 3
Views: 1150

Re: Trying to migrate from v1.1 to v2

Thank you both. I really appreciate it. @boiler I would have never guessed I need manual linefeeds. The help file claims I don't have to, because "... a linefeed (`n) is present between lines", thanks to smart behavior, similar to v1. And the script converter did not insert them, either. @swagfag I ...
by StefOnSteroids
05 Mar 2023, 04:45
Forum: Ask for Help (v2)
Topic: Trying to migrate from v1.1 to v2
Replies: 3
Views: 1150

Trying to migrate from v1.1 to v2

I expected the transition to be easier. Had put high hopes into the script converter, but I still cannot get this to work: v1: MsgBox, 64, Ahk Version: %A_AhkVersion%, (LTrim ScriptPath:`t%A_ScriptFullPath% WorkingDir:`t%A_WorkingDir% ScriptDir:`t`t%A_ScriptDir% SendMode:`t%A_SendMode% TitleMatchMod...
by StefOnSteroids
20 May 2019, 07:07
Forum: Ask for Help (v1)
Topic: launch
Replies: 18
Views: 2718

Re: launch

SonGokuBg wrote:
20 May 2019, 06:59
can't decribe it. open chrone and click on some pixels
Well, like I said, I'd make sure that Chrome is open and has the mouse focus, then start clicking,
Try to use https://autohotkey.com/docs/commands/WinWaitActive.htm before you start clicking.
by StefOnSteroids
20 May 2019, 06:50
Forum: Ask for Help (v1)
Topic: launch
Replies: 18
Views: 2718

Re: launch

I can only speak for my machine: All kind of things fire up after booting, it would be hit or miss to start clicking right away, not making sure the clicks happen on the object I want to focus on BEFORE I start clicking. Your case may be different, ofc. But since your code doesn't work, it may help ...
by StefOnSteroids
20 May 2019, 06:20
Forum: Ask for Help (v1)
Topic: launch
Replies: 18
Views: 2718

Re: launch

I don't think it's a good idea to just start clicking when your machine comes up.
First you want to make sure that the focus is on the right window.
What are you trying to accomplish with these mouse-clicks?
by StefOnSteroids
11 May 2019, 21:54
Forum: Ask for Help (v1)
Topic: Some Basic Regex group Capture / Non-Capture Questions Topic is solved
Replies: 10
Views: 3855

Re: Some Basic Regex group Capture / Non-Capture Questions Topic is solved

String := "Hello World" MsgBox, % RegExReplace(String, "(Hello\s)(World)", "$1") MsgBox, % RegExReplace(String, "(?:Hello\s)(World)", "$1") Both messages return the first group. And yet, the first "captured" group in the second example is "World" and not "Hello ", because the first group does not e...
by StefOnSteroids
11 May 2019, 10:49
Forum: Ask for Help (v1)
Topic: Change the way Caps Lock works
Replies: 5
Views: 6698

Re: Change the way Caps Lock works

Still don't grasp what it is specifically, exactly, that you want it to do. Here some random starters to give you an idea: Turn it into another Shift key: CapsLock::Shift Have it greet you with a message: CapsLock:: msgbox Hello return Make it type text into the active window: Capslock:: Send, Best ...
by StefOnSteroids
11 May 2019, 10:10
Forum: Ask for Help (v1)
Topic: Change the way Caps Lock works
Replies: 5
Views: 6698

Re: Change the way Caps Lock works

The script you refer to does something very specific, as far as I can tell (being quite a noob myself). It seems to me that this script programs a user function that does certain things depending on whether the toggle state of the CapsLock key is off or on. If you tell me what it is that you want to...

Go to advanced search