AutoHotkey Community

It is currently May 26th, 2012, 11:26 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: November 14th, 2009, 4:27 pm 
How to deactivate/re-activate script.ahk with 1 or 2 hotkeys?

Must go fast.

Love AHK. Use it 8+ hours daily in my job as a telephoen interviewer. Saves a ton of work!

[ Moderator!: Moved from Scripts and Functions ]


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 14th, 2009, 4:34 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
Just to let you know there's a separate forum called Ask for Help which is aimed to this type of posts :roll:...

AKA "Wrong section alert"

Anyway there's a command called "Pause" that can be used to pause and unpause the script:
Code:
; Do stuff here

#p::Pause, Toggle

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 14th, 2009, 5:13 pm 
Tab & NumPad7:: Suspend
return

This works - but my Tab-key does not work any more?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 17th, 2009, 9:47 pm 
Offline

Joined: October 29th, 2006, 4:09 am
Posts: 39
Location: A2 MI
Anonymous wrote:
Tab & NumPad7:: Suspend
return

This works - but my Tab-key does not work any more?


Use a different modifier such as Ctrl or Shift, or Ctrl+Shift
E.g. ^NumPad7 !NumPad7 or !^NumPad7, respectively. (I didn't doublecheck that this works with NumPad7)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 12:35 am 
Offline

Joined: November 16th, 2009, 9:24 am
Posts: 114
This quick test works for me:

Code:
#o::Suspend

#i::MsgBox Hello


Windows+I doesn't trigger the MsgBox on every odd press of Windows+O.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Cerberus, Leef_me, Maestr0, XstatyK, Yahoo [Bot] and 73 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