Jump to content
Sign in to follow this  
IAMK

How do I WinActivate() one of many windows of a process?

Recommended Posts

IAMK

Hello,

 

I have a script which doesn't work with Alt+tabbing for some reason, so I tried using WinActivate().

I have no problems with: WinActivate("[CLASS:MSPaintApp]")

However, this doesn't work: WinActivate("[CLASS:HwndWrapper[Bootstrap.exe;;ce62109e-9d63-4f97-b289-d40f77e8f211]]")

Note: Bootstrap.exe has 4 windows. I'm trying to access one called "Shell" (when alt+tabbing).

Attached is a picture of how I got the CLASS.

CLASS.png

Share this post


Link to post
Share on other sites
Andreik

Why don't you try to activate the window by title instead of class?

  • Like 1

When the words fail... music speaks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.