Search found 171 matches

by Loop
01 May 2024, 11:24
Forum: Ask for Help (v2)
Topic: Updating the JsonToAHK function to AHK v2 Topic is solved
Replies: 2
Views: 453

Re: Updating the JsonToAHK function to AHK v2 Topic is solved

Thank you very much! Brilliant, it works perfectly.
by Loop
30 Apr 2024, 13:46
Forum: Ask for Help (v2)
Topic: Updating the JsonToAHK function to AHK v2 Topic is solved
Replies: 2
Views: 453

Updating the JsonToAHK function to AHK v2 Topic is solved

Hello everyone and teadrinker , Could someone update the teadrinker's function to AHK v2? I tried, but I failed. Thank you in advance. ;Here is my poor attempt: #Requires Autohotkey v2.0 #SingleInstance Force JsonExam := ' ( {"menu": { "id": "file", "value": "File", "popup": { "menuitem": [ {"value"...
by Loop
18 Apr 2024, 05:43
Forum: Ask for Help (v2)
Topic: Double-Clicking on Image Control Saves the Path to Clipboard Topic is solved
Replies: 6
Views: 292

Re: Double-Clicking on Image Control Saves the Path to Clipboard Topic is solved

Thank you very much. Have I implemented this correctly? it seems to work, but I am unsure OnLButtonDblClk(wParam, lParam, msg, hwnd) { Class := WinGetClass("ahk_id " hwnd) If (Class = "Static") { If SG.Name Return 0 SG.Opt("+LastFound") Id := DllCall("GetDlgCtrlID", "ptr", hwnd) static STN_DBLCLK :=...
by Loop
17 Apr 2024, 17:57
Forum: Ask for Help (v2)
Topic: Double-Clicking on Image Control Saves the Path to Clipboard Topic is solved
Replies: 6
Views: 292

Double-Clicking on Image Control Saves the Path to Clipboard Topic is solved

Hello everyone, I've noticed that double-clicking on the image saves the image path to the clipboard. Could someone please explain why this happens? #Requires Autohotkey v2.0 #SingleInstance Force bid := "2277" SG := Gui("+Resize", "Yr") SG.BackColor := "White" SG.Add("Picture", "w150 h150 xm", "ICO...
by Loop
10 Apr 2024, 16:51
Forum: Ask for Help (v2)
Topic: Issue with Simulating SplashImage Topic is solved
Replies: 2
Views: 118

Issue with Simulating SplashImage Topic is solved

Hello everyone, I'm trying to simulate a SplashImage functionality, and here's what I've come up with so far: #Requires Autohotkey v2.0 #SingleInstance Force SG := Gui() SG.Add("Picture", "w150 h150 xm", "ICO\Pic1.jpg").OnEvent("Click", OpenPic) SG.Add("Picture", "w150 h150 xm", "ICO\Pic2.jpg").OnEv...
by Loop
10 Apr 2024, 16:49
Forum: Ask for Help (v2)
Topic: Issue with Building an Array Using a Loop Topic is solved
Replies: 10
Views: 391

Re: Issue with Building an Array Using a Loop Topic is solved

Thank you, I meant that previously you didn't have to assign a length to an index-based array. Is ier.Length := 8 ;>>> new?
by Loop
10 Apr 2024, 09:04
Forum: Ask for Help (v2)
Topic: Issue with Building an Array Using a Loop Topic is solved
Replies: 10
Views: 391

Re: Issue with Building an Array Using a Loop Topic is solved

Thank you for your responses.
But is this new in AHK2?
by Loop
09 Apr 2024, 17:23
Forum: Ask for Help (v2)
Topic: Issue with Building an Array Using a Loop Topic is solved
Replies: 10
Views: 391

Issue with Building an Array Using a Loop Topic is solved

Hello everyone, I've been trying to build an array using a loop, but I keep encountering an error: "Invalid index." Here's how my loop looks like: #Requires Autohotkey v2.0 #SingleInstance Force Ier := [] Aer := ["a", "b", "c", "d", "e", "f","g","h"] Loop 8 { Ier[A_index] := [] Ier[A_Index].Push(Aer...
by Loop
27 Mar 2024, 11:30
Forum: Ask for Help (v2)
Topic: Is it possible to determine the current line under the mouse cursor? Topic is solved
Replies: 7
Views: 280

Re: Is it possible to determine the current line under the mouse cursor? Topic is solved

Thank you very much for your work. It now works very well without any errors. Thank you again!
by Loop
27 Mar 2024, 09:56
Forum: Ask for Help (v2)
Topic: Is it possible to determine the current line under the mouse cursor? Topic is solved
Replies: 7
Views: 280

Re: Is it possible to determine the current line under the mouse cursor? Topic is solved

That's a bit strange.
The error occurs sporadically. I've run the script 5 times now, and the error has occurred 2 times. Is this a bug or is my pc too slow?
by Loop
27 Mar 2024, 04:05
Forum: Ask for Help (v2)
Topic: Is it possible to determine the current line under the mouse cursor? Topic is solved
Replies: 7
Views: 280

Re: Is it possible to determine the current line under the mouse cursor? Topic is solved

Hello thank you,
when I run the script I get the following error, which I cannot understand
error.png
error.png (18.39 KiB) Viewed 234 times
by Loop
26 Mar 2024, 15:37
Forum: Ask for Help (v2)
Topic: Is it possible to determine the current line under the mouse cursor? Topic is solved
Replies: 7
Views: 280

Is it possible to determine the current line under the mouse cursor? Topic is solved

Hello, Is it possible to determine which line my mouse cursor is currently hovering over in a multi-line edit field? Thank you #Requires Autohotkey v2.0 #SingleInstance Force Message := "1A`n2B`n3C`n4D`n5E`n6F`n7G`n8H`n9I`n10J`n11K`n12L`n13M`n14N`n15O`n16P`n17Q`n18R`n19S`n20T`n21U`n22V`n23W`n24X`n25...
by Loop
21 Jan 2024, 16:04
Forum: Ask for Help (v1)
Topic: Issue with Transliterating Cyrillic Characters Topic is solved
Replies: 7
Views: 366

Re: Issue with Transliterating Cyrillic Characters Topic is solved

both my browser (Firefox) and my editor (Notepad) tell me that it is the same character.
This means that the search finds all character :)
But, I believe AHK when it says that there are different characters.
evidence.jpg
evidence.jpg (30.2 KiB) Viewed 310 times
by Loop
21 Jan 2024, 15:27
Forum: Ask for Help (v1)
Topic: Issue with Transliterating Cyrillic Characters Topic is solved
Replies: 7
Views: 366

Re: Issue with Transliterating Cyrillic Characters Topic is solved

Thank you @mikeyww
Honestly, I don't understand it.
"Ю" is contained in my array.
I don't understand the difference between cyrillic_char1 and cyrillic_char2, they are the same thing, aren't they?
by Loop
21 Jan 2024, 13:32
Forum: Ask for Help (v1)
Topic: Issue with Transliterating Cyrillic Characters Topic is solved
Replies: 7
Views: 366

Issue with Transliterating Cyrillic Characters Topic is solved

Hey, Unfortunately, the MsgBox window displays nothing. Could someone please take a look and let me know what I might be doing wrong? Thank you in advance for your assistance! transliteration := {"а": "a", "б": "b", "в": "v", "г": "g", "д": "d", "е": "e", "ё": "yo", "ж": "zh", "з": "z", "и": "i", "й...
by Loop
02 Nov 2023, 10:31
Forum: Ask for Help (v1)
Topic: AutoHotkey (Chrome.ahk) input values
Replies: 0
Views: 191

AutoHotkey (Chrome.ahk) input values

Hello, I want to automate ChatGPT using AutoHotkey (Chrome.ahk). I can successfully input values into the text field, but the "Send" button is not active. I've tried various approaches, but unfortunately, none have been successful. Could you please assist me? I would greatly appreciate it. Thank you...

Go to advanced search