Unix command to turn "off" caps lock or turn it "on" on lab machines

Hi,
I'd like to be able to send a unix command to a lab of panther eMacs. I'm using Apple Remote Desktop 3.2 I would like to send both "turn on cap locks" to all the machines, or "turn off cap locks to all the machines.
Many of my "Send Unix Command" are applescripts (osascript....) so either a unix command or applescript command would be welcome.
Thanks!

Well, I've been busy trying some things and found a beautiful little applescript that will turn off caps lock on 10.4 machines and newer. I'll paste it in below. Here's the problem...
I can't seem to get it to run in ARD as a unix command. (I put the osascript as first line when I pasted it in... This usually works for sending applescript commands)
So, any ideas on how to get it to run as a unix command??
IS THERE ANYWAY TO GET THIS TO WORK ON PANTHER MACHINES?? (they don't have the "modify keys..." button in the keyboards and mice pane of sys prefs). The bulk of our machines (over 300 are eMacs running panther).
*** script ******
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.keyboard"
end tell
tell application "System Events"
tell application process "System Preferences"
get properties
click button "Modifier Keys…" of tab group 1 of window "Keyboard & Mouse"
tell sheet 1 of window "Keyboard & Mouse"
click pop up button 1
click menu item "No Action" of menu 1 of pop up button 1
delay 3
click button "OK"
end tell
end tell
end tell
tell application "System Preferences" to quit

Similar Messages

  • TURNING OFF Caps LOCK ?

    Hi,
    Is there a way to TURN OFF CAPS LOCK ?
    I keep hitting Caps Lock without knowing it
    and would LOVE to be able to turn it OFF
    SOMEHOW ?? Can you HELP !
    Warm Regards,
    Nysqualli
    PowerBook G4   Mac OS X (10.3.9)  

    Welcome to the Apple discussions.
    Install Double Command, available from http://doublecommand.sourceforge.net/ . This will allow you to specifically disable the caps lock key. Make sure it will work with 10.3.9 before installing.

  • Turn off Caps Lock automatically

    How can I read Caps Lock situation automatically ?
    And How do I turn off Caps Lock automatically ?
    I have attached program.
    Thanks
    Attachments:
    Virtual Keyboard 2009.vi ‏21 KB

    see here
    Did you do a forum search first?
    CLA, LabVIEW Versions 2010-2013

  • How to turn off caps lock

    I find the caps lock key to be a great annoyance. How do I turn it off?

    Adrian Clarke1 wrote:
    Niku wrote:
    Thanks, but that link you supplied for "DoubleCommand" didn't lead anywhere. Are you sure that's the exact phrase?
    That's weird! I've written the link properly but somehow it got banjaxed.
    A Brody has posted a direct link.
    Sorry about the duff link, Apple Forum SW glitch?
    Adrian
    The fault was mine, but I finally got past THAT misunderstanding. Now...hey, everything's finally okay. The Caps Lock key is lighted up, but I'm typing small letters.
    Thanks for your help. I have to wonder, though, why they make such a simple change so difficult. Well, the important thing is that I finally fixed the problem with your help. Thanks a million.
    Niku

  • Turn off caps lock/num lock

    Mine is stuck on. Supposedly you turn it off by simply pressing the shift key. On my phone this changes it back and forth from num lock to caps lock. Help please!
    Solved!
    Go to Solution.

    Take the battery out for 10 seconds.

  • Turn Off Caps Lock Notification (Tried many ways but none work)

    I recently bought a Lenovo Y50-70 and I use Caps lock for gaming but the black and yellow icon notification for caps lock is very annoying. I have Windows 8.1 and I'm looking to looking to turn this option off.
    I have researched ways to end this but have tried going into regedit, Display, Ease of Access and msconfig to no avail.
    There is no Widcomm file in my registry, Display's advanced settings do not have an option and neither does Ease of Access.
    I know that I can turn off all on screen notifications and therefore solve this problem but I don't want to do that. If anyone has an answer, much will be appreciated.

    Solemn wrote:
    I recently bought a Lenovo Y50-70 and I use Caps lock for gaming but the black and yellow icon notification for caps lock is very annoying. I have Windows 8.1 and I'm looking to looking to turn this option off.
    I have researched ways to end this but have tried going into regedit, Display, Ease of Access and msconfig to no avail.
    There is no Widcomm file in my registry, Display's advanced settings do not have an option and neither does Ease of Access.
    I know that I can turn off all on screen notifications and therefore solve this problem but I don't want to do that. If anyone has an answer, much will be appreciated.
    As I understand your problem only occur while playing a game, why not look into the game's setting?

  • How do i turn off caps lock/numbe​r lock notificati​on.

    I purchased a computer today and the only thing wrong is the caps lock /number lock notification that pops up in the right hand bottom of the screen. Whenever I press CTRL ATL Delete, the app that is runnning is called, HPKEYBOARD status. I tried to end it, it stopped temporarily. But when i restart the computer the problem is back, please help.

    Hello @Flashster,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how you are looking to disable the caps lock/number lock notification on your desktop's display screen, and I would be happy to assist you in this matter!
    In order to remove HPKEYBOARD status from your startup programs, you will need to disable by following this document on Using Microsoft System Configuration (Windows 7). The Quick Launch application responsible for HPKEYBOARD should be among the services to disable.
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • How to turn off caps lock on my droid

    So, since I downloaded to new update, my keyboard is automatically set up on caps lock.  It's really annoying having to change it every time I text.  I've looked at the settings options, but can't figure out how to change this.  Anyone know what I should do?  Or have any suggestions?  Thanks!

    When you first open your messenger and the keyboard comes up, hold the CAPS LOCK for 3 seconds and it will switch to lower case. Then exit the messager and go back in to see if it is set to lower case. Let me know if that works.

  • Turn off scroll lock

    I have a 2011 MacBook Pro and cannot turn off scroll lock, so when using Excel the arrow keys move the spreadsheet rather than the next cell.  I have searched numerous threads and all refer to F14 plus either shift or command but I can't find any reference to the shortcut for F14.

    Hi,
    I had the same problem (Macbook Air) and the only way I could solve it was by plugging in a USB keyboard (it was a microsoft keyboard) then pressing shift-Scroll Lock.
    Simply pressing Scroll-Lock only activated the keyboard illumination control so did not work.

  • TS1578 I can't turn off caps on my air ... It's driving me crazy !

    Pls help ... No matter what I do I can't turn off caps on my mac air ... Help

    Your caps lock may be physically stuck on in which case you may need to use Apple Warranty to get it fixed.  Is the little green light on the Caps Lock key illuminated? Does it go off if you press the caps lock key? 
    Before taking it in to Apple, first try switching the computer off and then back on again - this may reset it.
    If not, try a PRAM reset:
    http://support.apple.com/kb/ht1379

  • How can I turn off the ability to turn off the phone from the lock screen for more security?

    How can I turn off the ability, to turn off the phone, from the lock screen for more security?

    There is no such option.
    There will be some additional features included with iOS 7.
    http://www.tuaw.com/2013/06/10/ios-7-to-include-security-feature-dubbed-activati on-lock/

  • HT4113 Can not turn off passcode lock

    I can not turn off passcode lock. I see it and it is grayed out. I can change the password, etc. but I can not turn it off  I plugged the phone into a friends computer a few days ago to charge it. Does that have something to do with it?

    There is an exchange account on the device and the Admins of that account require a passcode lock on the device.

  • Turning off Opportunistic Locking in Windows 2012 Server?

    I have recently switched my database hosting and am having trouble with "Hour Glass" for about 20-30 seconds when trying to save files.  I have contacted my application company (Resumate..........database,CRM built on an ACCESS type platform)
    and we are brainstorming solutions.
    One solution is to turn off opportunistic locking as Windows might actually be locking the file (We have five users using the same file connecting using Remote Desktop Services).  Our system has worked seemlessly with our other hosting
    option but this delay when trying to save files is not acceptable.
    SO, HOW DO WE TURN OFF OPPORTUNISTIC LOCKING IN WINDOWS SERVER 2012 R2?
    Thanks Phil H.   Charlotte, NC

    Hi,
    As you may notice that we cannot disable Opportunistic locking in using SMB2 or SMB3.
    See:
    https://login.live.com/kb/296264/en-us
    The opportunistic locking registry keys are valid only for traditional SMB (SMB1). You cannot turn off opportunistic locking for SMB2.
    From your description it is the limitation of the application - SMB2 comes with Windows Vista /Windows 2008, which means the vendor of the application did not recommend to use SMB2 or the application is released for earlier systems while SMB2 is not available
    at that time.
    If there is no update version, you can try to disable SMB2/3 on server to workaround it. Please run this cmdlet:
    Set-SmbServerConfiguration -EnableSMB2Protocol $false
    More information please refer to:
    How to enable and disable SMBv1, SMBv2, and SMBv3 in Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8, and Windows Server 2012
    http://support.microsoft.com/kb/2696547
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • HT5019 unable to get turn on display after turning on the power button ,no caps lock is turning on too,even a light at unlock button to open display is not going down , mine was a late 2008 mac book pro ( 17 inch ).please help me to solve my problem

    unable to get my screen on even after turning on power button .
    light at display unlock was not going down ,
    no caps lock button turning on .
    please help me to rectify my problem apple community

    unable to get my screen on even after turning on power button .
    light at display unlock was not going down ,
    no caps lock button turning on .
    please help me to rectify my problem apple community

  • Iphone 4s won't turn on. broken lock button. It just randomly turned off and won't turn back on. Can't go to apple store because going on vacation. Please help

    iPhone 4ws won't turn on. I have a broken lock button. It just randmoly turned off and won't turn on. I can't go to the apple store because I'm going on vacation. Someone please help

    Your phone is broken; there's no magic solution for you.  You can try plugging it in to wall power and see if this turns the phone on, but if it doesn't, you can either go on vacation without your iPhone, or make the time to visit the Apple store before you leave.

Maybe you are looking for