Jump to content
Sign in to follow this  
foolove

Can I regex WinWaitActive

Recommended Posts

foolove

Pretty simple question here can I regex on a WinWaitActive

below would be my regex statement

\d{4}-\d{2}-\w{2}\d{5}-.*

Share this post


Link to post
Share on other sites
foolove

also sorry for teh double post how would I add this if I could also i know the regex can be somewhat different from language to language as far as implementing syntax to add teh logic

Share this post


Link to post
Share on other sites
foolove

could you provide an example thanks for the prompt response

thanks

Share this post


Link to post
Share on other sites
foolove

I am very new to the coding language and I am sure it would take me many hours to figure out the one thing coudl someone please help on this

thanks

Share this post


Link to post
Share on other sites
Jos

I am very new to the coding language and I am sure it would take me many hours to figure out

Will be a good learning experience... :graduated:

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
foolove

Ultimately I think instead of a regex approach that I was tackling earlier I have two questions.

1) How can I combine WinClose and WinActive together to close the current active window? It be nice to have an example of thise combo.

2) I need to hold the ctrl key then hit a then hold ctrl key then hit c to do a copy of the content im opening

Trying to accomplish the two above things go easy I am very new to all this also it would be extremely nice if users would join irc.freenode.net ##autoitscript a guy on the forum is trying to form an irc chat channel on there.

I do like having the forum but I will say when I was learning perl and now would consider myself pretty solid with perl the irc perl channel on freenode was very optimal for doing so and I would not have been able to learn as quickly or efficiently without it.

Also every major coding language there is has a presence of a support channel on freenode just my two cents on that thanks to anyone that can help on the above though. The guy posted about the IRC channel and was immediately flamed just saying I totaly disagree I think users should support the idea.

Share this post


Link to post
Share on other sites
Jos

Listen my friend, you need to stick to one topic and stop firing questions here which do not show much effort from your side.

I will merge this thread with the previous one and expect from you to make a start and come back when you get stuck.

You then show what you have and what the issue is.

clear?

Also every major coding language there is has a presence of a support channel on freenode just my two cents on that thanks to anyone that can help on the above though. The guy posted about the IRC channel and was immediately flamed just saying I totaly disagree I think users should support the idea.

Just get experienced enough to start it yourself.... have fun.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Bowmore

In reply to your original question, it is possible to use a regex to match a windows title using this syntax as shown in the help file.

WinWaitActive( "[REGEXPTITLE:\d{4}-\d{2}-\w{2}\d{5}-.*]" , "")

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

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  

×