Search found 593 matches

by songdg
7 minutes ago
Forum: Ask for Help (v2)
Topic: A problem of uncheck all checkboxes of a listview Topic is solved
Replies: 4
Views: 120

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
9 minutes ago
Forum: Ask for Help (v2)
Topic: A problem of uncheck all checkboxes of a listview Topic is solved
Replies: 4
Views: 120

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
Yesterday, 21:54
Forum: Scripts and Functions (v2)
Topic: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1
Replies: 8
Views: 2709

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

TheArkive wrote:
Yesterday, 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
Yesterday, 02:52
Forum: Ask for Help (v2)
Topic: A problem of uncheck all checkboxes of a listview Topic is solved
Replies: 4
Views: 120

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
Yesterday, 01:27
Forum: Scripts and Functions (v2)
Topic: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1
Replies: 8
Views: 2709

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: 426

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: 346

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: 346

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...
by songdg
06 May 2024, 22:19
Forum: Scripts and Functions (v2)
Topic: Notify - Display Notifications GUIs
Replies: 5
Views: 698

Re: Notify - Display Notifications GUIs

Wonderful, thanks for sharing :clap:
by songdg
06 May 2024, 21:55
Forum: Ask for Help (v2)
Topic: How to tell a single click from a rapid double click Topic is solved
Replies: 5
Views: 346

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

How to tell a single click from a rapid double click, I want to checked/unchecked a row of a ListView with checkbox by clicking on the text of that row so I use the ToggleCheck function, also I use LVICE_XXS https://www.autohotkey.com/boards/viewtopic.php?f=83&t=94046 when double click triggers in-c...
by songdg
03 May 2024, 01:44
Forum: Ask for Help (v2)
Topic: ActiveX(HTML), how to underline a paragraph, change a sentence's background color and some words' font color Topic is solved
Replies: 4
Views: 484

Re: ActiveX(HTML), how to underline a paragraph, change a sentence's background color and some words' font color Topic is solved

Try this fix: #Requires AutoHotkey v2 DecoratedTextGui() DecoratedTextGui() { FixIE() wnd := Gui() document := wnd.AddActiveX('w220 h130', 'HTMLFILE').Value document.Write(' ( <!DOCTYPE html> <html> <head> <style> * { margin: 0; padding: 0; overflow: hidden; } .sometext { position: absolute; width:...
by songdg
01 May 2024, 18:39
Forum: Ask for Help (v2)
Topic: ActiveX(HTML), how to underline a paragraph, change a sentence's background color and some words' font color Topic is solved
Replies: 4
Views: 484

Re: ActiveX(HTML), how to underline a paragraph, change a sentence's background color and some words' font color Topic is solved

teadrinker Very happy to get your answer, I run your code but encounter a problem. Error: This value of type "HTMLDocument" has no method named "getElementsByClassName". 007: document := wnd.AddActiveX('w220 h130', 'HTMLFILE').Value 008: document.Write('<!DOCTYPE html> <html> <head> <style> * { mar...
by songdg
01 May 2024, 11:55
Forum: Ask for Help (v2)
Topic: ActiveX(HTML), how to underline a paragraph, change a sentence's background color and some words' font color Topic is solved
Replies: 4
Views: 484

ActiveX(HTML), how to underline a paragraph, change a sentence's background color and some words' font color Topic is solved

I want to use teadrinker's HoverScrollbarGui()viewtopic.php?f=82&t=129423 to display some text with some features like underline, background color and font color for highlight purpose, how to do that?
by songdg
01 May 2024, 02:22
Forum: Scripts and Functions (v2)
Topic: LVICE_XXS - LV in-cell editing minimal version
Replies: 14
Views: 2570

Re: LVICE_XXS - LV in-cell editing minimal version

"in-cell editing" that's really amazing. :thumbup:
by songdg
01 May 2024, 02:22
Forum: Ask for Help (v2)
Topic: How to provide a gui interface for modify a row's text in a ListView Topic is solved
Replies: 6
Views: 475

Re: How to provide a gui interface for modify a row's text in a ListView Topic is solved

XMCQCX wrote:
30 Apr 2024, 15:31
There is also this script by just me.
LVICE_XXS - LV in-cell editing minimal version
viewtopic.php?f=83&t=94046
Thanks for sharing the code, "in-cell editing" that's really amazing. :bravo:
by songdg
01 May 2024, 02:19
Forum: Ask for Help (v2)
Topic: How to provide a gui interface for modify a row's text in a ListView Topic is solved
Replies: 6
Views: 475

Re: How to provide a gui interface for modify a row's text in a ListView Topic is solved

An example. Modifications can be made via double-clicking or the right-click context menu. #Requires AutoHotkey v2.0 #SingleInstance gMain := Gui(, 'gMainTitle') gMain.OnEvent('Close', (*) => ExitApp()) gMain.lv := gMain.Add('ListView', 'Grid Sort', ['Col1', 'Col2']) gMain.lv.OnEvent('ContextMenu',...
by songdg
01 May 2024, 02:18
Forum: Ask for Help (v2)
Topic: How to provide a gui interface for modify a row's text in a ListView Topic is solved
Replies: 6
Views: 475

Re: How to provide a gui interface for modify a row's text in a ListView Topic is solved

You could have the event for a double-click go to a function that opens a separate small GUI on top of the main one that is nothing but an Edit control and maybe OK and Cancel buttons. Its initial contents are whatever the ListView cell contained. Then when the user hits Enter or clicks an OK butto...
by songdg
30 Apr 2024, 05:09
Forum: Ask for Help (v2)
Topic: How to provide a gui interface for modify a row's text in a ListView Topic is solved
Replies: 6
Views: 475

How to provide a gui interface for modify a row's text in a ListView Topic is solved

How to provide a gui interface for modify a row's text in a ListView, or even it is possible if doubleclick the row will become editable :?:
by songdg
26 Apr 2024, 09:55
Forum: Ask for Help (v2)
Topic: MS Word, how to reset display settings to its original scale Topic is solved
Replies: 3
Views: 293

Re: MS Word, how to reset display settings to its original scale Topic is solved

Change zoom level in Microsoft Word ; This script changes zoom level in Microsoft Word #Requires AutoHotkey v2.0 #HotIf WinActive('ahk_exe WINWORD.exe') ^0:: ; CTRL-0 = Change zoom to 100% ^9:: { ; CTRL-9 = Change zoom to 110% Static wordZoom := Map( '0', 100 , '9', 110 ) oWord := ComObjActive('Wor...

Go to advanced search