AutoHotkey Community

It is currently May 27th, 2012, 8:26 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: February 7th, 2012, 2:32 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1019
hello!

I try to write this script:

Code:
#IfWinActive someclass
PrintScreen::
commands....


but it keeps taking screenshot!

any idea?

thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2012, 2:58 pm 
Offline

Joined: December 2nd, 2010, 11:14 pm
Posts: 214
Location: Poland
Code:
#IfWinActive ahk_class someClass
PrintScreen::
; commands


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2012, 3:27 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1019
trismarck wrote:
Code:
#IfWinActive ahk_class someClass
PrintScreen::
; commands


thanks but I already use that


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2012, 3:32 pm 
Offline

Joined: July 10th, 2008, 8:49 am
Posts: 1865
Location: Brussels, Belgium
azure wrote:
trismarck wrote:
Code:
#IfWinActive ahk_class someClass
PrintScreen::
; commands


thanks but I already use that


So you are doing it wrong because it's working fine :

Code:
#IfWinActive ahk_class Notepad
PrintScreen::Msgbox Ok
#IfWinActive


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Google Feedfetcher, hyper_, immunity, sjc1000 and 76 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