(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| ' VBS Script to get the Windows(R) 7 Product Key from a PC's registry. | |
| ' | |
| ' Save the VBScript as "getWin7Key.vbs" somewhere on your Windows7 PC. | |
| ' Now, when you double-click the local script file an alertbox pops up | |
| ' displaying the product key stored in the machine's Windows registry. | |
| Set WshShell = WScript.CreateObject("WScript.Shell") | |
| KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId" | |
| MsgBox ExtractKey(WshShell.RegRead(KeyPath)) |