Search the Community
Showing results for tags 'virtual desktop'.
Found 2 results
Hi in windows 10 i create a new desktop. I want to run a script in this desktop, for exemple Mouseclick("left",x,y) I want the script to work in that desktop while i switch to the primary desktop. So far autoit clicks on the active desktop. Is there a way to make it run only on the other desktop ? Thank you for your response.
I have a working script that changes the core affinity and process priority of multiples of a specific application I have running. I have that part figured out. I would like to make a little modification to it. Windows10 introduced virtual desktops. I am trying to have different core affinity and priority of processes on the visible and non-visible desktops. What I need is a bool function that could be described as IsWindowOnCurrentDesktop($hWnd). I have searched the winAPI.au3 but I do not believe anything like that exists built it. I have searched multiple places before asking for help. I found a Microsoft supplied example of the function I need using C#, but I am unfamiliar with C# to a degree that I cannot port the system call over. https://blogs.msdn.microsoft.com/winsdk/2015/09/10/virtual-desktop-switching-in-windows-10/ Help is appreciated but not expected. Thanks in advanced. In the meantime I will be learning C# syntax and class structure.