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

Are you interested in accessing the taskbar #2

Open
ZhuangQu opened this issue Feb 5, 2023 · 3 comments
Open

Are you interested in accessing the taskbar #2

ZhuangQu opened this issue Feb 5, 2023 · 3 comments

Comments

@ZhuangQu
Copy link

ZhuangQu commented Feb 5, 2023

image
(1) Get the count of buttons in taskbar.
(2) Get the index of the active button.
(3) Activate a button by its index.

If implement these 3 functions, we will overcome a lot of difficulties, such as:

https://www.autohotkey.com/boards/viewtopic.php?f=76&t=105129&p=466883&hilit=taskbar#p466883
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=107976&p=480328&hilit=taskbar#p480328
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=108539&p=482839&hilit=taskbar#p482839
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=108597&p=483071&hilit=taskbar#p483071
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=108826&p=483921&hilit=taskbar#p483921
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=110582&p=491690&hilit=taskbar#p491690
... more and more ...

@Ciantic
Copy link
Owner

Ciantic commented Feb 6, 2023

Hmm.

I plan to stick to VirtualDesktop related functions. Are you talking about IApplicationView functions? I know those can be used to replicate ALT+TAB switcher accurately, I don't know about buttons in taskbar, but I guess they are same.

I have removed those helpers in Rust version, there was a bunch of those in the C++ version.

I don't plan to add those here.

@ZhuangQu
Copy link
Author

ZhuangQu commented Feb 7, 2023

Thank you for your advice. Could you give me a URL about IApplicationView? I can't find it by bing or google.

@Ciantic Ciantic transferred this issue from Ciantic/VirtualDesktopAccessor Feb 11, 2023
@Ciantic
Copy link
Owner

Ciantic commented Feb 11, 2023

I moved this issue to AltTabAccessor repo, it's pretty straightforward to make a DLL from this simple example, if you are interested and know how to deal with Rust.

I don't know much about these IApplicationView things, I just experimented, and found the stub from somewhere.

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