AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to open a window with title stored in a variable ...

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
padarrju



Joined: 23 Jan 2006
Posts: 37
Location: Vadodara - Gujarat (INDIA)

PostPosted: Thu Sep 07, 2006 11:41 am    Post subject: How to open a window with title stored in a variable ... Reply with quote

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
View user's profile Send private message
BoBo
Guest





PostPosted: Thu Sep 07, 2006 11:47 am    Post subject: Reply with quote

Code:
WinActivate, %mywintitle%
What about to pay me a license fee ! Laughing
Back to top
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Thu Sep 07, 2006 11:54 am    Post subject: Reply with quote

"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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group