BatMan22 Posted January 16, 2018 Share Posted January 16, 2018 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 More sharing options...
rcmaehl Posted January 16, 2018 Share Posted January 16, 2018 (edited) Opt("WinTitleMatchMode", 4) WinActivate("[TITLE:Cydia Impactor; CLASS:AutoIt V3 GUI]") 👌 Edited January 16, 2018 by rcmaehl BatMan22 1 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 WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
BatMan22 Posted January 16, 2018 Author Share Posted January 16, 2018 Thank you, I used your code and just changed the class to what it needed to be and tada it works, you rock! 18 hours ago, rcmaehl said: Opt("WinTitleMatchMode", 4) WinActivate("[TITLE:Cydia Impactor; CLASS:AutoIt V3 GUI]") 👌 Link to comment Share on other sites More sharing options...
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