adrian88888888 / ahk-virtual-desktop-library Goto Github PK
View Code? Open in Web Editor NEWTake full control of Windows 10/11 virtual desktops with this AHK library
License: MIT License
Take full control of Windows 10/11 virtual desktops with this AHK library
License: MIT License
How can I use comething like GetAltTabList() to get the windows of another desktop (like with a parameter).
I want that to make a hotkey that skips desktops with no windows.
I know you are not the creator of the dll (I have already put a issue there), but do you think is there any other way around?
Could you add to the "SetBackgroundOnDesktop(desktop_number, imgPath)" that the "imgPath" could be a Folder, and it goes though the folder?
Why when i do this:
#Include, AHK_Virtual_Desktop_Library.ahk #!p:: activeHwnd := GetActiveHwnd() toggle = IsPinnedWindow(activeHwnd) msgBox, %toggle% If (%toggle% = 1) { msgBox, Unpined PinWindow(activeHwnd) } else If (%toggle% = 0) { msgBox, Pined UnPinWindow(activeHwnd) }
toggle sets to "IsPinnedWindow(activeHwnd)" and not 1 or 0?
Great work here firstly - appreciate your sharing it.
The "move window to desktop number " is awesome, but I wonder if it would be possible to add "move to next/previous vd". This would match the "move to next/previous monitor" hotkeys already present natively in Windows ( and would help me switch between mac/win everyday as I have to for work! )
Thanks again.
Any tips on how I may implement this myself without needing to add another function on your part would also be appreciated!!
I had an issue with my ahk 'Include' function. For some reason it did not like:
'lib\AHK-Virtual-Desktop-Library\Main.ahk' as mentioned in the default config you provided. I did however get it to work with the addition of '%A_ScriptDir%\lib' witch makes the full line look like:
'#Include %A_ScriptDir%\lib\AHK-Virtual-Desktop-Library\Main.ahk'. I had to make this change in every include function in the Main.ahk file as well. This is a small addition to the file and should not break anything. 'A_ScriptDir' is just an alias for the directory the script is running in.
I also have an issue running other functions. the only function I can run is 'e::DesktopManager()' all the other functions don't run but ahk starts without notifying me with any syntax errors. I though this could be because I am using Windows 11. I download the DLL from 'https://github.com/skottmckay/VirtualDesktopAccessor' Just do be sure. I still cannot get them to work.
As far as I can tell from my time; you have the best repo for all the scripts I need in one place. I cannot wait to get everything all running :) I appreciate your time that went into this project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.