Search found 35 matches

by sobuj53
13 Jul 2018, 23:39
Forum: Scripts and Functions
Topic: Multimonitor window management. (Move window between multimonitor)
Replies: 1
Views: 503

Multimonitor window management. (Move window between multimonitor)

Hi, I use below script everyday to move window between multimonitor. Thought I'd share it here, if anyone needs it. Credit. All credit goes to this awesome community without their help it was not possible. Use: Ctrl+Shift+M #NoEnv ; Recommended for performance and compatibility with future AutoHotke...
by sobuj53
04 Jul 2018, 11:21
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

Tested on both Build 17134.137 and Build 17692.1004: $F1:: Menu, Windows, Add Menu, Windows, deleteAll WinGet windows, List Loop %windows% { id := windows%A_Index% WinGetTitle title, ahk_id %id% If (title = "") continue WinGetClass class, ahk_id %id% If (class = "ApplicationFrameWindow") { WinGetTe...
by sobuj53
04 Jul 2018, 09:18
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

You're probably using a 32-bit AHK on a 64-bit Windows? Then some redirection occurs, which might cause issues: https://msdn.microsoft.com/en-us/library/windows/desktop/aa384187%28v=vs.85%29.aspx Instead of manually adding exceptions to a default icon, wouldn't it be more reliable to use a Try / Ca...
by sobuj53
04 Jul 2018, 08:50
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

I must say both GEV and Nextron's solution works flawlessly but as Nextron's one is more reliable that's why I marked his method as accepted solution for future user reference. I want to thank again both of you for taking interest in to this.
by sobuj53
04 Jul 2018, 08:32
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

You're probably using a 32-bit AHK on a 64-bit Windows? Then some redirection occurs, which might cause issues: https://msdn.microsoft.com/en-us/library/windows/desktop/aa384187%28v=vs.85%29.aspx Instead of manually adding exceptions to a default icon, wouldn't it be more reliable to use a Try / Ca...
by sobuj53
04 Jul 2018, 08:29
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

taskhostw.exe isn't a visible process/window unless you have DetectHiddenWindows On. Try the above code as a stand alone script. You can also add this to the code: ... WinGet, Path, ProcessPath, ahk_id %id% SplitPath, Path,,,,name_no_ext If (name_no_ext= "taskhostw") continue Menu, Windows, Add, %t...
by sobuj53
04 Jul 2018, 07:05
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

In that case try to find out what program/window is the cause for the error (AHK cannot find the path of the process or the executable file doesn't contain any icons) and use the same icon as in ApplicationFrameWindow: $F1:: Menu, Windows, Add Menu, Windows, deleteAll WinGet windows, List Loop %win...
by sobuj53
04 Jul 2018, 06:25
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

This works on my system Win10 Build 17134.137 (only windows apps visible in taskbar are shown on the menu): $F1:: Menu, Windows, Add Menu, Windows, deleteAll WinGet windows, List Loop %windows% { id := windows%A_Index% WinGetTitle, title, ahk_id %id% WinGetClass, class, ahk_id %id% If (class = "App...
by sobuj53
04 Jul 2018, 05:14
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

If you don’t want Windows 10 Apps running in the background, you can disable this feature: https://www.howtogeek.com/241752/how-to-stop-windows-10-apps-from-running-in-the-background/ Try also: WinGet windows, List Loop %windows% { id := windows%A_Index% WinGetTitle title, ahk_id %id% WinGetClass c...
by sobuj53
04 Jul 2018, 00:56
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

best way I can think of, get everything before "system \n system" and remove any blank lines. for me, running your code, has 2 "system" items in a row, and all of my windows were above that. Will it be 100% reliable? no idea. but it's worth a shot if you have the same results. Can you please provid...
by sobuj53
04 Jul 2018, 00:53
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

Try also WinGet windows, List Loop %windows% { id := windows%A_Index% WinGetTitle title, ahk_id %id% WinGet, style, style, ahk_id %id% if !(style & 0xC00000) ; if the window doesn't have a title bar { ; If title not contains ... ; add exceptions continue } r .= title . "`n" } MsgBox %r% Thanks for ...
by sobuj53
03 Jul 2018, 14:26
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

tidbit wrote:winget,,list... shows a lot of things that are not in the alt-tab window. it's not just him. It's an ahk/os thing. iirc, It's tricky to get what he wants.
:) Windows 10 made life harder
by sobuj53
03 Jul 2018, 14:22
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

Re: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

check your system and you will see if it shows calculator you have calculator.exe running etc Thanks for your replay. As I've mentioned, it was not running well at least not visible. My goal is to list only visible windows (Minimized in task bar also counts). I've also tried this code https://autoh...
by sobuj53
03 Jul 2018, 11:46
Forum: Ask For Help
Topic: List all open and visible window (Alt+Tab) in windwos 10 Topic is solved
Replies: 24
Views: 1113

List all open and visible window (Alt+Tab) in windwos 10 Topic is solved

Hi, I'm trying to list all open and visible window (minimized one also count) using following code (this code is not mine), #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recom...
by sobuj53
19 Feb 2018, 23:59
Forum: Ask For Help
Topic: please help me controlsend an fkey
Replies: 2
Views: 147

Re: please help me controlsend an fkey

Did you try,

Code: Select all

^#F4:: ; TOGGLE MICROPHONE with CONTROLSEND
ControlSend, , {F4}, PowerScribe 360 | Reporting
return
by sobuj53
19 Feb 2018, 23:28
Forum: Ask For Help
Topic: Get window id under mouse of minimized window in taskbar
Replies: 0
Views: 142

Get window id under mouse of minimized window in taskbar

Hi, The following script I've got from ahk help file retrieves window id and class when mouse pointer hovers onto them. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommend...
by sobuj53
13 Feb 2018, 22:40
Forum: Scripts and Functions
Topic: Remove window from taskbar
Replies: 0
Views: 307

Remove window from taskbar

This is not an original topic. The original topic is located here, https://autohotkey.com/board/topic/5112-remove-window-form-taskbar/ . The only reason I needed to open anther one is because I can't reply to that topic as it was archived. OK so, I've modified the original scrips so that it can remo...
by sobuj53
21 May 2017, 04:19
Forum: Scripts and Functions
Topic: Limit mouse movement to window, control or custom rectangle
Replies: 9
Views: 1238

Re: Limit mouse movement to window, control or custom rectangle

So I think, the following function needs to be used for windows compitability purpose. Gui +LastFound hWnd := WinExist() Ptr := A_PtrSize ? "Ptr" : "UInt" DllCall("RegisterShellHookWindow", Ptr, A_ScriptHwnd) OnMessage(DllCall("RegisterWindowMessage", Str, "SHELLHOOK"), "WinActiveChange") DllCall( "...
by sobuj53
21 May 2017, 03:02
Forum: Scripts and Functions
Topic: Limit mouse movement to window, control or custom rectangle
Replies: 9
Views: 1238

Re: Limit mouse movement to window, control or custom rectangle

Update: The problem seems like occuring from this function. Gui +LastFound DllCall("RegisterShellHookWindow", "ptr", WinExist()) OnMessage(DllCall("RegisterWindowMessage", "Str", "SHELLHOOK"), "WinActiveChange") . I've already replaced WinActiveChange(wParam, hwnd) { if (wParam = 32772 && using = Tr...
by sobuj53
20 May 2017, 23:04
Forum: Scripts and Functions
Topic: Limit mouse movement to window, control or custom rectangle
Replies: 9
Views: 1238

Re: Limit mouse movement to window, control or custom rectangle

Thank you for your reply, just tested your suggestions. Seems like it doesn't work as expected for "Trap to rectangle" function. When ever I click on the show hidden icons button in taskbar, the mouse pointer loses it's confinement. AHK version 1.1.25.02, Windows 7 64bit, Service pack 1.

Go to advanced search