Search found 625 matches
- 20 May 2024, 01:34
- Forum: Suggestions on Documentation Improvements
- Topic: menu setIcon The obtained icon is incorrect
- Replies: 5
- Views: 592
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.
- 19 May 2024, 14:40
- Forum: Ask for Help (v2)
- Topic: OnExit reason is always "0" (v2.0.15)
- Replies: 9
- Views: 783
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
- 19 May 2024, 09:10
- Forum: Ask for Help (v2)
- Topic: OnExit reason is always "0" (v2.0.15)
- Replies: 9
- Views: 783
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.
- 19 May 2024, 05:43
- Forum: Ask for Help (v2)
- Topic: OnExit reason is always "0" (v2.0.15)
- Replies: 9
- Views: 783
Re: OnExist reason is always "0" (v2.0.15)
When I run this script, I get the following output:
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.
Code: Select all
1=Exit
2=0
- 16 May 2024, 01:54
- Forum: Ich brauche Hilfe
- Topic: Deutsche Hilfe für AHK v2 und v1
- Replies: 330
- Views: 176931
- 07 May 2024, 05:28
- Forum: Bug Reports
- Topic: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved
- Replies: 3
- Views: 461
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
- 06 May 2024, 10:30
- Forum: Ich brauche Hilfe
- Topic: Deutsche Hilfe für AHK v2 und v1
- Replies: 330
- Views: 176931
- 06 May 2024, 03:13
- Forum: Bug Reports
- Topic: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved
- Replies: 3
- Views: 461
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...
- 05 May 2024, 04:39
- Forum: Bug Reports
- Topic: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved
- Replies: 3
- Views: 461
[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...
- 04 May 2024, 14:36
- Forum: Suggestions on Documentation Improvements
- Topic: OnMessage example doesn't support negative x, y coordinates
- Replies: 2
- Views: 655
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...
- 04 May 2024, 08:18
- Forum: Suggestions on Documentation Improvements
- Topic: Example script "Seek.ahk" inside help-file seems incorrect Topic is solved
- Replies: 1
- Views: 347
Re: Example script "Seek.ahk" inside help-file seems incorrect Topic is solved
Thanks for reporting. I've fixed this.
- 03 May 2024, 01:36
- Forum: Suggestions on Documentation Improvements
- Topic: Document for comma is wrong. Topic is solved
- Replies: 3
- Views: 833
Re: Document for comma is wrong. Topic is solved
Thanks for the clarification, @lexikos. I've removed it.
- 29 Apr 2024, 04:18
- Forum: Forum Issues
- Topic: AHK Docs link Topic is solved
- Replies: 1
- Views: 402
- 21 Apr 2024, 06:14
- Forum: Ich brauche Hilfe
- Topic: Deutsche Hilfe für AHK v2 und v1
- Replies: 330
- Views: 176931
- 10 Apr 2024, 04:43
- Forum: Ich brauche Hilfe
- Topic: Deutsche Hilfe für AHK v2 und v1
- Replies: 330
- Views: 176931
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.
- 01 Apr 2024, 03:59
- Forum: Suggestions on Documentation Improvements
- Topic: ahk_class is case-sensitive Topic is solved
- Replies: 3
- Views: 462
Re: ahk_class is case-sensitive Topic is solved
Thanks for the suggestion. I've changed this.
- 27 Mar 2024, 17:22
- Forum: Ich brauche Hilfe
- Topic: Deutsche Hilfe für AHK v2 und v1
- Replies: 330
- Views: 176931
- 27 Mar 2024, 15:13
- Forum: Ich brauche Hilfe
- Topic: Deutsche Hilfe für AHK v2 und v1
- Replies: 330
- Views: 176931
- 23 Mar 2024, 13:27
- Forum: Looking for Volunteers in other languages
- Topic: [Paused] Looking for Volunteers
- Replies: 62
- Views: 31471
Re: [Paused] Looking for Volunteers
Thanks for your work, @penguinthedawn. I've updated the Japanese docs.
- 16 Mar 2024, 04:12
- Forum: Ask for Help (v1)
- Topic: AHK Help in Dark Mode Topic is solved
- Replies: 10
- Views: 373
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: