Git Product home page Git Product logo

Comments (1)

FuPeiJiang avatar FuPeiJiang commented on July 27, 2024

ty, I didn't know this feature existed

It is recognized, but since it's on all desktops, there's no desktopNumber so desktopOfWindow=""
and I've happened to filter out windows with no desktopNumber using

    if (desktopOfWindow)
    {
         code here
    }

if you remove the filter, you'll see your explorer.exe, AND A LOT of other windows programs that are Shown on all desktops

Desktop ALL
WinTitle: Malwarebytes Tray Application
class: MBTrayClose
EXE: mbamtray.exe
FULLPATH: C:\Program Files\Malwarebytes\Anti-Malware\mbamtray.exe
PID: 336
ID: 0x8064e

Desktop ALL
WinTitle: Microsoft Store
class: ApplicationFrameWindow
EXE: ApplicationFrameHost.exe
FULLPATH: C:\Windows\System32\ApplicationFrameHost.exe
PID: 17336
ID: 0x102ac

Desktop ALL
WinTitle: Microsoft Store
class: Windows.UI.Core.CoreWindow
EXE: WinStore.App.exe
FULLPATH: C:\Program Files\WindowsApps\Microsoft.WindowsStore_12011.1001.1.0_x64__8wekyb3d8bbwe\WinStore.App.exe
PID: 19980
ID: 0x102c2

Desktop ALL
WinTitle: Settings
class: ApplicationFrameWindow
EXE: ApplicationFrameHost.exe
FULLPATH: C:\Windows\System32\ApplicationFrameHost.exe
PID: 17336
ID: 0x30196

Desktop ALL
WinTitle: Settings
class: Windows.UI.Core.CoreWindow
EXE: SystemSettings.exe
FULLPATH: C:\Windows\ImmersiveControlPanel\SystemSettings.exe
PID: 4236
ID: 0x20454

Desktop ALL
WinTitle: Microsoft Text Input Application
class: Windows.UI.Core.CoreWindow
EXE: WindowsInternal.ComposableShell.Experiences.TextInput.InputApp.exe
FULLPATH: C:\Windows\SystemApps\InputApp_cw5n1h2txyewy\WindowsInternal.ComposableShell.Experiences.TextInput.InputApp.exe
PID: 7104
ID: 0x3200fe

Desktop ALL
WinTitle: File Explorer
class: CabinetWClass
EXE: Explorer.EXE
FULLPATH: C:\Windows\explorer.exe
PID: 8444
ID: 0x14050e

I don't want these so I filter THESE out,

I created another file
https://github.com/FuPeiJiang/VD.ahk/blob/master/other%20examples/list%20VD%20w.%20windows%20Desktop%20ALL%20w.%20filter.ahk


in this file, I remove the filter and:

    if (!desktopOfWindow)
    desktopOfWindow:="ALL"

and this is the filter I use (to only keep Explorer.EXE):

filter:=[{EXE:"mbamtray.exe"}
,{WinTitle:"Microsoft Store", EXE:"ApplicationFrameHost.exe"}
,{EXE:"WinStore.App.exe"}
,{WinTitle:"Settings", EXE:"ApplicationFrameHost.exe"}
,{EXE:"SystemSettings.exe"}
,{EXE:"WindowsInternal.ComposableShell.Experiences.TextInput.InputApp.exe"}]

filterArrOfObj(arrayOfWindowsInfo,filter)

question: do you have easier to understand or shorter filenames for list VD of all windows.ahk and list VD w. windows Desktop ALL w. filter.ahk ?

from vd.ahk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.