Git Product home page Git Product logo

fn-key-lock's Introduction

FN Key Lock

A Script to simulate custom hardware (F1-F12) FN key lock on windows

Screenshot

Features

  • Simple and Quick
  • Launch custom hotkeys or any apps with FN
  • Auto-enable or Auto-start on boot

Installation:

Press Ctrl+Alt+L to toggle Lock.

How to Install

  • Download fnlock.exe file from releases.
  • Place it anywhere on your system.
  • Double Click fnlock.exe and It will show up in your tray.
  • Enjoy!

How to Remove

  • Exit fnlock.exe from the tray (If it is already running).
  • Delete fnlock.exe file and optionally delete config.ini file from Documents directory of your windows.

Starting Automatically with Windows

  1. Open the UI via tray->FN Lock->Right-Click->Show
  2. Enable the Automatically run on startup option
  3. Voila!

Notes

  • The GUI shows up only for the first time. For the subsequent runs -- it will start in the tray mode.
  • You can always access the GUI using tray->right-click->Show or by clicking the tray icon

Building

  • Clone the Repo
  • Download Autohotkey (AHK) from https://www.autohotkey.com
  • Use ahk2exe tool and add fn-lock script into it
  • Compile

Contribute

  • Clone this project (Note: Follow the Commit guidelines from https://cbea.ms/git-commit/)
  • Make changes and create a PR
  • Yup! That's it!

Credits:

Icon by - Papirus Development Team

fn-key-lock's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fn-key-lock's Issues

Didn't work

Dear, it isn't working, just showing that it's toggling in the tray icon, using Lenovo E431 Windows 7 64-bit.
BTW I found your code after a long time of searching for such software because my FN key stopped working even after BIOS and drivers updates.

Freeware?

Greetings from Germany,

I like this tool so far more than the supplied manufacturer tools for defining the F12 key, as they are usually bloated with advertisements or not working at all.

Is this considered freeware, if yes do you have something like Ko-fi for a donation?

Please add other key functions

First of all, tnx for your great software. please add other functions like increase/decrease of LCD light and also increase/decrease of the keyboard backlight.

Support for keyboards with FN locked by default

Hello, I'm using keyboard which has Fn button but by default acts like this:

Pressing F1-F12 will trigger media keys.
Pressing Fn + F1-F12 will trigger F1-F12 keys.

So basically Fn is locked by default and to unlock it I have to hold Fn button. Sadly Fn lock key is not present on the keyboard and it's super annoying so I tried your tool but sadly it does not solve my problem.

I run program as an administrator and it doesn't matter if I lock or unlock Fn, it always triggers media buttons.

I would love to have opposite functionality which could map media keys to F1-F12 keys.

how to add another keys

hello dear
my loptop with Fn+F5 change the performance mode. how can i add it or how can found this shortcut command or .exe?
and
pleace add airplane mode,screen off,tochpad off/on,microphone off/on in new update.

doesnt work with spotify

i wanted to use it to pause without having to pause the game let go of my mouse and then hold down fn and f6, but when i toggle fn lock on, the windows media thing pops up but doesnt start and spotify says this
image

Linux and Mac versions?

Please comment or react with ๐Ÿ‘ if you would like to see a cross-platform (Linux & Mac) version of FN Key Lock

Modifier Key not working

Hey, thanks for the soft it is helpfull !
I still lack a feature, I set F11 to Home and F12 to End but I can't make it work while modifier keys are pressed (Control or Shift).

Hope it can be done.

add brightness control please

yoyo thanks for great program. Just wanna ask you if u can add brightness control here too. cuz i am really annoyed about fn keys on my laptop and it wont work with mine
thanks bro

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.