stroebjo / autohotkey-windows-mac-keyboard Goto Github PK
View Code? Open in Web Editor NEWAutoHotkey Mappings to emulate OSX behaviour with a Mac keyboard on Windows
AutoHotkey Mappings to emulate OSX behaviour with a Mac keyboard on Windows
Error with UTF-8 encoding:
---------------------------
MacKeyboard.ahk
---------------------------
Error at line 151.
Line Text: #ö::SendInput {[}
Error: Invalid hotkey.
The program will exit.
---------------------------
OK
---------------------------
Error with ASCI encoding:
---------------------------
MacKeyboard.ahk
---------------------------
Error at line 151.
Line Text: #ö::SendInput {[}
Error: Invalid hotkey.
The program will exit.
---------------------------
OK
---------------------------
OS: Windows 7 Enterprise SP1 64
Hey. Very helpful repo! I see AltTab
handler but what about ShiftAltTab
?
Hey, I noticed your project here is pretty similar to my own. Kinto started out only focusing on Linux, but I am dog fooding it on Windows 10 now too and would welcome any contributions - but you also have my permission to pull in any changes I have made to my project as well - regardless of its License, if you would like to do that.
Mine tackles the problem a little differently, in that it is geared towards making system-wide changes as much as possible and only then apply specific keymaps to particular keymaps and system level OS behaviors. I feel like this approach results in the least amount of work overall.
https://github.com/rbreaves/kinto
If you have any questions just let me know!
I got around it by adding Send,
; Selecting
#a::Send, ^a
; Copying
#c::Send, ^c
; Pasting
#v::Send, ^v
; Cutting
#x::Send, ^x
; delete files
#BackSpace::Delete
Thank you for making the AHK script. It has been really helpful.
I have a suggestion which solves the problem, that 'Alt + Left or Right cannot send web page back or forward after swapping the Lcommand and Loption buttons'.
; Remap Windows + Left OR Right to enable sending web page back and forward
;Lwin & Left:: Send, !{Left}
;Lwin & Right:: Send, !{Right}
Hi, i have keyboard and layout with AltGR, however none of shortuts with ALTGR work..
Example of not-working mappings:
`
; --------------------------------------------------------------
; OS X keyboard mappings for special chars
; --------------------------------------------------------------
; Map Alt + L to @
!l::SendInput {@}
; Map Alt + N to
+!7::SendInput {}
; Map Alt + N to ©
!g::SendInput {©}
; Map Alt + o to ø
!o::SendInput {ø}
; Map Alt + 5 to [
!5::SendInput {[}
; Map Alt + 6 to ]
!6::SendInput {]}
; Map Alt + E to €
!e::SendInput {€}
; Map Alt + - to –
!-::SendInput {–}
; Map Alt + 8 to {
!8::SendInput {{}
; Map Alt + 9 to }
!9::SendInput {}}
; Map Alt + - to ±
!+::SendInput {±}
; Map Alt + R to ®
!r::SendInput {®}
; Map Alt + N to |
!7::SendInput {|}
; Map Alt + W to ∑
!w::SendInput {∑}
; Map Alt + N to ~
!n::SendInput {~}
; Map Alt + 3 to #
!3::SendInput {#}
`
I just started using AHK since I've got a Mac keyboard (Logitech MX Keys for Mac) that I'm using with a Windows laptop. I'm really glad I found this AHK-script, since it solves most of my issues.
One thing I find myself missing though, is the possibility to cycle backwards through the open windows using Shift + LeftCommand (LeftWin?) + Tab.
It's really useful when you AltTab through your open windows and you go a little bit too far. Instead of cycling through all of them again, you just press Shift in addition (to modify the behavior of AltTab) and back up a few windows.
I've tried to create a mapping for this, but as I'm a total newbie on AHK-scripting, I'm lost...
How whould you suggest working with releasing a windows button. I use CMD+Q to quit etc, but sometimes I just press windows key without doing anything. Is there a way to block the windows start menu but keep the function of it like CMD+Q etc.
F20 is not recognized by AutoHotKey it seems, at least not on Windows 10. Even the tiny "ScanCode" application I found online which shows every key code doesn't react to the Eject key, meaning its not even recognized by the OS.
The following mapping:
LWin::LAlt
LAlt::LWin
Works to swap those two keys, but doesn't work for the Ctrl+Alt+Delete
combo. Any idea why?
The way the current script is built up doesn't allow for other buttons being pressed simultaneously, as example the Screenshot program I heavily use at work (FastStone Capture) is triggered with the Print key. Pressing it once makes a full screenshot, holding Shift/Ctrl either a triangular section or a window. However, while holding Ctrl or Shift the Print-Key isn't registered anymore.
Like the title: AutoHotKey v1 is depricated :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.