AutoHotkey Community

It is currently May 27th, 2012, 6:53 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: WinActivate InputBox
PostPosted: September 23rd, 2011, 4:42 pm 
Offline

Joined: November 23rd, 2009, 2:11 pm
Posts: 104
Hello! I was using some code and though, hey it would be nice for my input box to come to the front of the screen when I hit the hotkey that makes it. I tried the code and then remembered that when an input box or message box is created, the code is essentially paused. I was wondering if there was an easy work around that does not have me making a gui.

Here is the code I tried:
Code:
AppsKey::
IfWinExist, AppsKeySearch
   {
   WinActivate, AppsKeySearch
   Return
}
InputBox, Search, AppsKeySearch,,,300,100
Return

_________________
  /\ /\ This is Kitty
(>';'<) Cut, copy, and paste kitty onto your sig.
((")(")) Help Kitty gain World Domination.

(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 23rd, 2011, 5:02 pm 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
#MaxThreadsPerHotkey 2 :?:

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 23rd, 2011, 5:18 pm 
Offline

Joined: November 23rd, 2009, 2:11 pm
Posts: 104
Thanks! Works like a charm!

_________________
  /\ /\ This is Kitty
(>';'<) Cut, copy, and paste kitty onto your sig.
((")(")) Help Kitty gain World Domination.

(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], migz99, sjc1000, Yahoo [Bot] and 67 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group