Coder Social home page Coder Social logo

Comments (10)

Perlence avatar Perlence commented on August 15, 2024 1

@petrklus @pmb6tz Just pushed a branch hybrid-switching. Feel free to experiment with it!

from windows-desktop-switcher.

Elijas avatar Elijas commented on August 15, 2024 1

@pmb6tz You might also want to delete this branch since it is from this closed issue https://github.com/pmb6tz/windows-desktop-switcher/tree/hybrid-switching

The solution fixes the issue by defocusing active windows, which is already done.

It's a cool solution nevertheless, props to Perlence! :)

from windows-desktop-switcher.

Perlence avatar Perlence commented on August 15, 2024

Hello @petrklus!

Did you try to disable window animations?

Control panel → System → Advansed system settings → Performance settings. Uncheck "Animate windows when minimizing and maximizing".
http://superuser.com/a/1058350/547530

There's also another method of switching desktops that I mentioned in #8 (comment), maybe you can try it and see if it's less painful for eyes 😬

from windows-desktop-switcher.

pmb6tz avatar pmb6tz commented on August 15, 2024

I wonder if we could use @Perlence method for when the target desktop is >2 away, and anything less would use the mechanism in place right now. Wouldn't be hard to do.. Thoughts?

from windows-desktop-switcher.

Perlence avatar Perlence commented on August 15, 2024

@petrklus On a side note, if you have 10+ task views, how do you access them? I mean, what key mappings do you use then?

from windows-desktop-switcher.

petrklus avatar petrklus commented on August 15, 2024

@Perlence thank you, will try the new branch!

Speaking of hot keys for 10+ desktop - on my mac, I just have another modifier that I add (for example, 1 is CTRL+1 and 11 is CTRL+ALT+1). I have then replicated the same setup by modifying your script

from windows-desktop-switcher.

Perlence avatar Perlence commented on August 15, 2024

@petrklus I see, clever.

from windows-desktop-switcher.

petrklus avatar petrklus commented on August 15, 2024

@Perlence I've tested the branch but it does not seem to be working very well for me - sometimes it does, sometimes it does not switch the desktop and crashes explorer.

I was wondering - I am a complete novice when it comes to AHK but does it support calling windows apis?

For example: http://stackoverflow.com/questions/30487556/detecting-active-virtual-desktop-on-windows-10-task-view-virtual-desktop-swi

Especially info from http://www.cyberforum.ru/blogs/105416/blog3671.html

from windows-desktop-switcher.

Perlence avatar Perlence commented on August 15, 2024

@petrklus There's DllCall function. I've also seen some AHK wrappers around said library, but they didn't work for me. This method kind of depends on "private" API and there's no way it will remain stable in the future.

it does not seem to be working very well for me - sometimes it does, sometimes it does not switch the desktop and crashes explorer.

Can you start DebugView and inspect its output?

from windows-desktop-switcher.

pmb6tz avatar pmb6tz commented on August 15, 2024

I've merged PR #20 recently which does reduce window animation significantly by integrating a new DLL. Give that a shot maybe (if you're still using this years later)!

from windows-desktop-switcher.

Related Issues (20)

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.