Jump to content

WinActivate activating folder name with same name of application...


 Share

Recommended Posts

Hey guys.. So I'm wondering if there's someway for me to differentiate between a folder called "Cydia Impactor" and the actual program that has a window name of "Cydia Impactor".. I made this tiny little program for people who want to sign their own IPA's on the iPhone and apparently someone noticed that my program wasn't working.. low and behold the problem was that autoit was activating the open folder window named "Cydia Impactor" instead of the program window titled "Cydia Impactor". And the user "Would rather not" rename the folder... why, I don't have the slightest clue. But either way I'm wondering if there's a way to differentiate easily between the two? Is there a way around this? 

Thanks

Local $exists = WinExists("Cydia Impactor")
    If $exists = 0 Then ShellExecute(@ScriptDir & "\Impactor.exe")
    WinWait("Cydia Impactor")
    WinActivate("Cydia Impactor")
Link to comment
Share on other sites

Opt("WinTitleMatchMode", 4)
WinActivate("[TITLE:Cydia Impactor; CLASS:AutoIt V3 GUI]")

👌

Edited by rcmaehl

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...