Search found 3461 matches

by guest3456
03 May 2023, 10:30
Forum: Scripts and Functions (v2)
Topic: Pulover's Macro Creator for v2 [mod]
Replies: 23
Views: 6954

Re: Pulover's Macro Creator for v2 [mod]

- Macro Creator credit to Mr. Pulover and all the credited creators listed here: https://github.com/Pulover/PuloversMacroCreator (will enumerate all credits soon) if i remember correctly, PMC was distributed under the GPL license, which requires that all derivative works such as yours to also be re...
by guest3456
03 May 2023, 09:32
Forum: Scripts and Functions (v2)
Topic: ClickLock Indicator
Replies: 0
Views: 490

ClickLock Indicator

ClickLock is an accessibility feature in Windows which allows you to click, hold for a second, and then release, but after releasing, the mouse down click is still held and locked. This allows you to click+drag without having to hold down the click the entire time, which is especially useful when us...
by guest3456
03 May 2023, 07:29
Forum: Ask for Help (v2)
Topic: how to make a func "force-local" ? Topic is solved
Replies: 8
Views: 640

how to make a func "force-local" ? Topic is solved

docs https://www.autohotkey.com/docs/v2/Functions.htm#Local Functions are assume-local by default. Variables accessed or created inside an assume-local function are local by default, with the following exceptions: Global variables which are only read by the function, not assigned or used with the re...
by guest3456
02 May 2023, 13:40
Forum: Ask for Help (v1)
Topic: How to remove windows from a group?
Replies: 4
Views: 1213

Re: How to remove windows from a group?

17 years later, how do we still have not a built-in solution to remove window group criteria?
by guest3456
30 Apr 2023, 13:27
Forum: Scripts and Functions (v1)
Topic: WinMoveZ() : Moves, but confines a window to the work area of target monitor
Replies: 9
Views: 1708

Re: WinMoveZ() : Moves, but confines a window to the work area of target monitor

The function: WinMoveZ(hWnd, C, X, Y, W, H, Redraw:=0) { ; WinMoveZ v0.5 by SKAN on D35V/D361 @ tiny.cc/winmovez Local V:=VarSetCapacity(R,48,0), A:=&R+16, S:=&R+24, E:=&R, NR:=&R+32, TPM_WORKAREA:=0x10000 C:=( C:=Abs(C) ) ? DllCall("SetRect", "Ptr",&R, "Int",X-C, "Int",Y-C, "Int",X+C, "Int",Y+C) :...
by guest3456
20 Apr 2023, 01:18
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26769

Re: Snipper - Window Snipping Tool

Something about AHK gui windows and PrintWindow that messes up on one of my computers but not the other. Not all AHK gui windows, just ones that have been interacted with by GDIp. I think it is something with pGraphics, it seems if a pGraphics is involved the window no long will respond properly fr...
by guest3456
19 Apr 2023, 11:30
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26769

Re: Snipper - Window Snipping Tool

You need to use something like this: since he's already using GDIP, he can just migrate the GdipBitmapFromHwnd() func, which calls PrintWindow. just need to add that -3 flag which the gdip lib omits Man, I am really confused now. I just tried GdipBitmapFromHwnd() on an older computer because everyo...
by guest3456
19 Apr 2023, 11:25
Forum: Scripts and Functions (v1)
Topic: v1 -> v2 Script Converter
Replies: 146
Views: 73893

Re: v1 -> v2 Script Converter

submeg wrote:
19 Apr 2023, 06:32
Is there a Discord for this?
not for this specific project, no. the discord joedf linked is a general ahk discord. work on this project is coordinated on github and in this thread
by guest3456
19 Apr 2023, 01:09
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26769

Re: Snipper - Window Snipping Tool

iseahound wrote:
17 Apr 2023, 20:00
You need to use something like this:
since he's already using GDIP, he can just migrate the GdipBitmapFromHwnd() func, which calls PrintWindow. just need to add that -3 flag which the gdip lib omits
by guest3456
16 Apr 2023, 12:15
Forum: Scripts and Functions (v1)
Topic: v1 -> v2 Script Converter
Replies: 146
Views: 73893

Re: v1 -> v2 Script Converter

jsong55 wrote:
16 Apr 2023, 05:36
Are Devs still making active updates to this converter?
this is a community project. everyone is a dev. if you write AHK code you are a dev. feel free to contribute and submit pull requests along with associated test cases and they will be accepted.
by guest3456
09 Apr 2023, 12:23
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26769

Re: Snipper - Window Snipping Tool

Version 2023 04 05 , not working on Windows 7. Error at line 71. (Call to non existant function) I fixed the error with "try" try DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr") yes that func only exists in win10 or later https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winu...
by guest3456
04 Apr 2023, 11:01
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26769

Re: Snipper - Window Snipping Tool

Your script as well as mine fail to accurately "snip" on a second monitor that has a different resolution / dpi. Do you have a solution for that? the resolution shouldnt matter. it should only fail if the 2nd monitor uses a different scaling%/dpi. you likely need to add this to the top of your scri...
by guest3456
03 Apr 2023, 16:06
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26769

Re: Snipper - Window Snipping Tool

thanks i never considered this workflow
by guest3456
03 Apr 2023, 13:25
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26769

Re: Snipper - Window Snipping Tool

what are advantages over Windows built-in snipping tool (WIN + SHIFT + S) ?
by guest3456
02 Apr 2023, 02:07
Forum: General Discussion
Topic: What has happened to AutoHotkey?!
Replies: 33
Views: 7485

Re: What has happened to AutoHotkey?!

The example from the original post is a prime example of bad documentation. That code focuses to much on what you can do, neglecting to show you what you probably actually want to do. I would rewrite it from main := Gui('+Resize') main.OnEvent('Close', (*) => (wvc := wv := 0)) main.Show(Format('w{}...
by guest3456
29 Mar 2023, 00:01
Forum: Forum Issues
Topic: anyone else not a fan of the new V1 section Topic is solved
Replies: 34
Views: 5371

Re: anyone else not a fan of the new V1 section Topic is solved

joedf wrote:
27 Mar 2023, 12:18
Okay, the change is done!
wayyyyyyyy better thank you sir
by guest3456
27 Mar 2023, 22:27
Forum: Bug Reports
Topic: Need more braces in loop blocks in v2
Replies: 11
Views: 1868

Re: Need more braces in loop blocks in v2

Converting to V2 - further thought I would convert to V2 if for only one thing. A DEFINITIVE listing of EVERY syntax change that would be necessary, including V1 syntax and V2 syntax. This would mean I could--and I probably would--write an edit macro to automate the zillions of changes. The appeal ...
by guest3456
25 Mar 2023, 12:48
Forum: AutoHotkey Development
Topic: [v2] replace else-clause on loops/try with a different keyword
Replies: 4
Views: 1947

Re: [v2] replace else-clause on loops/try with a different keyword

anyway its a bug, according to the docs, 'else' can only be attached to a 'catch', not a 'try'
by guest3456
23 Mar 2023, 21:11
Forum: Off-topic Discussion
Topic: What notebook software do you use?
Replies: 5
Views: 4281

Re: What notebook software do you use?

hoppfrosch wrote:
23 Mar 2023, 00:29
You might have a look at Obsidian - Markdown, simple, but very powerful ....
ty i like that Obsidian is extensible and has a large plugin community

going down this rabbit hole i also found this which is completely open source:
https://logseq.com/

Go to advanced search