Search found 96 matches
- 20 Apr 2024, 04:11
- Forum: Scripts and Functions (v2)
- Topic: UIA v2
- Replies: 364
- Views: 52376
Re: UIA v2
Descolada Thank you very much. To add to the second question, there is a button on the web page,when clicked the button ,a confirmation box will pop up. When opening the web page with IE browser, I can use ' wb.document.parentWindow.execScript("function confirm(){return true}") ' to automatically c...
- 19 Apr 2024, 05:05
- Forum: Scripts and Functions (v2)
- Topic: UIA v2
- Replies: 364
- Views: 52376
Re: UIA v2
Descolada The script is working fine, thank you very much for your help, and two more questions for you, 1.How to find hidden element <INPUT type=hidden name=isWriteOff value=N> with UIA2? 2.How to convert the script "document.parentWindow.execScript("function confirm(){return true}")" to run with ...
- 16 Apr 2024, 23:59
- Forum: Ask for Help (v2)
- Topic: how to capture documentComplete event in Vivaldi browser
- Replies: 0
- Views: 73
how to capture documentComplete event in Vivaldi browser
The following script can handle documentComplete event in Internet Explorer , in Vivaldi browser how to capture documentComplete event, thank you very much! #Requires AutoHotKey v2.0+ #SingleInstance force Persistent SetTitleMatchMode 2 ptwb := WBGet("AutoHotkey Community") if IsObject(ptwb) { ComOb...
- 16 Apr 2024, 02:23
- Forum: Scripts and Functions (v2)
- Topic: UIA v2
- Replies: 364
- Views: 52376
Re: UIA v2
@Descolada When chrome/vivaldi opens an url, how does uia2 get the url Document Loading Completed event and call the event handler function? Thank you very much
- 13 Apr 2024, 18:47
- Forum: Scripts and Functions (v2)
- Topic: UIA v2
- Replies: 364
- Views: 52376
Re: UIA v2
I run UIA_Browser_Example03_Login.ahk of UIA2 on my computer(Win7 x64 , vivaldi),the following error appears. What might be the reason for this and how can it be resolved? Thank you very much
- 27 Mar 2024, 06:46
- Forum: Ask for Help (v2)
- Topic: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
- Replies: 12
- Views: 406
Re: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
After replacing the F3 hotkey of G1.show with space & s, I can't use the space bar to select the listview list item, please help me to solve it, thanks! #Requires AutoHotkey v2.0 Items := ["aaa", "bbb", "ccc", "ddd", "eee"] G1 := Gui( , "Test") G1LV1 := g1.AddListView("-Hdr", ["11", "22222222222"]) ...
- 26 Mar 2024, 20:25
- Forum: Ask for Help (v2)
- Topic: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
- Replies: 12
- Views: 406
Re: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
Thanks for all the help! I modified the script above and tried to select the listview item by pressing the spacebar, it failed, I don't know how to do it in LV_ItemFocus. #Requires AutoHotkey v2.0 txt := ['aaa', 'bbb', 'ccc', 'ddd', 'eee'] g := Gui(, 'Test') g.SetFont 's10' LV := g.AddListView('-Hdr...
- 24 Mar 2024, 23:07
- Forum: Ask for Help (v1)
- Topic: how to automatically close the gui window and exit app when it loses focus Topic is solved
- Replies: 3
- Views: 119
Re: how to automatically close the gui window and exit app when it loses focus Topic is solved
Thank you very much! The above script is incomplete. when using Exitapp,msgBox can not work. #Requires AutoHotkey v1.1.33 #SingleInstance force item := ["AAA","BBB","CCC","DDD","EEE"] ; Menu items Gui, -SysMenu AlwaysOnTop Gui Add, ListView,vLV -Hdr, 11|22222222222 Gui Add, Button, xm ym Hidden Defa...
- 24 Mar 2024, 22:04
- Forum: Ask for Help (v1)
- Topic: how to automatically close the gui window and exit app when it loses focus Topic is solved
- Replies: 3
- Views: 119
how to automatically close the gui window and exit app when it loses focus Topic is solved
how to automatically close the gui window and exitapp when it loses focus? thanks The following ahk script only hides the gui window,but the process is still running in the background. #Requires AutoHotkey v1.1.33 #SingleInstance force item := ["AAA","BBB","CCC","DDD","EEE"] ; Menu items Gui, -SysMe...
- 20 Mar 2024, 21:32
- Forum: Ask for Help (v2)
- Topic: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
- Replies: 12
- Views: 406
Re: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
in v1 I could press the digital keystrokes(1-9) to select the the corresponding item in the gLabel of the Listview.But i am having trouble translating this to the Listview of V2.how to detect digital keystrokes in a Listview control of v2?thanks #Requires AutoHotkey v1.1.33 #SingleInstance force ite...
- 20 Mar 2024, 07:39
- Forum: Ask for Help (v2)
- Topic: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
- Replies: 12
- Views: 406
- 19 Mar 2024, 07:40
- Forum: Ask for Help (v2)
- Topic: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
- Replies: 12
- Views: 406
Re: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
thank for your help,the code very nice! The following script to press F3 twice to re-show gui window,don't know what went wrong? #Requires AutoHotkey v2.0 g := Gui() g.AddText 'w230', 'Test' showgui() return F3::showgui() showgui() { g.show OnMessage(0x86,ListviewGuiLostFocus) return } ListviewGuiLo...
- 18 Mar 2024, 22:35
- Forum: Ask for Help (v2)
- Topic: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
- Replies: 12
- Views: 406
how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
how to auto-hide a gui when the gui window is inactive? thanks #Requires Autohotkey v2.0 #SingleInstance force item := ["aaa","bbb","ccc"] ; Menu items myGui := Gui() myGui.OnEvent("Escape", GuiEscape) myGui.OnEvent("Close", GuiEscape) myGui.SetFont("s12") ogcListViewLV := myGui.Add("ListView", "vLV...
- 19 Oct 2023, 18:08
- Forum: Ask for Help (v2)
- Topic: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
- Replies: 10
- Views: 971
Re: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
Thank you very much for your help, your code is modified slightly and works perfectly. LCtrl & v:: KeyWait, v KeyWait, v, d T.25 ; wait 250ms total if ErrorLevel ; if timed out Send ^v ; send keystrokes for paste else ; if v is double tapped Send a ; do this, change me return
- 19 Oct 2023, 00:10
- Forum: Ask for Help (v2)
- Topic: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
- Replies: 10
- Views: 971
Re: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
I'm rusty at v1, haven't had it installed in about a year or so. But I believe this will work: LCtrl & v:: if !(KeyWait, v, T0.125) or !(KeyWait, v, d T0.125) ; wait 250ms total, if v is not pressed again Send ^v ; send keystrokes for paste else ; if v is double tapped Send a ; do this, change me r...
- 18 Oct 2023, 21:25
- Forum: Ask for Help (v2)
- Topic: How to use ahk v2 to paste content as plain text? thanks
- Replies: 3
- Views: 605
How to use ahk v2 to paste content as plain text? thanks
How to use AutoHotkey v2 to implement that pastes the clipboard content as plain text when I press Ctrl +v ? Thanks
- 18 Oct 2023, 20:38
- Forum: Ask for Help (v2)
- Topic: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
- Replies: 10
- Views: 971
Re: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
Thank you very much for providing the script, it's very fine. How to convert this script to version v1?"
- 18 Oct 2023, 09:11
- Forum: Ask for Help (v2)
- Topic: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
- Replies: 10
- Views: 971
Re: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
When I press the Ctrl+V+V hotkey, the paste function is executed twice. How can I implement it so that the paste function is not executed when the hotkey is pressed continuously, and only when Ctrl+V is not continuously pressed,the paste function is executed,thanks
- 15 Oct 2023, 21:31
- Forum: Ask for Help (v2)
- Topic: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
- Replies: 10
- Views: 971
Re: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
Thank you for your help. After running the script above, there is a delay when entering the hotkey characters of the script in the editor. Is there any way to solve this minor problem?
- 15 Oct 2023, 03:06
- Forum: Ask for Help (v2)
- Topic: how to set ctrl+c+c as a hotkey? Thank you Topic is solved
- Replies: 10
- Views: 971
how to set ctrl+c+c as a hotkey? Thank you Topic is solved
how to set ctrl+c+c as a hotkey? Thank you