DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: ShiftOff modification  (Read 17,207 times)

Knutchen

  • Participant
  • Joined in 2008
  • *
  • Posts: 12
IDEA: ShiftOff modification
« on: June 21, 2008, 08:14 PM »
Skrommel writes about ShiftOff: "Turns off CapsLock when Shift is pressed together with A-Z or other user defined keys." And it really does. I think most times when CapsLock is activated unintentionally it happens by accidently hitting CapsLock instead of Shift.

I therefore ask for a ShiftOff modification. When ShiftOffMod is active, Shift + Key should work as usual, CapsLock should work as usual, but CapsLock + selected Key should be equivalent to Shift + selected Key. In other words, CapsLock behaves like Shift in selected cases.

Knutchen

yotta

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 50
Re: IDEA: ShiftOff modification
« Reply #1 on: June 21, 2008, 09:17 PM »
yes

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: ShiftOff modification
« Reply #2 on: June 21, 2008, 10:48 PM »
:) Something like this?

Skrommel


Code
;ShiftCap.ahk
; Make CapsLock work like Shift
;Skrommel @ 2008

capslock::lshift

Knutchen

  • Participant
  • Joined in 2008
  • *
  • Posts: 12
Re: IDEA: ShiftOff modification
« Reply #3 on: June 22, 2008, 05:21 AM »
Yes. The code you sent makes CapsLock work like shift. CapsLock completely does not work when ShiftCap.ahk is runnnig.

I would like to restrict this behaviour to cases when CapsLock + selected Key is pressed. ShiftOff.ahk diables CapsLock when CapsLock + selected Key is pressed, but does otherwise not affect CapsLock's function. I would like ShiftCap.ahk to act in a similar way. I will try to modify ShiftOff.ahk in this way and tell.

Knutchen

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: ShiftOff modification
« Reply #4 on: June 22, 2008, 10:18 AM »
:) Here's ShiftOff v1.2!

ShiftOff - Turns off CapsLock when Shift is pressed together with A-Z or other user defined keys.

Also makes CapsLock work like Shift when pressed togheter with A-Z or other user defined keys.

Skrommel
« Last Edit: August 02, 2008, 10:05 PM by skrommel »

Knutchen

  • Participant
  • Joined in 2008
  • *
  • Posts: 12
Re: IDEA: ShiftOff modification
« Reply #5 on: June 22, 2008, 10:36 AM »
Thanks a lot, Skrommel!

This is exactly what I wanted!

Best regards

Knutchen

Original address: https://www.donationcoder.com/forum/index.php?topic=13787.0