Search found 8825 matches

by gregster
Yesterday, 18:25
Forum: Ask for Help (v2)
Topic: Code should be working only in a window with a specific title Topic is solved
Replies: 3
Views: 171

Re: Code should be working only in a window with a specific title Topic is solved

No, not really for specific but for general hotkeys, in order to end a section in which you defined contex-sensitive hotkeys or hotstrings. To turn off context sensitivity, specify #HotIf without any expression. That's the same like using a simple #IfWinActive or #If without anything else in v1 - in...
by gregster
Yesterday, 17:38
Forum: Ask for Help (v1)
Topic: HoverScroll and Microsoft Edge
Replies: 11
Views: 2247

Re: HoverScroll and Microsoft Edge

If anyone has an exe file of HoverScroll() 1.04, please upload it. Because all the ahk files I found by Googling don't work. The uncompiled v1 script HoverScroll 1.04 can be downloaded from poiuz's post above . If it works, you could easily compile it with the ahk2exe compiler - included with AHK v...
by gregster
Yesterday, 14:50
Forum: Ask for Help (v2)
Topic: Trying to do a image search with V2 scripts - keep getting error
Replies: 5
Views: 156

Re: Trying to do a image search with V2 scripts - keep getting error

As a string, the file name should be quoted.
Compare https://www.autohotkey.com/docs/v2/lib/ImageSearch.htm#ExBasic

Or simply use the variable imagePath which you defined earlier (unquoted).
by gregster
02 May 2024, 05:45
Forum: Forum Issues
Topic: Can post new topic in this forum
Replies: 1
Views: 118

Re: Can post new topic in this forum

Afaik, this is a known forum bug for new user accounts , especially before they even try to submit something (immediately after pushing the 'New Topic' button). For now, the best way to solve it seems to be following the advice in the error message - just submit your post (again). That usually works.
by gregster
01 May 2024, 07:02
Forum: Ask for Help (v2)
Topic: Why codes disabled my "6" key..?
Replies: 4
Views: 203

Re: Why codes disabled my "6" key..?

Good point, boiler. On my german keyboard layout, ^ has its own key and can be reached without Shift (it's a dead key , though). Here, the hotkey combo ^ & LShift::MsgBox triggers a msgbox - but it has no relation to the 6 key and doesn't disable it. akirofe might have a third layout with different ...
by gregster
01 May 2024, 06:14
Forum: Ask for Help (v2)
Topic: Why codes disabled my "6" key..?
Replies: 4
Views: 203

Re: Why codes disabled my "6" key..?

I tried the first 700 lines - and it didn't disable 6.
Perhaps there is something in the included media.ahk...

I mean, it's all hotkeys. Should be easy to isolate the part which is creating problems by removing sections iteratively.
by gregster
30 Apr 2024, 11:15
Forum: Ask for Help (v1)
Topic: Send #r sends r in Windows-Hotkey
Replies: 4
Views: 355

Re: Send #r sends r in Windows-Hotkey

Both work here with latest v1.
What's the context? When do you press these key combos? Is this the whole code you are running while testing?
I would check the KeyHistory.
by gregster
30 Apr 2024, 05:15
Forum: Ask for Help (v2)
Topic: Can't get a simple SendInput script to work Topic is solved
Replies: 2
Views: 233

Re: Can't get a simple SendInput script to work Topic is solved

Try SendInput("^!{Numpad3}") Afaik, < and > are only supported in hotkey definitions (left side of the :: ), not with Send and its variants. At least, they won't do what you seem to expect - they will send a literal character, though (which might or might not interfere with what you are doing). The ...
by gregster
29 Apr 2024, 16:38
Forum: Ask for Help (v2)
Topic: Making mouse wheel click generate left mouse button double-click
Replies: 4
Views: 1790

Re: Making mouse wheel click generate left mouse button double-click

ma_j wrote:
29 Apr 2024, 16:34
Hi, how can I produce a double click by *clicking" the mouse wheel instead of rolling it up or down?
Try

Code: Select all

Mbutton::Click 2
by gregster
29 Apr 2024, 10:42
Forum: Ask for Help (v1)
Topic: Pixel searching finding incorrect colour Topic is solved
Replies: 2
Views: 218

Re: Pixel searching finding incorrect colour Topic is solved

You are not using the correct number format for hex numbers, starting with 0x : ColorID The decimal or hexadecimal color ID to search for, by default in Blue-Green-Red (BGR) format, which can be an expression. Color IDs can be determined using Window Spy (accessible from the tray menu) or via PixelG...
by gregster
26 Apr 2024, 16:43
Forum: Scripts and Functions (v1)
Topic: GDI+ standard library 1.45 by tic
Replies: 441
Views: 249803

Re: GDI+ standard library 1.45 by tic

Say this 1.96 is not up to speed with the latest AHK 2.0.12 is it? I see byref in there and VarSetCapacity which have been deprecated. But is there a newer port? Or a better up-to-date lib? What should one use nowadays? 🤔 Haven't used GDI+ with AHK v2 yet, but there is eg this: https://github.com/b...
by gregster
26 Apr 2024, 14:22
Forum: Ich brauche Hilfe
Topic: Fenstertitel kürzen
Replies: 6
Views: 267

Re: Fenstertitel kürzen

Okay... aber das Wort 'Kontoauszug' war aber in dem oben genannten Fenstertitel gar nicht vorhanden 🤷‍♂️.
by gregster
26 Apr 2024, 13:52
Forum: Ich brauche Hilfe
Topic: Fenstertitel kürzen
Replies: 6
Views: 267

Re: Fenstertitel kürzen

Sollte schon am Anfang des Skripts stehen, also irgendwo im auto-execute-Bereich , sodass das Kommando bei Skriptstart ausgeführt wird.: SetTitleMatchMode, 2 #IfWinActive , Konto_0012345 !c:: ; Firefox Betrag in die Zwischenablage kopieren MouseClick, left, 1546, 967 Return #IfWinActive ; fensterbez...
by gregster
26 Apr 2024, 13:27
Forum: Ich brauche Hilfe
Topic: Fenstertitel kürzen
Replies: 6
Views: 267

Re: Fenstertitel kürzen

Füge am Anfang des Skripts mal SetTitleMatchMode , 2 hinzu. 1: Standardverhalten. Der Titel eines Fensters muss mit dem angegebenen FensterTitel beginnen, um eine Übereinstimmung zu sein. 2: Der Titel eines Fensters kann den angegebenen FensterTitel an beliebiger Stelle enthalten, um eine Übereinsti...
by gregster
26 Apr 2024, 13:21
Forum: Forum Issues
Topic: Chrome block AHK forums with "NOT SECURE" Error
Replies: 2
Views: 211

Re: Chrome block AHK forums with "NOT SECURE" Error

Yes - and it's not only Chrome. This shows up since the forum was down yesterday for a few hours. Looks like the correct certificate is missing.

(I Imoved your topic to 'Forum Issues'.)
by gregster
26 Apr 2024, 07:38
Forum: Forum Issues
Topic: Slow forum
Replies: 111
Views: 10767

Re: Slow forum

@joedf, now the forum download links and the download page show 2.0.12 as the latest version - although it should be 2.0.13.
https://github.com/AutoHotkey/AutoHotkey/releases
by gregster
24 Apr 2024, 20:44
Forum: Ask for Help (v1)
Topic: Recording Macros for AHK
Replies: 12
Views: 5146

Re: Recording Macros for AHK

(The topic was created in 2020, btw, and had some time to collect views. Yet no one posted here for years.) Just realized this. So you can take about 50% of of the spiciness away from my previous statements regarding this post. No worries. As a chili sauce aficionado, I can handle spicy . ;)
by gregster
24 Apr 2024, 20:14
Forum: Forum Issues
Topic: Slow forum
Replies: 111
Views: 10767

Re: Slow forum

joedf wrote:
24 Apr 2024, 20:03
I've turned on Under Attack Mode for now.
Thank you. Looks like an immediate improvement.

Go to advanced search