Search found 1769 matches
- 11 Nov 2023, 06:11
- Forum: Scripts and Functions (v1)
- Topic: DWM Thumbnails. But with IDCompositionVisual.
- Replies: 1
- Views: 733
DWM Thumbnails. But with IDCompositionVisual.
An undocumented api that Windows uses to display DWM Thumbnails. https://blog.adeltax.com/dwm-thumbnails-but-with-idcompositionvisual/ On autohotkey will be something like this (when you press f11 there will be a primitive animation):: targetWindow := WinExist("ahk_class Shell_TrayWnd") if !targetWi...
- 16 Oct 2023, 20:26
- Forum: Scripts and Functions (v1)
- Topic: Return list of Alt-Tab windows win10+
- Replies: 6
- Views: 854
Return list of Alt-Tab windows win10+
Thanks to teadrinker who found method in non-documented api We can get alt-tab windows more reliable. DetectHiddenWindows On arr := EnumerateAltTabWindows() for k, v in arr { WinGetClass, winClass, ahk_id %v% WinGetTitle, title, ahk_id %v% altTabWindows .= A_Index "`nTitle: " title "`nClass: " winCl...
- 16 Oct 2023, 07:55
- Forum: Scripts and Functions (v2)
- Topic: WinGetListAlt() : Returns list of Alt+Tab windows
- Replies: 10
- Views: 4176
Re: WinGetListAlt() : Returns list of Alt+Tab windows
Why? At-tab does not differ monitors.
Also at-tab not always hides cloaked windows.
I am 100% sure that Your code is not right.
Also I thought about virtual displays and some other events and created topic in ahk v1.
viewtopic.php?f=6&t=122399
Also at-tab not always hides cloaked windows.
I am 100% sure that Your code is not right.
Also I thought about virtual displays and some other events and created topic in ahk v1.
viewtopic.php?f=6&t=122399
- 14 Oct 2023, 08:50
- Forum: Ask for Help (v2)
- Topic: Window on top off fullscreen, can we do it like steam or overwolf Topic is solved
- Replies: 1
- Views: 268
Re: Window on top off fullscreen, can we do it like steam or overwolf Topic is solved
All is possible. ;) If this will not help (all code for ahk v1) https://www.autohotkey.com/boards/viewtopic.php?f=6&t=75695 then need to inject into process and hook directx, like it does steam. https://www.autohotkey.com/boards/viewtopic.php?p=294758#p294758 Also You can read algorithm here and if ...
- 14 Oct 2023, 07:59
- Forum: Scripts and Functions (v2)
- Topic: WinGetListAlt() : Returns list of Alt+Tab windows
- Replies: 10
- Views: 4176
Re: WinGetListAlt() : Returns list of Alt+Tab windows
SKAN , I think Your algorithm is not right. From my test it should be like this. Code for ahk v1, I am too lazy to convert it to ahk v2. arr := EnumerateAltTabWindows() for k, v in arr { WinGetClass, winClass, ahk_id %v% WinGetTitle, title, ahk_id %v% altTabWindows .= A_Index "`nTitle: " title "`nC...
- 08 Oct 2023, 06:57
- Forum: Scripts and Functions (v1)
- Topic: Pin, unpin applications to taskbar with undocumented api
- Replies: 0
- Views: 821
Pin, unpin applications to taskbar with undocumented api
https://geelaw.blog/entries/msedge-pins https://github.com/vhanla/W1nDro1d/blob/main/TaskbarPinner.pas msgbox % GetAllPinned() pin("C:\Windows\System32\Notepad.exe") msgbox pinned unpin("C:\Windows\System32\Notepad.exe") msgbox unpinned pin(app) ; https://geelaw.blog/entries/msedge-pins https://gith...
- 07 Oct 2023, 11:13
- Forum: Tutorials (v2)
- Topic: Detect window open and close
- Replies: 15
- Views: 5859
Re: Detect window open and close
One more variant - SetWindowsHookEx with WH_CBT for catching HCBT_CREATEWND. https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowshookexw https://learn.microsoft.com/en-us/windows/win32/winmsg/cbtproc Example: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=94344&p...
- 02 Oct 2023, 15:44
- Forum: Ask for Help (v1)
- Topic: youtube playlist changes
- Replies: 9
- Views: 843
Re: youtube playlist changes
Yes, the main disadvantage of not using their api that google periodically changes its checks.
If 2 years ago we needed to send "CONSENT=YES" cookie, now we need to send SOCS=... cookie, as I see.
If 2 years ago we needed to send "CONSENT=YES" cookie, now we need to send SOCS=... cookie, as I see.
- 02 Oct 2023, 15:32
- Forum: Ask for Help (v1)
- Topic: youtube playlist changes
- Replies: 9
- Views: 843
Re: youtube playlist changes
For example if You want to develop it for other users - You will need to share Your private key (not recommended) or get approve from google for Your application.
- 02 Oct 2023, 15:07
- Forum: Ask for Help (v1)
- Topic: youtube playlist changes
- Replies: 9
- Views: 843
Re: youtube playlist changes
For getting information from google services without authentication You dont need to use their api.
Just look at browser network what You send and try to repeat it with ahk.
Just look at browser network what You send and try to repeat it with ahk.
- 06 Aug 2023, 04:59
- Forum: Ask for Help (v2)
- Topic: Embedding files in a compiled script and using them without extracting them
- Replies: 17
- Views: 1462
Re: Embedding files in a compiled script and using them without extracting them
It is code for ahk v1.
And if ffmpeg is x64 then ahk should be also x64.
And if ffmpeg is x64 then ahk should be also x64.
- 04 Aug 2023, 14:28
- Forum: Ask for Help (v2)
- Topic: Embedding files in a compiled script and using them without extracting them
- Replies: 17
- Views: 1462
Re: Embedding files in a compiled script and using them without extracting them
Strange.
What is value of this code?
What is value of this code?
Code: Select all
FileRead,file,*c ffmpeg.exe
msgbox % numget(&file, 0, "Short")
- 04 Aug 2023, 13:07
- Forum: Ask for Help (v2)
- Topic: Embedding files in a compiled script and using them without extracting them
- Replies: 17
- Views: 1462
Re: Embedding files in a compiled script and using them without extracting them
Do You use all my code or just class BinRun?
- 04 Aug 2023, 11:52
- Forum: Ask for Help (v2)
- Topic: Embedding files in a compiled script and using them without extracting them
- Replies: 17
- Views: 1462
- 04 Aug 2023, 09:26
- Forum: Ask for Help (v2)
- Topic: Embedding files in a compiled script and using them without extracting them
- Replies: 17
- Views: 1462
Re: Embedding files in a compiled script and using them without extracting them
FileRead,file,*c ffmpeg.exe BinRun(&file,"-i yourvideoname.mp4 -an mutevideo.mp4") return Class _BinRun { static IMAGE_DOS_HEADER :=" ( WORD e_magic; // Magic number WORD e_cblp; // Bytes on last page of file WORD e_cp; // Pages in file WORD e_crlc; // Relocations WORD e_cparhdr; // Size of header ...
- 04 Aug 2023, 04:53
- Forum: Ask for Help (v2)
- Topic: Embedding files in a compiled script and using them without extracting them
- Replies: 17
- Views: 1462
Re: Embedding files in a compiled script and using them without extracting them
Yes, but not with ahk v2.
- 03 Aug 2023, 20:03
- Forum: Ask for Help (v2)
- Topic: Embedding files in a compiled script and using them without extracting them
- Replies: 17
- Views: 1462
- 15 Jul 2023, 17:29
- Forum: Scripts and Functions (v2)
- Topic: Easy OCR
- Replies: 93
- Views: 18973
Re: Easy OCR
Krd, You can try to use tesseract and preprocess image with black&white + sharpen.
I used it for 1 project and results were quite good.
You can start from here:
viewtopic.php?f=76&t=93120
I used it for 1 project and results were quite good.
You can start from here:
viewtopic.php?f=76&t=93120
- 13 Jul 2023, 15:53
- Forum: Ask for Help (v1)
- Topic: Detect if the microphone is being used by certain applications
- Replies: 2
- Views: 365
Re: Detect if the microphone is being used by certain applications
https://learn.microsoft.com/en-us/answers/questions/214055/is-it-possible-to-get-status-or-event-when-device
You can translate this code to ahk using va.ahk
You can translate this code to ahk using va.ahk
- 12 Jul 2023, 22:13
- Forum: Ask for Help (v1)
- Topic: How to create a blue rectangle area that is always on screen top level Topic is solved
- Replies: 9
- Views: 693
Re: How to create a blue rectangle area that is always on screen top level Topic is solved
For this You dont need admin rights
Run this code with autohotkey ui access.