Sign in to follow this  
Followers 0
EddCase

WinClose With Wildcard?

3 posts in this topic

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



WinGetHandle()

EDIT:

$hWnd = WinGetHandle("Mp3tag")
...
WinClose($hWnd)
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  
Followers 0