Search found 605 matches

by songdg
Today, 01:49
Forum: Ask for Help (v2)
Topic: A problem of using calling V1's libs in V2
Replies: 8
Views: 349

Re: A problem of using calling V1's libs in V2

Thanks, you are right, I should stick to the original one.
by songdg
Yesterday, 10:22
Forum: Ask for Help (v2)
Topic: A problem of using calling V1's libs in V2
Replies: 8
Views: 349

Re: A problem of using calling V1's libs in V2

boiler wrote:
Yesterday, 05:01
Do you have a copy of the AutoHotkey.dll file in your script directory?
Yes, I use viv's original code without any problem.
by songdg
Yesterday, 04:04
Forum: Ask for Help (v2)
Topic: A problem of using calling V1's libs in V2
Replies: 8
Views: 349

Re: A problem of using calling V1's libs in V2

boiler wrote:
Yesterday, 03:06
What is the reason for removing this.?
I see this reply by HotKeyIt.
by songdg
Yesterday, 02:42
Forum: Ask for Help (v2)
Topic: A problem of using calling V1's libs in V2
Replies: 8
Views: 349

Re: A problem of using calling V1's libs in V2

Thanks, there's another problem, Error: Failed to load DLL. , and I have already replace DllCall(dll_path . "\ahktextdll", "Str", "#Persistent `n#NoTrayIcon `n#include " . this.lib_path, "Str", "", "Str", "") with DllCall(dll_path "\ahktextdll", "Str", "#Persistent `n#NoTrayIcon `n#include " . lib_p...
by songdg
15 May 2024, 22:39
Forum: Ask for Help (v2)
Topic: A problem of using calling V1's libs in V2
Replies: 8
Views: 349

A problem of using calling V1's libs in V2

A problem of using calling V1's libs in V2 https://www.autohotkey.com/boards/viewtopic.php?f=83&t=95656 , use viv's code without any problem, but I try Delta Pythagorean's modified code encounter this problem D:\script\Run_V1\call_OSDTIP.ahk (60) : ==> A "?" is missing its ":" #Requires AutoHotkey v...
by songdg
15 May 2024, 03:55
Forum: Ask for Help (v2)
Topic: Can the text color of a radio button be changed? Topic is solved
Replies: 8
Views: 376

Re: Can the text color of a radio button be changed? Topic is solved

This works and seems to demonstrate an AutoHotkey bug whereby the font must first be set to a non-default color. #Requires AutoHotkey v2.0 buttons := ['abc', 'def', 'ghi'] g := Gui(, 'Buttons') rad := [] defaultColor := 'Black' fontSize := 10 g.SetFont 's' fontSize ' c' defaultColor For radio in bu...
by songdg
15 May 2024, 03:54
Forum: Ask for Help (v2)
Topic: Can the text color of a radio button be changed? Topic is solved
Replies: 8
Views: 376

Re: Can the text color of a radio button be changed? Topic is solved

The SetFont method does not appear to work to change radio buttons text color. I'm not sure. One workaround is to associate text controls to the radio buttons. #Requires AutoHotkey v2.0 #SingleInstance g := Gui() g.OnEvent('Close', (*) => ExitApp()) g.Add('Radio', 'w15 h15').OnEvent('Click', SetRad...
by songdg
15 May 2024, 03:49
Forum: Ask for Help (v2)
Topic: Can the text color of a radio button be changed? Topic is solved
Replies: 8
Views: 376

Re: Can the text color of a radio button be changed? Topic is solved

 I thought I could easily write it because I've done similar tasks in v1, but surprisingly, there were some grammar changes from v2, so it took me a bit of time. This is more of a conceptual demonstration to show what you desire is possible. In reality, it needs a bit more refinement. #Requires Aut...
by songdg
13 May 2024, 22:39
Forum: Ask for Help (v2)
Topic: Can the text color of a radio button be changed? Topic is solved
Replies: 8
Views: 376

Re: Can the text color of a radio button be changed? Topic is solved

mikeyww wrote:
13 May 2024, 22:26

Code: Select all

#Requires AutoHotkey v2.0
g := Gui()
g.SetFont 'cRed'
g.AddRadio , 'abc'
g.SetFont 'cBlue'
g.AddRadio , 'def'
g.Show
Thanks, I mean initially all the text color are the same, when I checked a radio button the text color will change.
by songdg
13 May 2024, 22:10
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 375
Views: 55046

Re: UIA v2

Hey pal, there is a built-in command to take full-screen screenshots(Capture full size screenshot) in Google Chrome, would you wrap this into a function?
by songdg
13 May 2024, 21:14
Forum: Ask for Help (v2)
Topic: Can the text color of a radio button be changed? Topic is solved
Replies: 8
Views: 376

Can the text color of a radio button be changed? Topic is solved

I want to set the chosen radio button apart further in a radio group by changing its text color, is it even possible?
by songdg
12 May 2024, 21:26
Forum: Scripts and Functions (v2)
Topic: Color Pallet gui - V2.0-beta.3
Replies: 8
Views: 2104

Re: Color Pallet gui - V2.0-beta.3

Hello, can you providing an example of how to use library, say change the text color of GUI.
by songdg
12 May 2024, 11:43
Forum: Ask for Help (v2)
Topic: A problem of uncheck all checkboxes of a listview Topic is solved
Replies: 4
Views: 297

Re: A problem of uncheck all checkboxes of a listview Topic is solved

As stated by @vmech, the LV parameter represents the text Gui Control object, not the ListView Gui Control object. I highly recommend using VSCode alongside the Debugger extension. By hovering over variables, you can examine both their type and content. You will save a ton of time. https://i.imgur....
by songdg
12 May 2024, 11:41
Forum: Ask for Help (v2)
Topic: A problem of uncheck all checkboxes of a listview Topic is solved
Replies: 4
Views: 297

Re: A problem of uncheck all checkboxes of a listview Topic is solved

@songdg Because Uncheck_All callback take Text Gui Control object in named LV parameter. Not ListView Gui Control object. Try: Uncheck_All(*) { global LV LV.Modify(0, "-Check") ; Uncheck all the checkboxes. } You can also try to make the code more structured: 1. Declare controls with options 2. Dec...
by songdg
11 May 2024, 21:54
Forum: Scripts and Functions (v2)
Topic: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1
Replies: 8
Views: 2860

Re: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1

TheArkive wrote:
11 May 2024, 03:35
_JXON.ahk has been added to the AHK2 folder on the repo.

And the JXON repo can be found here:

JSON Serializer - 2022/09/07 - beta.8
Thanks, if I want to skip the StartGui() and go straight to the MsgBox2 with two parameters one for the title another for the message, how to do that :?:
by songdg
11 May 2024, 02:52
Forum: Ask for Help (v2)
Topic: A problem of uncheck all checkboxes of a listview Topic is solved
Replies: 4
Views: 297

A problem of uncheck all checkboxes of a listview Topic is solved

I want to uncheck all checkboxes of a listview by doubleclick on the text Uncheck_All , but get this error Error: This value of type "Gui.Text" has no method named "Modify". 011: g.OnEvent("Close", (*) => ExitApp()) 014: { ▶ 015: LV.Modify(0, "-Check") 016: } 020: { #Requires AutoHotkey v2.0 g := Gu...
by songdg
11 May 2024, 01:27
Forum: Scripts and Functions (v2)
Topic: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1
Replies: 8
Views: 2860

Re: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1

MsgBox2_AHK-master\AHK2\TheArkive_MsgBox2_Example.ahk (8) : ==> #Include file "_JXON.ahk" cannot be opened.
Thanks, that's what I'm looking for, but I have a problem of running the example. Where I can find _JXON.ahk?
by songdg
10 May 2024, 22:48
Forum: Scripts and Functions (v2)
Topic: [Class] ScrollBar - A class to simplify the use and management of scrollbars in a Gui object
Replies: 1
Views: 491

Re: [Class] ScrollBar - A class to simplify the use and management of scrollbars in a Gui object

Thanks for sharing, there's a problem, if a listview with scrollbar that WheelUp/WheelDown doesn't work on it.
by songdg
09 May 2024, 21:58
Forum: Ask for Help (v2)
Topic: How to tell a single click from a rapid double click Topic is solved
Replies: 5
Views: 389

Re: How to tell a single click from a rapid double click Topic is solved

I do not understand the question or the problem. You will determine in you script whether the Listiview has checkboxes or not. If it does have checkboxes you can use the modified Class so that a rightclick edits the cell and a doubleclick checks the box. If it does not have checkboxes you can use t...
by songdg
08 May 2024, 03:39
Forum: Ask for Help (v2)
Topic: How to tell a single click from a rapid double click Topic is solved
Replies: 5
Views: 389

Re: How to tell a single click from a rapid double click Topic is solved

flyingDman Thanks for providing a neat solution :thumbup: . There's another problem, can I make the Class LVICE_XXS behave differently, if the ListView have checkboxes at the left side then use doubleclick for check / uncheck and right click for edit, otherwise use doubleclick for edit(cancel the r...

Go to advanced search