Disable CTRL

Integrating and modifying Proof's amazing mini-calendar.
Posts: 91
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Fri Jul 17, 2009 7:46 am
How can I disable the CTRL function. I'd like it so if someone holds the CTRL key, it just acts like they are not holding it at all (should act like a regular click without keys).
SeedCode Staff
SeedCode Staff
Posts: 2760
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sat Jul 18, 2009 10:15 am
No problem. Edit the script "NinjaCal ( action ; params )" and find the line that looks like this...

Else If[( Get( ActiveModifierKeys ) = 2 ) or ( Get( ActiveModifierKeys ) = 4 )]

...and change that to this...

Else If[( Get( ActiveModifierKeys ) = 2 ) or ( Get( ActiveModifierKeys ) = 4 ) and 1 = 2]

..but adding "and 1=2" without quotes to the end of the line. That "switch" will turn off the line.

That's it.
John Sindelar
SeedCode

Return to NinjaCal

Who is online

Users browsing this forum: No registered users and 1 guest

cron
(855) SEEDCODE
support@seedcode.com
Follow us: