Search found 698 matches

by lmstearn
05 Mar 2024, 01:54
Forum: Ask for Help (v1)
Topic: [v1.1.37.01]"Post-increment" forgets its "Post" ?
Replies: 12
Views: 632

Re: [v1.1.37.01]"Post-increment" forgets its "Post" ?

++N++ Even though it is a standalone statement, it should produce a syntax error, as the docs (and the Standard) indicate they are exclusive constructs: For example, Var := ++X increments X and then assigns its value to Var. Conversely, if the operator appears after the variable's name, the result ...
by lmstearn
02 Mar 2024, 08:22
Forum: Forum Issues
Topic: Slow forum
Replies: 111
Views: 12494

Re: Slow forum

When making a post there's a bit of a wait before the page refreshes to show it, opening the topic in another window/tab before the refresh often shows the post already included in the topic. This has been the case for almost a year, the wait is getting longer no doubt as the DB grows in size. By co...
by lmstearn
29 Feb 2024, 08:31
Forum: Scripts and Functions (v1)
Topic: showcase of random Scripts
Replies: 2
Views: 307

Re: showcase of random Scripts

Try out the slightly ridiculous Splashy Roadtest, required files here. :P
by lmstearn
29 Feb 2024, 07:57
Forum: Ask for Help (v1)
Topic: Issue reading data after FileAppend/FileRead ClipboardAll
Replies: 6
Views: 310

Re: Issue reading data after FileAppend/FileRead ClipboardAll

FileAppend only supports text, ClipboardAll is a binary memory object dumped to string, Winclip saves and loads it. Thanks Just Me, :thumbup: dataHandle is redefined as the pointer to the block, he had to call Unlock: #SingleInstance Force #requires AutoHotkey v1.1 strClipFilePath := A_ScriptDir . "...
by lmstearn
25 Feb 2024, 01:02
Forum: Ask for Help (v1)
Topic: Issue reading data after FileAppend/FileRead ClipboardAll
Replies: 6
Views: 310

Re: Issue reading data after FileAppend/FileRead ClipboardAll

Not much help here, looks very much like this one at SO. When feeding ClipboardAll back into Clipboard , Windows changes the entire clipboard internally over time - or an internal process is "randomly" writing something else to it in a non-text format. Perhaps programs like Process Explorer will rev...
by lmstearn
22 Feb 2024, 01:22
Forum: Off-topic Discussion
Topic: Thank you for the music
Replies: 312
Views: 228254

Re: Thank you for the music


More to explore!
Spoiler
by lmstearn
19 Feb 2024, 00:12
Forum: Ask for Help (v1)
Topic: Help Getting innerText from Web Element
Replies: 2
Views: 143

Re: Help Getting innerText from Web Element

There are issues with the Write() method as explained in that link: GetCountryInfo := "https://www.scrapethissite.com/pages/simple/" whr := ComObjCreate("WinHttp.WinHttpRequest.5.1") whr.Open("GET", GetCountryInfo) whr.Send() WebRequest.WaitForResponse() GetCountryInfo := whr.ResponseText document :...
by lmstearn
15 Feb 2024, 10:32
Forum: Bug Reports
Topic: Rounding Bug
Replies: 45
Views: 5962

Re: Rounding Bug

Nice example of floating point operations . All floating point numbers with a non-zero mantissa do not have exact representations, e.g, the following are printed according to IEEE 754 and: Format("{1:.15f}", .n) n := 0.1 ; 0.10000000000000001 n := 0.3 ; 0.29999999999999999 n := 0.4 ; 0.4000000000000...
by lmstearn
15 Feb 2024, 04:55
Forum: Ask for Help (v2)
Topic: Install v2 over v1 Topic is solved
Replies: 7
Views: 1077

Re: Install v2 over v1 Topic is solved

... 1. Uninstall all AutoHotkey. ... Had v1 installed in to AutoHotkey (oct/2022) root, installing v2 was fine when scripts were manually associated with \v2\AutoHotkey64.exe , though weird stuff prompted uninstalling the lot. Running the installer for v2 again, with it picking up non-standard setu...
by lmstearn
13 Feb 2024, 00:00
Forum: Ask for Help (v1)
Topic: Multiple mouse/keyboard outputs at the same time
Replies: 2
Views: 96

Re: Multiple mouse/keyboard outputs at the same time

GetkeyState detects shift, the WheelUp , WheelDown , (horz scroll) +WheelUp , +WheelDown hotkeys, pick up the general wheeling. The speed of the scroll is set in the Wheel tab here: run main.cpl In a nutshell, the functionality of scrolling within browsers or doc/editor programs in Windows depends ...
by lmstearn
12 Feb 2024, 23:29
Forum: Forum Issues
Topic: Documentation and Google
Replies: 27
Views: 1881

Re: Documentation and Google

Still no luck, no issue with other search engines- here's a sample of other SEs out of the box: Yahoo offers cached result: https://search.yahoo.com/search?fr2=p%3As%2Cv%3Asfp%2Cm%3Asb-top&p=AHK+GuiFromHwnd Mojeek and Bing might show "More Results" after the hit: https://www.mojeek.com/search?q=AHK%...
by lmstearn
11 Feb 2024, 11:08
Forum: Ask for Help (v1)
Topic: With ControlGet, Is it possible to also get the column header names along with the items?
Replies: 7
Views: 358

Re: With ControlGet, Is it possible to also get the column header names along with the items?

Noted, thanks. A while back cyruz posted a script which opens the process owning the Listview, it then has to write to the Listview with WriteProcessMemory to retrieve the info. Should work, so long as the existing memory allocation of the control isn't increased or borked, else you'll know when the...
by lmstearn
11 Feb 2024, 11:06
Forum: Scripts and Functions (v1)
Topic: [LIB] LV_EX - update on 2016-04-28
Replies: 74
Views: 49131

Re: [LIB] LV_EX - update on 2016-04-28

Wrong thread, sorry.
by lmstearn
11 Feb 2024, 10:09
Forum: Ask for Help (v1)
Topic: With ControlGet, Is it possible to also get the column header names along with the items?
Replies: 7
Views: 358

Re: With ControlGet, Is it possible to also get the column header names along with the items?

Shuck! Docs example looked a lot more generous than it actually was. :shock:
Try LV_Ex from @just me.
by lmstearn
11 Feb 2024, 02:28
Forum: Ask for Help (v1)
Topic: GDIP not working (graphics card conflict)
Replies: 1
Views: 112

Re: GDIP not working (graphics card conflict)

Hi, looks very much like a conflict at the driver level, is there an option in the PCI-E driver software to set the preferred graphics device? There is for NVIDIA, not sure about the others, Radeon for example won't do it , unless you have switchable graphics in the driver CP. What are the settings ...
by lmstearn
11 Feb 2024, 01:43
Forum: Ask for Help (v1)
Topic: With ControlGet, Is it possible to also get the column header names along with the items?
Replies: 7
Views: 358

Re: With ControlGet, Is it possible to also get the column header names along with the items?

Hi Ralf, sure it's possible, from the ControlGet docs: ControlGet, SelectedItems, List, Selected, SysListView321, ahk_exe Ditto.exe Loop, Parse, SelectedItems, `n ; Rows are delimited by linefeeds (`n). { RowNumber := A_Index Loop, Parse, A_LoopField, %A_Tab% ; Fields (columns) in each row are delim...
by lmstearn
10 Feb 2024, 00:31
Forum: Ask for Help (v1)
Topic: Need help for checking google connection
Replies: 1
Views: 88

Re: Need help for checking google connection

Hi, and welcome to AHK. :) Have up-to-date Chrome on W11 here and tested the contents of PageSource for any tab/window, and all it revealed was: Chrome Legacy Window Pretty sure that's going to remain the same after logging out of Google. This bit runs well enough, no confusion at all if Chrome has ...
by lmstearn
03 Feb 2024, 22:36
Forum: Ask for Help (v1)
Topic: how to parse xml Topic is solved
Replies: 1
Views: 296

Re: how to parse xml Topic is solved

Hi, does this help? xml = ( <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <NumberToWords xmlns="http://www.dataaccess.com/webservicesserver/"> <ubiNum>500</ubiNum> </NumberToWords> </soap:Body> </soap:Envelope> ) SendRequest...
by lmstearn
03 Feb 2024, 02:20
Forum: Ask for Help (v1)
Topic: Get clipboard size without handling the data in AHK?
Replies: 2
Views: 371

Re: Get clipboard size without handling the data in AHK?

Nothing much has changed in Clipboard since this thread : ClipboardAll works by iterating through the available clipboard formats, storing the data of each format. Some programs use delayed rendering and possibly other tricks, so the full data being copied isn't actually in the clipboard. I'm not su...
by lmstearn
01 Feb 2024, 23:11
Forum: Ask for Help (v1)
Topic: Why is GDIP removing leading zeros from text
Replies: 14
Views: 802

Re: Why is GDIP removing leading zeros from text

In the event this.text changes outside of the function, does the following help? Update_Button_Text( New_Text := "", New_Font_Size := "", New_Font_Color := "" ){ static Old_text := "" ( New_Text || Old_text == this.text) ? this.Text := New_Text . "" Old_text := this.text Edit: Forget that, - sorry n...

Go to advanced search