Jump to content
Sign in to follow this  

WinClose With Wildcard?

Recommended Posts


Hi all, Just wondering if anyone can help with this,

I'm trying to write a script which automates my mp3 renaming process, the problem is, is that once the conversion is complete the the window name can change..

The title always starts Mp3tag is it possible to close the windows based on this followed by a wild card?

WinClose("Mp3tag") is what i'm currently using trying to add the *

WinClose("Mp3tag*") doesn't work (I assume its now looking for a window called "Mp3tag*")

any ideas?

Thanks Edd

Share this post

Link to post
Share on other sites



$hWnd = WinGetHandle("Mp3tag")
Once again i'm amazed, Thank you for your quick reply, worked a treat.

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.