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

(Move to desktop) script only run if we compile to exe file #81

Open
neilfranci opened this issue Oct 19, 2022 · 6 comments
Open

(Move to desktop) script only run if we compile to exe file #81

neilfranci opened this issue Oct 19, 2022 · 6 comments

Comments

@neilfranci
Copy link

neilfranci commented Oct 19, 2022

When I download the whole repo and run with ahk script, everything works except Capslock + (q,w,e,..) not move my current active window to the desired desktop.
But when I right-click to desktop_switcher.ahk > compile (to .exe) and run .exe file, everything works perfectly now.
I create this issue keep this open or add it in the readme, IDK if anyone has the same situation as me or not but this is work for me.

Edit: I don't know why but change capslock + 1 to !1(alt + 1) run fine without compile script now.

@Trollwut
Copy link

I tried to compile and run the exe.

Desktop switching works fine for me.
But if I want to move a window, it doesnt move, but at least switched to the destination desktop.

Did you change other things to make moving work?

Running on Win11 2022H2

@neilfranci
Copy link
Author

I tried to compile and run the exe.

Desktop switching works fine for me.
But if I want to move a window, it doesnt move, but at least switched to the destination desktop.

Did you change other things to make moving work?

Running on Win11 2022H2

I'm using Win10 22H2, I use default script from source, no change.
Compile and run the exe. Caps + 1,2 to switch, Caps + Q,W to move active window to destination desktop.

@Trollwut
Copy link

Ahhh there's the thing: Moving is generally a broken thing on Win11 :)

@everzwijn
Copy link

I can confirm that moving apps between desktops is broken on Windows 11 22H2 (as opposed to Windows 11 21H2 where the 'old' virtualdesktopaccessor.dll works). A new virtualdesktopaccessor.dll is needed for 22H2.

@hrdkmishra
Copy link

https://github.com/FuPeiJiang/VD.ahk this project is working completely fine might have a look at it

@vdegenne
Copy link

@hrdkmishra thanks for the discovery!

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

5 participants