Community Chat

 View Only
last person joined: 2 days ago 

A space for discussion around the Community site and programs.

  • 1.  CAPS Lock

    Posted 07-14-2023 12:52

    Good day Team

    Not sure if someone can help with this.

    Is there a way to determine if the Caps lock key is on or off at all?

    Kind regards

    Gavin



    ------------------------------
    Gavin Rudling
    Digital Consultant & Developer
    Cog3nt
    Africa/Johannesburg
    0813906789
    ------------------------------


  • 2.  RE: CAPS Lock

    Posted 07-14-2023 13:20

    Hi @Gavin Rudling - You can use power shell command to enable caps lock and similarly vice versa-

    1) To Turn On the Caps Lock - Use below command -

    if ([console]::CapsLock -ne 'True')
    {
        $wsh = New-Object -ComObject WScript.Shell;
        $wsh.SendKeys('{CAPSLOCK}')
    }

    2) To Turn Off the Caps Lock - Use below command -

    if ([console]::CapsLock -eq $true) 
    {
        $wsh = New-Object -ComObject WScript.Shell
        $wsh.SendKeys('{CAPSLOCK}')
    }



    ------------------------------
    Kindly up vote this as "Best Answer" if it adds value or resolves your query in anyway possible, happy to help.

    Regards,

    Mukesh Kumar - Senior Automation Developer

    NHS, England, United Kingdom, GB
    ------------------------------



  • 3.  RE: CAPS Lock

    Posted 07-14-2023 14:31

    Hi Mikesh

     

    Great , thanks I will test this out.

    Thanks for your prompt response. Much appreciated.

     

    Kind regards

    Gavin

     






  • 4.  RE: CAPS Lock

    Posted 07-17-2023 16:21

    Cheers ! @Gavin Rudling 

    Additionally - you can find the utility powershell on DX : https://digitalexchange.blueprism.com/dx/entry/9648/solution/utility---powershell

    You would have to import the System.Management.Automatiion.dll in this location, if not already: C:\Windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35



    ------------------------------
    Kindly up vote this as "Best Answer" if it adds value or resolves your query in anyway possible, happy to help.

    Regards,

    Mukesh Kumar - Senior Automation Developer

    NHS, England, United Kingdom, GB
    ------------------------------



  • 5.  RE: CAPS Lock

    Posted 07-17-2023 16:30

    Hi Mukesh

     

    Thank you kindly for your advice and support. I used that exact VBO and the solution is working very well.

    Thanks again for the Powershell scripts. Much appreciated.

     

    Kind regards

    Gavin

     






Welcome to our 'Off-Topic' Community Chat!

A space for non-technical chat, tips for using the Community, and news from the Blue Prism Community Team.

This is not a Community for technical or Product related discussion. For a list of available communities, please visit our site map.

Introduce YourselfCommunity Tech TipsMeet The Team