Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] getCurrentDesktopName #18

Open
LegitCamper opened this issue Aug 2, 2022 · 1 comment
Open

[Feature] getCurrentDesktopName #18

LegitCamper opened this issue Aug 2, 2022 · 1 comment

Comments

@LegitCamper
Copy link

I think a more usable function could print the desktop name (since you can rename them) instead of just the number

SplashTextOn,,, % VD.getCurrentDesktopNum()
Sleep 700
SplashTextOff

Should print Programming instead of 4

Just a thought. Love the script

@FuPeiJiang
Copy link
Owner

check out https://github.com/FuPeiJiang/VD.ahk/blob/class_VD/other%20examples/Task%20Switcher3.ahk
or you could use VD.getNameFromDesktopNum(): I should have documented it when I added this function but was lazy / preoccupied by recreating a gui
VD.getNameFromDesktopNum(VD.getCurrentDesktopNum())


you could try to documentation the function somewhere(README.md or _VD.ahk) so it's obvious (then Pull Request)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants