tdash 0 Posted May 12 Share Posted May 12 I am working on a program that will bring a window to the front but the name of the window changes based on what is opened (only 1 instance is open at a time). How would I get the name from the prosses EG "explore.exe) that need for winactivate() Here Is what I have if ProcessExists("explorer.exe") Then winactivate("Name of explorer window") Else Run("C:\Windows\explorer.exe") EndIf Link to post Share on other sites
Luke94 30 Posted May 13 Share Posted May 13 _WinActiveByExe by @SmOke_N may work? Link to post Share on other sites
mikell 1,112 Posted May 13 Share Posted May 13 _WinAPI_EnumProcessWindows Link to post Share on other sites
Deye 122 Posted May 13 Share Posted May 13 If WinExists("wintitle", "") Then WinActivate(WinGetHandle("wintitle", "")) 😊 Link to post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now