code with error in documentation Topic is solved

Share your ideas as to how the documentation can be improved.
mfedorov
Posts: 5
Joined: 10 Jul 2023, 00:32

code with error in documentation

Post by mfedorov » 10 Jul 2023, 06:19

https://www.autohotkey.com/docs/v2/scripts/index.htm - "Easy Access to Favorite Folders"
Error: Target control not found.

Specifically: Edit1

126: {
127: ControlClick("ToolbarWindow323", g_window_id,,,, "NA x1 y1")
▶ 128: ControlFocus("Edit1", g_window_id)
129: ControlSetText(path, "Edit1", g_window_id)
133: ControlSend("{Right}{Enter}", "Edit1", g_window_id)

Call stack:
.....\TEST.ahk (128) : [ControlFocus] ControlFocus("Edit1", g_window_id)
.....\TEST.ahk (128) : [OpenFavorite] ControlFocus("Edit1", g_window_id)
> Menu
.....\TEST.ahk (166) : [Menu.Prototype.Show] g_Menu.Show()
.....\TEST.ahk (166) : [DisplayMenu] g_Menu.Show()
> ~MButton
User avatar
Ragnar
Posts: 630
Joined: 30 Sep 2013, 15:25

Re: code with error in documentation  Topic is solved

Post by Ragnar » 11 Jul 2023, 08:05

Thanks for reporting. Should be fixed.
Post Reply

Return to “Suggestions on Documentation Improvements”