|
Copy, Cut, Paste - Emulating OS X hotkeys in Windows XP |
|
|
|
Wednesday, 23 January 2008 |
|
As an ardent Mac user I avoid working in Windows these days whenever possible. Sometimes it cannot be avoided, however, and forgetting that I'm in Windows and automatically hitting CMD-C to copy instead of Ctr-C has been a persistent source of unnecessary frustration to date. Or rather, until now. The solution is simple. Download and install AutoHotKey . Copy the script below into a text editor and save as a .ahk file.
Right click on the resultant file and choose "Compile script". Run the result and you are done. For convenience, I copy the compiled file to the startup folder, so my settings start automatically every boot. ; Script Function: ; Saves eternally pressing the wrong keys for copy/cut/paste/delete/save/undo when switching from osx to xp ;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #c::Send ^c #v::Send ^v #p::Send ^p #z::Send ^z #x::Send ^x #s::Send ^s
|