Search found 5 matches

by mfedorov
10 Jul 2023, 12:49
Forum: Scripts and Functions (v2)
Topic: CreateImageButton() - 2024-01-01
Replies: 50
Views: 14297

Re: CreateImageButton() - 2023-07-10

The sample script already shows an example for Btn5 . I've updated it today. It's now compatible with the current version of CreateImageButton() . The image files must be in A_ScriptDir respectively A_WorkingDir if no path is specified. Alternatively you can pass a handle to a bitmap (HBITMAP) inst...
by mfedorov
10 Jul 2023, 06:19
Forum: Suggestions on Documentation Improvements
Topic: code with error in documentation Topic is solved
Replies: 1
Views: 1089

code with error in documentation Topic is solved

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...
by mfedorov
10 Jul 2023, 04:34
Forum: Tutorials (v2)
Topic: [v2] Custom for-loops: Enumerators, Iterators, Generators
Replies: 30
Views: 14893

Re: [v2] Custom for-loops: Enumerators, Iterators, Generators

Descolada wrote:
06 Mar 2023, 17:40
@FanaticGuru

Code: Select all

Range(Start, Stop, Step:=1) => (&n) => (n := Start, Start += Step, Step > 0 ? n <= Stop : n >= Stop)

For n in range(12, 2, -3)
    MsgBox n
Wow - Amazing!
by mfedorov
10 Jul 2023, 01:06
Forum: Scripts and Functions (v2)
Topic: CreateImageButton() - 2024-01-01
Replies: 50
Views: 14297

Re: CreateImageButton() - 2023-02-03

Could you please show an example how to set an image on a button?
by mfedorov
10 Jul 2023, 00:43
Forum: Scripts and Functions (v2)
Topic: CreateImageButton() - 2024-01-01
Replies: 50
Views: 14297

Re: CreateImageButton() - 2023-02-03

mfedorov wrote:
10 Jul 2023, 00:35
amm, run example - saw 2 empty msgbox with text Button1 and button 2 and some error: Throw. How to run? Ty.
Ok i get it work like this: CreateImageButton(Btn11, 0, IBStyles["info"]*)

Go to advanced search