Welcome Guest.   Make a donation to an author on the site October 22, 2014, 10:31:00 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Free DonationCoder.com Member Kit: Submit Request.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: If Caps Shift ALREADY ON, pressing Shift key unsets Caps-Shift  (Read 19342 times)
TWmailrec
Charter Member
***
Posts: 122



see users location on a map View Profile Give some DonationCredits to this forum member
« on: March 06, 2006, 10:23:39 AM »

 Cool
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 » Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: March 06, 2006, 05:20:49 PM »

 smiley Almost too short, this one!

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

Skrommel


[copy or print]
;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
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
TWmailrec
Charter Member
***
Posts: 122



see users location on a map View Profile Give some DonationCredits to this forum member
« 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
Logged
Deozaan
Charter Member
***
Posts: 6,417



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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.
Logged

TWmailrec
Charter Member
***
Posts: 122



see users location on a map View Profile Give some DonationCredits to this forum member
« 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
 SadSad
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 Cry Cry
Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: March 16, 2006, 08:19:30 PM »

smiley 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
« Last Edit: March 16, 2006, 10:02:07 PM by skrommel » Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
TWmailrec
Charter Member
***
Posts: 122



see users location on a map View Profile Give some DonationCredits to this forum member
« 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 » Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« 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
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #8 on: March 18, 2006, 03:41:48 AM »

 smiley Try ShiftOff v1.1.

I added a settings dialog for changing the keys.

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
TWmailrec
Charter Member
***
Posts: 122



see users location on a map View Profile Give some DonationCredits to this forum member
« 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
Logged
wasker
Charter Honorary Member
***
Posts: 52


View Profile Give some DonationCredits to this forum member
« Reply #10 on: March 19, 2006, 12:59:44 PM »

Shameless plug: I Hate This Key Deluxe Edition. cheesy
It deals with all bad keys around here: Caps, Num, F-Lock, Power, Sleep, Insert, Apps and ahhh... Win key. Grin
Logged
mouser
First Author
Administrator
*****
Posts: 33,573



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: March 20, 2006, 02:53:02 AM »

i hate this key looks quite good wasker, nice work!
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.036s | Server load: 0.32 ]