Hello users, if I want to open a window but search like this?
//waitwindowsopen> *: \ Windows \ System32 \ cmd.exe
Let>titwin=*: \ Windows \ System32 \ cmd.exe
WaitWindowOpen>%titwin%
¿The asterist forward can be done? or what solution do I have?
Title cmd 'Administrador C:\Windows\System32\cmd.exe' , 'C:\Windows\System32\cmd.exe'
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Title cmd 'Administrador C:\Windows\System32\cmd.exe' , 'C:\Windows\System32\cmd.exe'
Hi,
The asterisk in the window functions means "find the text preceding the asterisk ANYWHERE within the title". So this WILL find your match:
The asterisk just means "do a substring search and don't care where the text is".
HOWEVER, if you WANT more control you can use RegEx. E.g.
The asterisk in the window functions means "find the text preceding the asterisk ANYWHERE within the title". So this WILL find your match:
Code: Select all
WaitWindowOpen>Windows\system32\cmd.exe*
HOWEVER, if you WANT more control you can use RegEx. E.g.
Code: Select all
Let>WIN_REGEX=1
WaitWindowOpen>.*\\windows\\system32\\cmd.exe
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?