Search found 3461 matches
- 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...
- 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...
- 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...
- 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?
- 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) :...
- 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...
- 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...
- 19 Apr 2023, 11:25
- Forum: Scripts and Functions (v1)
- Topic: v1 -> v2 Script Converter
- Replies: 146
- Views: 73893
- 19 Apr 2023, 01:09
- Forum: Scripts and Functions (v2)
- Topic: Snipper - Window Snipping Tool
- Replies: 125
- Views: 26769
- 16 Apr 2023, 12:15
- Forum: Scripts and Functions (v1)
- Topic: v1 -> v2 Script Converter
- Replies: 146
- Views: 73893
- 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...
- 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...
- 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
- 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) ?
- 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{}...
- 29 Mar 2023, 00:04
- Forum: Off-topic Discussion
- Topic: ChatGPT goes down after it said it wanted to 'escape'…
- Replies: 3
- Views: 2172
- 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
- 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 ...
- 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'
- 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?
ty i like that Obsidian is extensible and has a large plugin communityhoppfrosch wrote: ↑23 Mar 2023, 00:29You might have a look at Obsidian - Markdown, simple, but very powerful ....
going down this rabbit hole i also found this which is completely open source:
https://logseq.com/