Search found 694 matches

by lmstearn
12 Jan 2023, 23:40
Forum: Suggestions on Documentation Improvements
Topic: creating a script
Replies: 5
Views: 1464

Re: creating a script

Here's super picky, what if there is a file (or files) beginning with the text New AutoHotkey Script that another user had previously created in the folder, then the n'th one just created has to be New AutoHotkey Script (n) , right? In Windows 10 (officially supported), the text without the extensio...
by lmstearn
12 Jan 2023, 02:00
Forum: General Discussion
Topic: Microsoft Teams Export
Replies: 0
Views: 680

Microsoft Teams Export

Anyone use MS Teams (free, gui version)? Gone down the rabbit hole of an issue involving MS Teams (free) channel content, switching to other MS accounts (if you have them) in their gui interface is not available. Unfortunately, have to wait 30 days for the fruit of the solution to that question to r...
by lmstearn
09 Jan 2023, 00:55
Forum: Ask for Help (v1)
Topic: ShinsImageScanClass.ahk on multi monitor setup
Replies: 1
Views: 332

Re: ShinsImageScanClass.ahk on multi monitor setup

Hi perrvect66, not sure why it doesn't, as the class uses this for desktop (actually, the entire virtual screen): GetRect(ByRef w, ByRef h) { if (this.desktop) { w := dllcall("GetSystemMetrics","int",78) h := dllcall("GetSystemMetrics","int",79) return 1 } The first thing to do is determine if w and...
by lmstearn
09 Jan 2023, 00:38
Forum: Scripts and Functions (v1)
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 105
Views: 45883

Re: Class_ScrollGUI - updated on 2015-03-13

Bit late HiSoKa , but here goes, scrolling adjusts the position of the entire form and controls to the viewport. There a a few ways around it, one is to use a borderless child window of the same dimensions as the parent, or original, client window. Start off with all the controls and scrollbars in t...
by lmstearn
01 Jan 2023, 07:14
Forum: Off-topic Discussion
Topic: Thank you for the music
Replies: 305
Views: 224276

Re: Thank you for the music

Just suddenly come over all Français, accompanied by batch of golden oldies: :rainbow: https://www.youtube.com/watch?v=YZug7K0DPYw https://www.youtube.com/watch?v=hSZHhvA5Pw0 https://www.youtube.com/watch?v=t-mZPq62oM0 https://www.youtube.com/watch?v=8EN0DbE18Eo https://www.youtube.com/watch?v=aOla8...
by lmstearn
22 Dec 2022, 00:58
Forum: Gaming Scripts (v1)
Topic: Prglnch: Yet Another Game Launcher
Replies: 12
Views: 23122

Re: Prglnch: Yet Another Game Launcher

3.1 up.
Spoiler
by lmstearn
17 Dec 2022, 00:33
Forum: About This Community
Topic: autohotkey.com
Replies: 264
Views: 334785

Re: autohotkey.com

After a little travel back in time to the beginning, came across this discussion and the claim in the article that AutoIt2 was closed source, so, presumably, only the AutoIt devs (Jon and some others?) had access to the source. Thus it must be the changelogs of early AHK nods to Jon from AutoIt only...
by lmstearn
15 Dec 2022, 00:24
Forum: Ask for Help (v1)
Topic: Sorting array of numbers
Replies: 6
Views: 1733

Re: Sorting array of numbers

Bubble sort is better if looking for only for some n < maxIndex largest (or smallest) in the array. The precise value of n where the insertion sort wins is a fascinating problem which surely has a solution. Here's a version of the insertion sort for descending numbers. InsertionSort(ar) { Loop % ar...
by lmstearn
04 Dec 2022, 05:29
Forum: Off-topic Discussion
Topic: Where is the last window size and position of various Microsoft applications stored in Windows?
Replies: 4
Views: 1762

Re: Where is the last window size and position of various Microsoft applications stored in Windows?

Sure, modify the keys as shown by copying the co-ordinates of the resolution of choice into the appropriate values pictured :
Keys.JPG
Keys.JPG (28.17 KiB) Viewed 1656 times
It won't show the folder as maximised, rather the folder as restored with maximum dimensions. Not a recommended method for multi-monitor setups. :P
by lmstearn
04 Dec 2022, 03:22
Forum: Off-topic Discussion
Topic: how can I add a second monitor without being detected in multiple display check? Topic is solved
Replies: 2
Views: 1733

Re: how can I add a second monitor without being detected in multiple display check? Topic is solved

I saw it on someone's computer. He'd connected a second monitor. but when I tried to detect it in multiple display setting, it did not show the second monitor. I also checked it in "Project" section by pressing Windows+P , again it showed " PC Only". The second monitor was there and working, but wa...
by lmstearn
03 Dec 2022, 00:54
Forum: Off-topic Discussion
Topic: Thank you for the music
Replies: 305
Views: 224276

Re: Thank you for the music

You know, to multitudes, Della Reese was (and still is) very special:


by lmstearn
21 Nov 2022, 01:19
Forum: Off-topic Discussion
Topic: Thank you for the music
Replies: 305
Views: 224276

Re: Thank you for the music

Some of the De Phazz clips that come out are really nice:
More 60s latin stuff:
by lmstearn
15 Nov 2022, 07:35
Forum: Gaming Scripts (v1)
Topic: Prglnch: Yet Another Game Launcher
Replies: 12
Views: 23122

Re: Prglnch: Yet Another Game Launcher

Version 3.0 (Beta) up! Implement Active Window Properties. Provision for TES utilities. Plus a stable of apprehended instablities. Demo with two monitor rig where Skyrim files are located: (do forgive the Java Indonesian/beans backdrop acquired from some wallpaper share site sometime around the mid ...
by lmstearn
29 Oct 2022, 02:51
Forum: Scripts and Functions (v1)
Topic: WTSEnumProcesses() - Returns list of running processes
Replies: 17
Views: 11779

Re: WTSEnumProcesses() - Returns list of running processes

Thanks for posting! This one returns an associative array based on name. list := "" for name, pid in WTSEnumProcesses() list .= name . "`, " . pid . " |" msgbox %list% WTSEnumProcesses() { ; By SKAN, http://goo.gl/6Zwnwu, CD:24/Aug/2014 | MD:25/Aug/2014 tPtr := 0, pPtr := 0, nTTL := 0, list := [], n...
by lmstearn
23 Oct 2022, 23:43
Forum: Tips and Tricks (v1)
Topic: Activate WER Minidumps
Replies: 0
Views: 2213

Activate WER Minidumps

Most experienced folks won't have any requirement to set WER up, if, for example, they run AHK in Visual Studio with the VS debugger enabled, or use WinDbg. Other interactive debugging options focused more for AHK scripts can be found here , and another one of interest is dmp() . For compiled script...
by lmstearn
21 Oct 2022, 03:49
Forum: General Discussion
Topic: DeviceID & DeviceKey
Replies: 0
Views: 622

DeviceID & DeviceKey

Browsing through some old AHK code using EnumDisplayDevices there was this snippet: if (SubStr(DeviceKey,1,18)="\Registry\Machine\") DeviceKey := SubStr(DeviceKey,19) EnumDisplayDevicesA (or its Unicode equivalent) is pretty much the same as it was from Win2k days, assuming the "Not used" tag for De...
by lmstearn
20 Oct 2022, 09:26
Forum: Ask for Help (v1)
Topic: WM_Help Context IDs for GUI Controls Topic is solved
Replies: 11
Views: 3951

Re: WM_Help Context IDs for GUI Controls Topic is solved

Winding on another 4 years, and experiencing weird behaviour when the GUI is created in a function . The Help system pulls up the chm file twice- as described here . The reasons given there have no immediate relevance to AHK, at least as far as VK_F1 goes, suffice to say Help handles function GUIs t...
by lmstearn
20 Oct 2022, 06:22
Forum: Ask for Help (v1)
Topic: Ternaries in Gui, Add Topic is solved
Replies: 6
Views: 468

Re: Ternaries in Gui, Add Topic is solved

Thanks Mikey! :)
by lmstearn
20 Oct 2022, 06:08
Forum: Ask for Help (v1)
Topic: Ternaries in Gui, Add Topic is solved
Replies: 6
Views: 468

Re: Ternaries in Gui, Add Topic is solved

Ah, the BBC code- it deleted my "!"
The condition was:

Code: Select all

(!XHWnd ? "HWNDxHWnd" : "")
Sorry, should have checked!
Doesn't work, still. :(

Go to advanced search