AutoHotkey Community

It is currently May 27th, 2012, 1:23 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: August 31st, 2008, 7:11 am 
Offline

Joined: March 11th, 2008, 11:36 pm
Posts: 291
strange..
anyways it'll be working

Code:
BlockInput, MouseMove
Return

~LCTRL::
if !Toggle
{
    BlockInput, MouseMoveOff
    KeyWait, LCTRL
    BlockInput, MouseMove
}
else
    KeyWait, LCTRL
if (A_PriorHotkey=A_ThisHotkey && A_TimeSincePriorHotkey <= 500)
{
    Toggle := !Toggle
    BlockInput, % Toggle ? "MouseMoveOff" : "MouseMove"
    ToolTip % Toggle ? "Off" : "On"
    SetTimer, ToolTipOff, 1500
}
Return

ToolTipOff:
ToolTip
Return

_________________
Easy WinAPI - Dive into Windows API World
Benchmark your AutoHotkey skills at PlayAHK.com


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, oldbrother and 18 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