Search found 695 matches

by lmstearn
15 Jan 2024, 09:21
Forum: Bug Reports
Topic: Until fails with directory recursion Topic is solved
Replies: 9
Views: 596

Re: Until fails with directory recursion Topic is solved

it might be handling "Done" as a literal instead, no difference with (Done=True) or (A_Index=5)?
As a matter of interest the following is fine in V1:

Code: Select all

done := False
Loop, Files, C:\*.*, R
MsgBox % A_Index . "`n" . A_LoopFilePath
Until done
MsgBox done, 'Done', 'Iconi'
by lmstearn
14 Jan 2024, 01:13
Forum: Ask for Help (v1)
Topic: Explicitely doing "nothing" fixes this.
Replies: 7
Views: 868

Re: Explicitely doing "nothing" fixes this.

Even though explorer issues are not listed in the latest W11 known , some folk are still not happy , the personal pet peeve here is that Windows shutdown force closes open explorer windows so they are not relaunched on Windows restart. To remedy, File Checking is used, more often than not over here ...
by lmstearn
11 Jan 2024, 10:34
Forum: Ask for Help (v1)
Topic: Help 2d Physics
Replies: 2
Views: 367

Re: Help 2d Physics

Hi, if the context is near enough to a vacuum, it's about right but for the slowdown, horizontal motion is only minimally affected by gravity. As the direction of the ball becomes more perpendicular to the x-axis, it will want to accelerate according to its gravitational pull, conversely in directin...
by lmstearn
08 Jan 2024, 23:33
Forum: General Discussion
Topic: First time running a thread issue
Replies: 3
Views: 968

Re: First time running a thread issue

Is this on a W11 system? The Windows key is a system key, which brings up a pop-up menu on mine, so might be some background processing/system caching going on. The following with SetKeyDelay may impact: Note: PressDuration also produces a delay after any change to the modifier key state (Ctrl, Alt,...
by lmstearn
29 Dec 2023, 04:40
Forum: Ask for Help (v1)
Topic: InputHook handle close
Replies: 3
Views: 252

Re: InputHook handle close

Code: Select all

hInputHook := ""
is enough. :)
by lmstearn
28 Dec 2023, 11:58
Forum: Ask for Help (v1)
Topic: InputHook handle close
Replies: 3
Views: 252

Re: InputHook handle close

Hi, shouldn't imagine there would be any issue with Stop() - the examples e.g this don't use Stop() at all, if Inputhook is used in a function all memory of the object is flushed upon function exit.
by lmstearn
20 Dec 2023, 04:07
Forum: Ask for Help (v1)
Topic: Explicitely doing "nothing" fixes this.
Replies: 7
Views: 868

Re: Explicitely doing "nothing" fixes this.

Ah, the problem is intermittent in that the issues in the OP work let's say half the time, or is it they always used to work, but now, after OS updates and other changes they don't? Could be machine/implementation specific as well. A screen capture for 4k resolution requires a fair bit of grunt, eve...
by lmstearn
12 Dec 2023, 07:39
Forum: Scripts and Functions (v1)
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 105
Views: 45925

Re: Class_ScrollGUI - updated on 2015-03-13

:D Same here. Reverse the position of the numbers in

Code: Select all

GetKeyState("Shift") ? 0x114: 0x115, hWnd
:thumbup:
by lmstearn
12 Dec 2023, 00:51
Forum: Scripts and Functions (v1)
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 105
Views: 45925

Re: Class_ScrollGUI - updated on 2015-03-13

Perhaps add an option to register WM_MOUSEWHEEL for horizontal scrolling (without holding Shift) ? In many cases there is only a horizontal scroll bar. Not sure this can happen without an extra horizontal scroll wheel on the mouse. It's possible to interchange the scrolling actions to the scroll me...
by lmstearn
10 Dec 2023, 22:30
Forum: Ask for Help (v1)
Topic: Explicitely doing "nothing" fixes this.
Replies: 7
Views: 868

Re: Explicitely doing "nothing" fixes this.

Hi, the following is fine here, either through the desktop shell or N++:

Code: Select all

function1( var, file )
{
;sleep -1
CaptureScreen( var, , file )
}
function1(0, 0)
Do you use a different editor/IDE? Something in that might bork CreateCompatibleDC or GetDC, not sure.
by lmstearn
05 Dec 2023, 10:18
Forum: Off-topic Discussion
Topic: Thank you for the music
Replies: 305
Views: 225280

Re: Thank you for the music

by lmstearn
04 Dec 2023, 23:08
Forum: Suggestions on Documentation Improvements
Topic: Make Docs2 more newbies friendly
Replies: 3
Views: 628

Re: Make Docs2 more newbies friendly

Since the (searched) coordinate entry in the LH tree selector redirects to CoordMode, would this help?
Sets coordinate mode for the co-ordinate systems used in various built-in functions to be relative to either the active window, client window, or the screen.
by lmstearn
03 Dec 2023, 12:23
Forum: Ask for Help (v1)
Topic: Code Injection
Replies: 3
Views: 379

Re: Code Injection

The ASM code has to be assembled to machine code, would the Auto Assembler help there? Check types for 64 bit if compiling for that. It all then has to go into a custom DLL, see here, and here for the mcode bit.
by lmstearn
02 Dec 2023, 23:51
Forum: Ask for Help (v1)
Topic: Code Injection
Replies: 3
Views: 379

Re: Code Injection

Replacing a function might be possible - it involves detour and trampoline functions - malcev includes that in this example at MinHook - API Hooking Library . Related, see WriteProcessMemory Not working , AhkHook: API hooking with AutoHotkey and Memory Process reading/Writing & Pattern Scans (Array ...
by lmstearn
30 Nov 2023, 04:02
Forum: Ask for Help (v1)
Topic: Help working with Clipjump's API
Replies: 2
Views: 251

Re: Help working with Clipjump's API

Hi Se77en , welcome to AHK! :) Can't help with specifics of the question, there is a thread for the original plugin which unfortunately has no queries like yours, being rather quiet over the last few years. Updated code for the utility offering more flexibility can be found at this fork by tuzi , or...
by lmstearn
16 Nov 2023, 22:48
Forum: Ask for Help (v1)
Topic: picture rendering (gui, add, picture)
Replies: 2
Views: 286

Re: picture rendering (gui, add, picture)

Hi Joe, There isn't really anything like a replacement for Irfanview or Paint.net, but there's still quite a choice. Splashy employs common ways of presenting an image, other useful scripts include Imagecrop and Custom Gui Image Button , Imagen extends and improves AHK picture rendering muchly. Many...
by lmstearn
13 Nov 2023, 00:08
Forum: Bug Reports
Topic: A_Args can't handle windows file arguments with spaces (drag&drop, sendto, etc, 8.3 shortname disabled)
Replies: 24
Views: 3338

Re: A_Args can't handle windows file arguments with spaces (drag&drop, sendto, etc, 8.3 shortname disabled)

There's another C++ one with a fair bit of plumbing, ShellAnything which has its own GUID : {B0D35103-86A1-471C-A653-E130E3439A3B}, uses ATL which might complicate any porting. Does it offer what the Python build has? OpenWithPlusPlus looks promising, requires NET though. Out of interest, even thoug...
by lmstearn
11 Nov 2023, 04:11
Forum: Bug Reports
Topic: A_Args can't handle windows file arguments with spaces (drag&drop, sendto, etc, 8.3 shortname disabled)
Replies: 24
Views: 3338

Re: A_Args can't handle windows file arguments with spaces (drag&drop, sendto, etc, 8.3 shortname disabled)

Okay get you now, so this is more of a wish than a bug, (which in AHK it isn't), a wish more to be directed to Microsoft as to how the explorer shell interacts with executables. A_Args is a list of parameters separated by spaces, the format of which cannot be changed by AutoHotkey . The explorer she...
by lmstearn
10 Nov 2023, 08:04
Forum: Bug Reports
Topic: A_Args can't handle windows file arguments with spaces (drag&drop, sendto, etc, 8.3 shortname disabled)
Replies: 24
Views: 3338

Re: A_Args can't handle windows file arguments with spaces (drag&drop, sendto, etc, 8.3 shortname disabled)

It's rather strange, admittedly, and default for system drives in at least WS 2012. Could be related to providing support for really old libraries for VMs and VB6 (for that at least for a while yet ) etc. Also see: https://superuser.com/questions/1374293/does-stripping-8dot3name-entries-on-ntfs-os-p...
by lmstearn
10 Nov 2023, 00:00
Forum: Ask for Help (v1)
Topic: How to turn monitors back on when they're off?
Replies: 1
Views: 340

Re: How to turn monitors back on when they're off?

v1.1.37.01 should do the job just as well. :) For physical off & on, it's down to finding out what VCP codes are supported by the monitors. If they are all the same, much easier of course. Related Thread: Switch display input back to current display input (HDMI/DP) and one with a script for changin...

Go to advanced search