Git Product home page Git Product logo

ahkshortcutlikemac's Introduction

AHKShortcutLikeMac

An AHK Script for using keyboard shortcuts like MacOS on your Windows

Required: AutoHotKey HomePage Github

AutoHotKey v2 is alpha-release. Suggest use v1.1.*

v1.1.28.02 downloads

Script Features:

  • Hot string (e.g. ]date, ]time, ]now, ]longdate)

  • Shortcuts table:

    HotKeys Desc
    MacOS shortcuts
    Win H Hide(minmize) current window
    Win Shift H Hide(minmize) other windows
    Win Q Quit current application
    Win T New tab (Ctrl+T)
    Win Shift T Reload last tab (Ctrl+Shift+T)
    Win N New...
    Win O Open...
    Win W Close the table
    Win S Save
    Win P Print (Ctrl+P)
    Win Z Undo
    Win Shift Z Redo
    Win X Cut
    Win C Copy
    Win V Paste
    Win Shift Alt V Paste as text
    Win A Select all
    Win F Find (Ctrl+F)
    Win G Find (F3)
    Win Shift G Find previous (Shift+F3)
    Win Alt F Replace (Ctrl+H)
    Win Left or Right or Up or Down (Home/End/PgUp/PgDown)
    Alt Left or Right (Ctrl+Left/Right)
    Win Alt F Full screen (F11)
    Win = Zoom in
    Win - Zoom out
    Win 0 Resize zoom (Ctrl+0)
    Win R Refresh
    Win Backspace Delete
    Win Shift 3 Capture screen to clipboard
    Win Shift 4 Capture actived window to clipboard
    Win F3 Show desktop
    Win I Show file/folder property dialog (Alt+Enter)
    Win F10 Mute
    Win F11 Volume down
    Win F12 Volume up
    Win Shift Backspace Empty Recycle Bin
    Win Shift Alt Backspace Empty Recycle Bin without prompt
    Explorer shortcuts
    Win Enter Rename (F2)
    Win O Open (Enter)
    Win Up Up to
    Win Down Open (Enter) same to Win+O
    Win Shift N New folder
    CapsLock+ shortcuts
    CapsLock Space Input 4 spaces.
    CapsLock Backspace Delete to line head.
    CapsLock Delete Delete to line end.
    CapsLock Enter New line.
    CapsLock RShift Line split.
    CapsLock D Duplicate line.
    CapsLock A Selected current line.
    CapsLock C or X or V Copy/Cut/PasteAt current line.
    CapsLock Insert Paste as text.
    CapsLock (Shift) 8 Input a random password.
    CapsLock (Shift) H Like vim h
    CapsLock (Shift) J Like vim j
    CapsLock (Shift) K Like vim k
    CapsLock (Shift) L Like vim l
    CapsLock (Shift) 6 Like vim ^
    CapsLock (Shift) 4 Like vim $
    CapsLock (Shift) F Like vim Ctrl+F
    CapsLock (Shift) B Like vim Ctrl+B
    CapsLock (Shift) G Like vim gg and Shift+G
    CapsLock N/P Like vim j/k
    LAlt+ shortcuts LAlt means left alt key.
    LAlt C or X Copy/Cut to line end.
    LAlt V paste and go/enter.
    Function Key
    CapsLock F1 Show Help.
    CapsLock Shift F1 Show ListHotKeys window.
    CapsLock F2 Turn on current window topmost.
    CapsLock Shift F2 Turn off current window topmost.
    CapsLock F3 Run Listary.
    CapsLock (Shift) F4 Run Everything (as administrator).
    CapsLock F5 Run pageant.(PuTTY)
    CapsLock F6 Run puttygen.(PuTTY)
    CapsLock (Shift) F7 Run psftp (as administrator).(PuTTY)
    CapsLock F8 Run putty.(PuTTY)
    CapsLock (Shift) F9 PowerShell in current explorer path (as administrator)
    CapsLock (Shift) F10 CMD in current explorer path (as administrator)
    CapsLock (Shift) F11 Git in current explorer path (as administrator)
    CapsLock F12 Bash (Win10 WSL) or MSYS2 in current explorer path
    CapsLock Shift F12 MSYS2 in current explorer path
    Special Key
    Win F1 Show Windows WinX Menus
    Win F2 Show Windows run dialog
    Win F3 Show Desktop
    Win F10 Mute
    Win F11 Volume down
    Win F12 Volume up
    and more...
  • MSYS2 default directory: C:\msys64 or C:\msys32. When Win10 bash is not found, try to start msys2 bash.

Thanks:

  • @g1084164986 - Mouse direction support.
  • @liuyukuan - Explorer rename support by his ActiveControlIsOfClass code.

Tips:

  • Autorun: You can complited it to an execute file by Ahk2Exe, then create a shortcut file into Startup Menu(Win10: %appdata%\Microsoft\Windows\Start Menu\Programs\Startup) or create a schedule task with v0.2-beta.1:
    schtasks.exe /Create /TN machotkey /RU Users /SC ONLOGON /TR "C:\Tools\machotkey\machotkey.exe"
    Query and Delete this task:
    schtasks.exe /Query /TN machotkey
    schtasks.exe /Delete /TN machotkey /F
  • Shortcuts mapping at Virual Mathine(XP ~ win10) on mac.
  • QuickLook is alike MacOS Quick-Look tool, press Space to preview some file in the Explorer.

ahkshortcutlikemac's People

Contributors

m2nlight avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.