Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 10, 2016, 08:12:40 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift  (Read 22206 times)

TWmailrec

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 125
    • View Profile
    • Donate to Member
 8)
I am constantly finding CAP-SHIFT enabled and text entered has to be re-typed.
(Probably due to key re-map on grey Enter). What is needed is a program to do the following:
If Caps Shift is ALREADY ON, pressing Shift key unsets Caps-shift and capitalizes only while SHIFT is pressed.
 
tHIS WOULD AVOID HAVING WRONGLY CAPITALISED TEXT AS NEW LINES/SENTENCES
START WITH A capital LETTER.

cAN ANYONE HELP? Perhaps a program already exists, or an ahk can be created?
 
« Last Edit: March 07, 2006, 01:25:53 AM by brotherS »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #1 on: March 06, 2006, 05:20:49 PM »
 :) Almost too short, this one!

Or you could try CAPshift from my 1 Hour Software page.

Skrommel


;CapShiftOff.ahk
; Pressing Shift turns off CapsLock
; To run, download and install AutoHotkey from www.autohotkey.com
;Skrommel @2006


#SingleInstance,Force
#Persistent
Return

~*Shift::
SetCapsLockState,Off
Return
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

TWmailrec

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 125
    • View Profile
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #2 on: March 09, 2006, 11:54:49 PM »
I didnt realise  it was that easy!

Many thanks for the code - Ill try it out

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 7,725
    • View Profile
    • The Blog of Deozaan
    • Read more about this member.
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #3 on: March 10, 2006, 01:23:42 AM »
Windows XP has functionality to beep at you when you press any of the "lock" buttons (Caps, Num, and Scroll). It scares the willies out of my mother (she always has her speakers turned up loud) but it's quite useful for catching that accidently "Lock" press.

If you've got the shortcut enabled, all you have to do is hold down the Num Lock key for five seconds and it will start beeping when you press the "Lock" keys. Otherwise just go into your Accessibitlity Options and enable ToggleKeys from the Keyboard tab.


TWmailrec

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 125
    • View Profile
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #4 on: March 16, 2006, 06:43:54 PM »
Re: IDEA: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift BY Skrommel
 :(:(
One unfortunate byproduct of this program is that if Caps Shift is on
intentionally, and raised keys accessed (eg !"£$%^&*()}{~@:),
Caps Shift is reset by the program.
This would also apply to Shift+:{F1}-{F12},
Ctrl-Shift+: keys, Alt-shift keys, [used in WORD macros]
Shift+::{Delete}{Insert}{Up}{Down}{Left}{Right}{Home}{End} etc
Shift+::{Ctrl}{Alt}{LWin}{RWin}{AppsKey} &
Shift+:{Numpad0}-{Numpad9}
Shift+:{NumpadDot}{NumpadPgDn}

Is there any way to restrict macro to letters A to Z, & a to z ??

TWmailrec :'( :'(

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #5 on: March 16, 2006, 08:19:30 PM »
:) This should do the trick!

ShiftOff - Turns off CapsLock when Shift is pressed together with A-Z, and a few other keys.

You'll find the downloads and more info at 1 Hour Software by Skrommel.

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
« Last Edit: March 16, 2006, 10:02:07 PM by skrommel »

TWmailrec

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 125
    • View Profile
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #6 on: March 17, 2006, 09:55:16 PM »
 Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift

Latest code from Skrommel works great - but original exe prog needed
adjustment as caused error:
 
    Error at line 26             (& Line 27)
    Linetext  +/E  Up
    Error Invalid Hotkey
    The program will exit

So I REMd lines 26,27 & 28 (which caused same error), and program now works well!
What functions of program are affected??

TWmailrec
« Last Edit: March 17, 2006, 10:02:35 PM by TWmailrec »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #7 on: March 18, 2006, 02:32:19 AM »
 :tellme: Nothing, they are just additional hotkeys, the norwegian Æ,Ø and Å. I think I'll add an option to include more keys, instead of having to edit the source code.

But I can't understand why you get an error? Anyone else get this behaviour?

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #8 on: March 18, 2006, 03:41:48 AM »
 :) Try ShiftOff v1.1.

I added a settings dialog for changing the keys.

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

TWmailrec

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 125
    • View Profile
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #9 on: March 18, 2006, 11:49:30 AM »
To Skrommel

Great idea.
1st attempt revealed error key Æ, so I removed ÆØÅ from ini file
and program works well. I dont know why these keys are rejected

TWmailrec

wasker

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 52
    • View Profile
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #10 on: March 19, 2006, 12:59:44 PM »
Shameless plug: I Hate This Key Deluxe Edition. :D
It deals with all bad keys around here: Caps, Num, F-Lock, Power, Sleep, Insert, Apps and ahhh... Win key. ;D

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift
« Reply #11 on: March 20, 2006, 02:53:02 AM »
i hate this key looks quite good wasker, nice work!