TASK: Write me an AutoHotKey (AHK) v2.0 script to temporarily disable and re-enable my laptop's internal keyboard.
WHY: I work from coffee shops a lot but I hate my laptop (LG Gram 16)'s internal keyboard. I type long documents and my fingers get sore due to short key travel. I have a cheap Bluetooth keyboard that I love. So I need a way to quickly disable my laptop's internal keyboard so I can place my Bluetooth one on top of it when I'm working from coffee shops.
WHAT: I'd like an AHK script I can set to auto load at startup with following behaviours: - When I press key combination (e.g. Ctrl + Alt + L) it locks the internal keyboard only EXCEPT for the Ctrl + Alt + L. - When I press key combination again it unlocks internal keyboard. - It is important that I can still press the key combination on internal keyboard even if it is locked (e.g. in case my external keyboard runs out battery) - When script loads (e.g. after reboot) it automatically unlocks keyboard - I'd like to be able to easily set key combination in script to whatever I want - Reasonably easily transferrable to other laptops with a "how-to" e.g. swap out keyboard's hardware ID in script for another, instructions where to find new keyboard's hardware ID etc.)
Why AHK? - I already use it for certain keyboard shortcuts. - Common Google advice for disabling keyboard is through Device Manager > Keyboards > disable. However LG have disabled this option for internal keyboard. - There are a couple of software solutions that lock all keyboards - that doesn't work for me.
NOTES: - I do not want to install DevCon.exe - I've gone back and forth for an hour with ChatGPT & Copilot trying to get it to write a functioning script. They keep throwing errors. I've given up as I'm not an AHK/scripting expert and I don't have time for trial and error. For same reason I need a tested, finished script that'll work first time, every time - do NOT send me something without testing it thoroughly on different systems first. I DO NOT want to go back and forth with you bug fixing. - Here are screenshots of my Device Manager > Keyboard (with all other external USB/bluetooth keyboards disconnected) - you might need. - Short, clear simple instructions for adapting script for other laptops (I anticipate it would involve getting HID for laptop internal keyboard from Device Manager and pasting it into script) - Let me know what further info you need.
This is a fairly basic ask - it may take someone with AHK expertise as little as 20 mins.
QA Tester Needed for Website & Mobile App Category: Mobile App Testing, Software Testing, Test Automation, Testing / QA, Usability Testing, User Experience Research, User Interface / IA, Web Testing Budget: $50 - $150 USD
12 Feb 2026 23:04 GMT
Nighttime Video Enhancement Category: After Effects, Video Editing, Video Hardware, Video Post Editing, Video Processing, Video Production, Video Services, Video Streaming Budget: $30 - $250 USD
12 Feb 2026 23:02 GMT
Cinematic Shorts Video Editor Needed Category: Adobe Premiere Pro, AI Animation, Color Grading, DaVinci Resolve, Final Cut Pro, Video Editing, Video Production Budget: ₹100 - ₹400 INR
12 Feb 2026 23:02 GMT
LinkedIn Competitor Network Analysis Category: API Development, Data Analysis, Data Visualization, Market Research, Python, Selenium, Software Architecture, Statistical Analysis, Statistics, Web Scraping Budget: $10 - $30 USD
12 Feb 2026 22:58 GMT
Luxury Rental Marketing Campaign Category: Digital Marketing, Facebook Ads, Google Ads, Google Analytics, Internet Marketing, Link Building, Marketing, PPC Marketing, SEO, Social Media Marketing Budget: min $50 USD
Data Entry Freelancer Category: Data Entry, Data Management, Data Processing, Excel, Freelance, Google Sheets, Time Management, Typing, Web Search Budget: $2 - $8 USD
Automation of Microsoft Tenant Setup Category: API Integration, Automation, Automation Codeless Program, Cloud Computing, DevOps, Microsoft, Microsoft 365, Microsoft Azure, Microsoft Exchange, Scripting Budget: min $50 USD
12 Feb 2026 22:52 GMT
Detailed Commercial Site Plan Category: 2D Drafting, AutoCAD, CAD / CAM, Civil Engineering, Construction Management, Drafting Budget: $250 - $750 USD
12 Feb 2026 22:51 GMT
Voiceflow File Translator Category: API Development, Backend Development, CSS, Frontend Development, Full Stack Development, HTML, Translation, Web Development, Web Design Budget: $30 - $250 USD
12 Feb 2026 22:50 GMT
Odoo 19 Accounting Setup Category: Accounting, Business Management, CRM, Data Integration, ERP, Inventory Management, Odoo, Process Automation, Python, SAP Budget: min $50 USD