GithubHelp home page GithubHelp logo

adrian88888888 / ahk-virtual-desktop-library Goto Github PK

View Code? Open in Web Editor NEW
18.0 5.0 3.0 270 KB

Take full control of Windows 10/11 virtual desktops with this AHK library

License: MIT License

AutoHotkey 100.00%
ahk-library ahk windows-10 windows windows-desktop desktops virtual-desktops

ahk-virtual-desktop-library's People

Contributors

adrian88888888 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ahk-virtual-desktop-library's Issues

All Windows on another desktops

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.

Wallpaper folders

Could you add to the "SetBackgroundOnDesktop(desktop_number, imgPath)" that the "imgPath" could be a Folder, and it goes though the folder?

Error

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?

Request: "Move windows to next/previous desktop"

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!!

[Small Fix] '#Include' fails

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.

image

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.

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.