Reading the scroll lock key

How could I make LabVIEW read the status of the scroll lock key (on or off)?

Using an event structure will only tell you if you pressed the scroll lock key, it will not tell you the current state of the scroll lock LED on your keyboard. For that you need to call user32.dll. The function is: unsigned char GetKeyState(long nVirtKey). I use this to get the state of the caps lock key, for which I pass this function 20. I'm not sure what the value of scroll lock is.
I've attached my caps lock key VI so you can see how to do it.
Edit: beaten to the punch.
Message Edited by Marc A on 03-14-2007 11:25 AM
Attachments:
Caps Lock State.vi ‏8 KB

Similar Messages

  • I have a new wireless keyboard but it doesn't have the "Scroll Lock" key I need to work my printer.Any ideas please. I'm new it iMac.

    I have new iMac with a wireless keyboard. It doesn't have a "Scroll lock`' key (hot key) which I need to work a shared printer controlled by a manual share switch. does anyone have any suggestions to help please? 

    There is a key combination that operates the scroll lock function on your keyboard, try it and see if it works:
    The reason that the manual switch is mapped to the scroll lock is because it is a rarely used (sometimes never used) function, unfortunately that is exactly why it is vanishing, gone on some keyboards already.Consult the documentation for the switch, see if the function controlled currently by the scroll lock key can be remapped to another key.

  • Do S.O. knows what is the function of the Scroll-Lock key?

    I've asked a lot of people and nobody knows it.
    Thanks.

    I have. If it is on in Microsoft Excel, the arrow keys scroll instead of changing the selected cell.

  • I can't find the Scroll Lock button on my notebook

    was in a program when something happened to the box I had up on screen, was told to hit the scroll lock key, but I can't find the scroll lock key - can anybody help me??
    This question was solved.
    View Solution.

    Hi I was out in the world when I ran into the "No Scroll Lock" key / function on mt HP DVP Laptop.  Really, HP could not add a ctrl + function key for this? 
    There is an easier solution than hooking an external keyboard, especially if you are not in the home/office. 
    USE THE WINDOWS ON SCREEN KEYBOARD!  I found this on another post on the HP board. In Windows 7 you can easily find the On Screen Keyboard  by pressing the windows globe on the bottom right corner that brings up your 'Start Menu" and type in "On Screen" in the search box at the bottom.  You should see "On Screen Keyboard" app come up at the top.  Alternately, go to Control Panel, Ease of Access, and you will see "Start On Screen Keyboard".  Once enabled when you select the on screen application it comes right up.  You can leave the on screen minimized at the bottom if you need to toggle Scroll Lock on and Off. 
    So there is a solution that does not include finding an external keyboard.  But HP, this can't be a difficult thing to add to the bios, no?  Like Alt + Fn Num Lock? 

  • Scroll Lock key

    Hi I need to be able to turn on and off at my leisure the SCROLL LOCK KEY.
    How is it possible that I can not activate this key even with the virtual keyboards ?
    there must be the possibility to map this key to another key on the keyboard. I need to use this key SCROLL LOCK to work with excel and beyond.
    Plus if you buy a keyboard ( not apple ) that uses that key for some functions, such functions can I use this ?
    seems absurd to me that there is a possibility via the terminal, via dedicated app or other way to be able to map this key on the keyboard of the Mac. in particular find it ridiculous that this problem is present only on Mac OS X. I have a MacBookPro 15 "early 2011 with OS vers , 10.7.5

    It has been years, but wasn't Scroll Lock just a toggle for Control-S / Control-Q to tell the serial port device driver to pause and continue sending data to the terminal?
    I haven't actually used serial port flow control since the last time I used a dial-up modem into work BEFORE everything was done over the internet.
    Or is this some Windows retasking of the original Scroll Lock found on real physical terminals?
    If I may ask, what are you doing with Scroll Lock?
    Karabiner has some remappings that mention Scroll Lock.  Maybe they are something you are looking for.

  • Missing Scroll Lock key on DV7-4045ea

    I can't find the Scroll Lock key on the 4045ea and need it. Is there one? I can't understand why there wouldn't be.

    Yes, I noticed this as well. The workaround I have is, go to Windows and search for "On Screen". You will get to the On Screen Keyboard where you can toggle the Scroll Lock.

  • Scroll Lock key not found on my keyboard

    I have this HP keyboard with my pc. Unfortanetly, a program i am running requires i need a scroll lock key, and there is none that i can find on the pc. Can you tell me where it is located on the keyboard for my desktop pc? Thanks in advanced!

    The three keys on the right have speakers on them. The left one has a speaker with a crossed out sign, the middle one shows a speaker with the - next to it, the right one shows a speaker with a + next to it. So is the the speaker with the minus sign on the scroll lock key?
    Actually there are 4 keys on the right..three with speakers and the sleep button (it shows a moon underlined). I think the moon underlined key is for sleep mode on the pc.
    Here is the layout of the right of my pc's keyboard, from the left key above the home key:
    {INSERT} {PAUSE/BREAK} {SPEAKER CROSSED OUT} {SPEAKER WITH MINUS SIGN} {SPEAKER WITH PLUS SIGN} {MOON UNDERLINED}

  • HT1216 scroll lock key

    i accidentally functioned scroll lock key. I couldn't disable it. I don't have a F14 key.

    Press Fn + C. This is the key combination for Scroll Lock.
    I found this out by mistake when trying to press CTRL+C, as I have Fn and Ctrl reversed and sometimes forget that if I look down at the keyboard.
    [Lenovo Edge 13, Type 0197-26U w/ 4 GB RAM]

  • Scroll Lock key missing on a W540

    Well, we do have many things missing on this Workstation (see other comments), but here is the latest discovery.
    All last week I needed to do some cross referencing of Excel worksheets and Access databases.  I use "Synkronizer", and excellent Excel comparator who's author fears piracy and links the application to the machine and checks EVERY USE!.  So I'm not at liberty to move the application easily.
     When needed I export an Access table to Excel, and compare, merge, etc, then reimport into Access or work in Excel....  Long story. BUT the issue.  ^K (Ctrl-K)  which is the cryptic Scrl-Lock key on this so called workstation with 4 dumb wasted keys in the upper right hand, does not work within two Excel sheets.
    The work around is within Excel, using [Syncronized Scrolling], and [View Side by Side]. BUT now it forces an horizontal scroll, when a vertical would be desireable. What a pain!
    After I got back, I tested the same thing on my desktop, WITH A REAL SCROLL LOCK KEY, and it worked correctly.
    If there was a REAL scroll-Lock key on the W540, this would not be an issue.
    What is the point?
    The W540 is NOT a Workstation. If you do not program, work in Excel or Access, then this is a moot point.  The W540 is a dumb terminal for cloud applications, surfing, eMail, watching YouTubes and videos.
    For this one, there is really NO workaround.
    Am I wrong?  Has someone tested the multiple windows scrolling on Excel, and locked from the keyboard two sheets?  I also discovered a similar issue when comparing two ASCII files in my editor.

    Yes, I noticed this as well. The workaround I have is, go to Windows and search for "On Screen". You will get to the On Screen Keyboard where you can toggle the Scroll Lock.

  • The cap lock key doesnt work sometimes, why? 13 pro(2013, late)

    The cap lock key doesnt work sometimes, why? 13 pro(2013, late)

    Hi, BOSCO_LIN. 
    Here is a helpful article that will walk you through troubleshooting the issue with your caps lock not responding.
    One or more keys on the keyboard do not respond
    http://support.apple.com/kb/ts1381
    Regards,
    Jason H.

  • When using scroll lock key to save work what keys do I use

    When using scroll lock key to save work what keys do I use

    Welcome to Apple Support Communities
    To mirror your Mac's display onto your TV, press Command and F1 keys. Read > http://support.apple.com/kb/HT5019

  • HT5636 F14 took the lock off the "Scroll Lock" None of the suggestions above worked!!!

    The Keyboard instructions are not correct. I couldn't get the "Scroll Lock" to turn off using the instructions Apple gives. I hit F14 and that turned off "Scroll Lock". It did not "print Screen.

    What you need to do is triple-press the HOME BUTTON three times. You will be prompted to enter your passcode. This will bring up the options for guided-access mode and you will then need to click "End" in the top corner.
    Guided-access mode must have accidentally been enabled by triple-clicking the home button.

  • Lenovo W510 scroll lock stuck - no scroll lock key

    I know this has been brought up before, but I cannot remove the scroll lock from Excel as there is no scroll lock button.  I have tried Fn+C, Fn+delete to no avail.  It must be there somewhere??
    Help wanted please.
    Solved!
    Go to Solution.

    Hi, Anton8
    I did some research and found this document from Microsoft that may help. If Scroll Lock is turned on, but there is no Scroll Lock on your keyboard, then you may want to try using the On-Screen Keyboard and see if it is enabled there, There is also a setting on the status bar that should allow you to disable it.
    Hope it helps,
    Adam
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

  • Ssh with two or more private keys using ~/.ssh/config read the wrong private key

    Hi,
    I have created a config file in ~/.ssh/ to be able to connect to remote sites using different private keys per site.
    The problem is when I try to connect to any of them ssh reads the wrong private key dispite of the configuration in ~/.ssh/config file.
    For example:
    Host vps
       Hostname x.x.x.x
      User guesswho
       IdentityFile vps.pk
    Host home
      Hostname y.y.y.y
      User home
      IdentityFile home.pk
    >ssh -v vps ( connects using home.pk)
    >ssh -v -i ~/.ssh/vps.pk ( connects using home.pk)
    I tried it on a Ubuntu 10.04.3 LTS using same config file and keys (openssh-server 1:5.3p1-3ubuntu7) and it worked as expected.
    Any help would be appreciated.
    zcookie

    My question is do I have to create a separate private key from my imac or can I just copy the private key from my macbook?
    Do you have to create separate private keys? No, but there are reasons why you might want to.
    The biggest one is the fact that if any key is compromised, they are all compromised (since they are the same). Say, for example, your MacBook is lost or stolen. You really should consider disabling the MacBook's key from authorized_keys to prevent the finder/thief from getting into your server. If that one key is shared by multiple hosts, though, you're going to lock out all the other hosts as well, even though they haven't been affected.
    Having separate keys per client lets you nix just the key for the MacBook (or whichever machine) without impacting the other machines' ability to connect.
    Other than the trivial amount of work it takes to create a private key there's really no overhead in having unique keys per client machine. If, however, you really want them to be the same, knock yourself out

  • When i press the i key with the shift key nothing happens. I can get a capital i only by pressing the cap lock key whats wrong.

    When i press the i key with the shift key nothing happens. the only way I can get a capital i is by using the caps lock key what is going on. Also from time to time my mouse acts like someone is sitting on it. this stops when i press the command key. i am using the lateist wireless mouse and keypad.

    does it only happen with the i key?
    if it doesnt then try presing shift first then i (or any key) second instead of at the same time.
    if it only happens with the i key then what i would do is take the keyboard and mouse to an apple store and ask them if they will hook it up on their computer to see if it is the keyboard or computer.

Maybe you are looking for

  • [SOLVED] Cups problems - Can't print (Epson DX7450)

    Edit: It's all good since libcups 1.3.10 except Firefox can't print for some reason, but I'm willing to let that one go Note: Already posted this in Newbie Corner before I realised it belonged here. There it is marked [SOLVED-MOVED] with a note. Sorr

  • One prompt for two or more subject area

    Does someone knows how to resolve this problem? I have two subject areas. And I need to create prompt that will work on dashboard that contain requests from two different subject areas (one request from one subject area). I hope that I was clear with

  • Start and stop a wiggle at intervels on same layer

    I have a dot that fly's around my comp. When it stops it wiggles and buzzes and then stops wiggling. I need it to move on to the next spot and then wiggle again. Then onto the next spot and repeat. I am able to do this wiggle or buzz once but I don't

  • After 10.5.8 update, X11 is completely broken

    Hi, I just got the 10.5.8 update on 8/10/2009 and now X11 is completely broken. Looking at the logs I found: Aug 11 12:00:04 aarons-macbook-air org.x.startx[2307]: Xquartz starting: Aug 11 12:00:04 aarons-macbook-air org.x.startx[2307]: X.Org X Serve

  • Help with Select Decode Round

    Hi, If anyone could help me with this. I need to round all these numbers in the DECODE but without repeating ROUND. This way works: SELECT title "Title", category "Category",retail "Current Price", DECODE(category, 'COMPUTER',(ROUND(retail * 1.1,2)),