| View previous topic :: View next topic |
| Author |
Message |
padarrju
Joined: 23 Jan 2006 Posts: 37 Location: Vadodara - Gujarat (INDIA)
|
Posted: Thu Sep 07, 2006 11:41 am Post subject: How to open a window with title stored in a variable ... |
|
|
Hi,
I have a small question. I need to activate a window with a variable name.
Say, winactivate, %mywintitle%
Is it possible ? If yes, then how ?
Best Regards,
Raju C Padaria |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Thu Sep 07, 2006 11:47 am Post subject: |
|
|
| Code: | | WinActivate, %mywintitle% | What about to pay me a license fee !  |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Thu Sep 07, 2006 11:54 am Post subject: |
|
|
"Is it possible ?"
Yes.
If yes, then how ?
winactivate, %mywintitle%
You answered yourself, so I don't see where the problem is. You just have to try yourself.
Of course, you have to put something in the variable:
mywintitle = AutoHotkey Help
before the WinActivate. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
|