Search found 625 matches

by Ragnar
Yesterday, 01:34
Forum: Bug Reports
Topic: menu setIcon The obtained icon is incorrect
Replies: 4
Views: 282

Re: menu setIcon The obtained icon is incorrect

AutoHotkey uses 1-based icon numbers. There's no icon 0. Add 1 to each icon number and you have the icons you want.
by Ragnar
19 May 2024, 14:40
Forum: Bug Reports
Topic: OnExist reason is always "0" (v2.0.15)
Replies: 7
Views: 470

Re: OnExist reason is always "0" (v2.0.15)

Thanks, but it's not a bug. The exit reason is stored in the hidden first parameter named this. See https://www.autohotkey.com/docs/v2/Objects.htm#Custom_Classes_method
by Ragnar
19 May 2024, 09:10
Forum: Bug Reports
Topic: OnExist reason is always "0" (v2.0.15)
Replies: 7
Views: 470

Re: OnExist reason is always "0" (v2.0.15)

Then show us your script. If it is too large or contains sensitive data, reduce it to a minimum where this supposed bug still occurs.
by Ragnar
19 May 2024, 05:43
Forum: Bug Reports
Topic: OnExist reason is always "0" (v2.0.15)
Replies: 7
Views: 470

Re: OnExist reason is always "0" (v2.0.15)

When I run this script, I get the following output:

Code: Select all

1=Exit
2=0
As expected, the exit reason is "Exit" and the exit code is 0. The exit code is always 0 unless specified otherwise via Exit or ExitApp.
by Ragnar
16 May 2024, 01:54
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK v2 und v1
Replies: 330
Views: 176047

Re: Deutsche Hilfe für AHK v2 und v1

v2-Dokumentation an v2.0.15 angepasst.

Mehr Details auf GitHub
by Ragnar
07 May 2024, 05:28
Forum: Bug Reports
Topic: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved
Replies: 3
Views: 391

Re: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved

Commit "Improved reliability of taking focus when a menu popup is shown." has completely fixed the issues (at least for me). WinActivate(A_ScriptHwnd) is no longer necessary. Thanks again, @lexikos :thumbup:
by Ragnar
06 May 2024, 10:30
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK v2 und v1
Replies: 330
Views: 176047

Re: Deutsche Hilfe für AHK v2 und v1

v2-Dokumentation an v2.0.14 angepasst.

Mehr Details auf GitHub
by Ragnar
06 May 2024, 03:13
Forum: Bug Reports
Topic: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved
Replies: 3
Views: 391

Re: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved

If you are going to use #Requires in a bug report, it would be prudent to correctly specify the applicable version (perhaps even =2.1-alpha.9 ; but at least 2.1- ). I had actually already changed this in my local script, but just forgot to paste it here in the forum. I've changed it. Another workar...
by Ragnar
05 May 2024, 04:39
Forum: Bug Reports
Topic: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved
Replies: 3
Views: 391

[v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved

Example code: #Requires AutoHotkey v2.1-alpha M := Menu() M.Add("test", test) test(*) { return } AppsKey::M.Show(,, false) ; AppsKey::M.Show() Reproduction steps: Run example code Press AppsKey Click somewhere outside the menu Press AppsKey again On Windows 11, the menu is now behind all other windo...
by Ragnar
04 May 2024, 14:36
Forum: Suggestions on Documentation Improvements
Topic: OnMessage example doesn't support negative x, y coordinates
Replies: 2
Views: 614

Re: OnMessage example doesn't support negative x, y coordinates

OnMessage example doesn't support negative x, y coordinates Yes, because the example was added in 2005, when only one monitor was usually used and therefore negative coordinates were irrelevant. If you want this example to take this into account, you need to make a specific suggestion for improveme...
by Ragnar
03 May 2024, 01:36
Forum: Suggestions on Documentation Improvements
Topic: Document for comma is wrong. Topic is solved
Replies: 3
Views: 789

Re: Document for comma is wrong. Topic is solved

Thanks for the clarification, @lexikos. I've removed it.
by Ragnar
29 Apr 2024, 04:18
Forum: Forum Issues
Topic: AHK Docs link Topic is solved
Replies: 1
Views: 362

Re: AHK Docs link Topic is solved

fixed
by Ragnar
21 Apr 2024, 06:14
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK v2 und v1
Replies: 330
Views: 176047

Re: Deutsche Hilfe für AHK v2 und v1

v2-Dokumentation an v2.0.13 angepasst.

Mehr Details auf GitHub
by Ragnar
10 Apr 2024, 04:43
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK v2 und v1
Replies: 330
Views: 176047

Re: Deutsche Hilfe für AHK v2 und v1

Ich habe es gefixt. Es muss this.Length sein, weil damit die Länge des Arrays vorab gesetzt wird.
by Ragnar
01 Apr 2024, 03:59
Forum: Suggestions on Documentation Improvements
Topic: ahk_class is case-sensitive Topic is solved
Replies: 3
Views: 422

Re: ahk_class is case-sensitive Topic is solved

Thanks for the suggestion. I've changed this.
by Ragnar
27 Mar 2024, 17:22
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK v2 und v1
Replies: 330
Views: 176047

Re: Deutsche Hilfe für AHK v2 und v1

v2-Dokumentation an v2.0.12 angepasst.

Mehr Details auf GitHub
by Ragnar
27 Mar 2024, 15:13
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK v2 und v1
Replies: 330
Views: 176047

Re: Deutsche Hilfe für AHK v2 und v1

v1-Dokumentation an v1.1.37.02 angepasst.

Mehr Details auf GitHub
by Ragnar
23 Mar 2024, 13:27
Forum: Looking for Volunteers in other languages
Topic: [Paused] Looking for Volunteers
Replies: 62
Views: 30885

Re: [Paused] Looking for Volunteers

Thanks for your work, @penguinthedawn. I've updated the Japanese docs.
by Ragnar
16 Mar 2024, 04:12
Forum: Ask for Help (v1)
Topic: AHK Help in Dark Mode Topic is solved
Replies: 10
Views: 357

Re: AHK Help in Dark Mode Topic is solved

By default, chm_config.js does not exist. It is only created by the Help Settings, which requires admin rights. If you do not have admin rights, you must create the file manually. The green info box in the Help Settings shows where the file must be located and what it must contain:
image.png
image.png (13.55 KiB) Viewed 241 times

Go to advanced search