- Home
- About
- Conversations
- Tips
- Amazon MP3: DRM-free music
- iTunes Plus tips!
- Ogg in iTunes
- Show hidden files (.htaccess) in OS X
- Convert FLAC to MP3, WAV, or AIFF to play in iTunes on Mac OS X
- Convert WMA to MP3
- Swap left Alt and Ctrl keys in Windows
- Boot Camp: Delete, Right-Click, Middle-Click
- Creating nice aliases
- CSS generated content special characters
- Default Application in OS X
- Enso (Windows Quicksilver)
- Import Gmail contacts to Mail
- Install RAM: MacBook Pro
- iPhoto: Deleting aliased pictures
- Using Keyboards with Your Mac + the Microsoft Natural 4000
- Aurora - iTunes Alarm Clock
- Delete keys on Macs
- Projects
- Boost and XCode
- Code
- Contact
- create content
Switch Control and Alt buttons in Windows
Submitted by alanhogan on July 10, 2007 - 2:57pm.
Tip | Apple | AutoHotKey | Boot Camp | keyboards | OS X | Parallels Desktop | Windows XP
If are an Apple fan but use Windows (perhaps via Boot Camp or Parallels Desktop or – like me – at work), you may find that you often hit Alt instead of Ctrl, as much of the Windows Ctrl key functionality is present in Mac’s Cmd key functionality, located it the same place as Windows Alt key. The solution is to swap the positions of the left Alt key with the left Ctrl key. Here’s how.
(If you are searching to swap, trade, or exchange the Cmd or Command and Ctrl or Control in Windows, as typical Mac or OS X user, this is the right place to be.)
While Windows does not let you swap modifier keys as does Mac (go to System Preferences, Keyboard, and Modifier Keys), there is a program called AutoHotKey which makes it easy. I introduced this program in a previous article here on AlanHogan.com. If you do not have AutoHotKey, download and install it on Windows.
The second step is to save the code below as swap-alt-ctrl.ahk on your Windows computer. Then drag it onto the Start button, All Programs, Startup (create the folder Startup if it does not exist), and drop it in the Startup folder. Now whenever you log in, your left (and only left) Ctrl and Alt keys will be switched!
; This file by Alan J. Hogan, http://alanhogan.com/
; Switches the left Control and Alt keys.
LCtrl::Alt
LAlt::Ctrl
| Attachment | Size |
|---|---|
| ctrl-alt.ahk | 126 bytes |
Page Outdated! Comments disabled!
As do many people using Drupal to power their website, I get a lot of comment spam, and Drupal's spam filter is horrible! So I have permanently disabled comments on old.alanhogan.com. Try the new version of this page (which may not exist, but should if this page actually has content besides a list of other articles).
Consider using my contact form to get in touch. And remember that AlanHogan.com is live and old.alanhogan.com is here as a backup only, and a stopgap measure because some AlanHogan.com functionality is not implemented yet.
Sponsored by
To advertise here, contact me.




cannot ctrl alt del and alt f4
Hi, when I used this script, i cant do ctrl alt del and alt f4. any idea why?