Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;======================================================
- ;Space Engineers Hotkey Script - SpaceEngineers.ahk
- ;======================================================
- ;======================================================
- ;General Initialization
- ;======================================================
- #NoEnv
- #IfWinActive Space Engineers
- SendMode Input
- ;======================================================
- ;======================================================
- ;Ctrl+Alt+R - Reload
- ;======================================================
- $^!r::
- ;======================================================
- Reload
- ;======================================================
- Return
- ;======================================================
- ;======================================================
- ; Ctrl+Alt+F12 - Windowed Fullscreen
- ;======================================================
- !^F12::
- ;======================================================
- WinGet, TempWindowID, ID, A
- If (WindowID != TempWindowID)
- {
- WindowID:=TempWindowID
- WindowState:=0
- }
- If (WindowState != 1)
- {
- WinGetPos, WinPosX, WinPosY, WindowWidth, WindowHeight, ahk_id %WindowID%
- WinSet, Style, ^0xC40000, ahk_id %WindowID%
- WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
- }
- Else
- {
- WinSet, Style, ^0xC40000, ahk_id %WindowID%
- WinMove, ahk_id %WindowID%, , WinPosX, WinPosY, WindowWidth, WindowHeight
- }
- WindowState:=!WindowState
- ;======================================================
- Return
- ;======================================================
- ;======================================================
- ; Ctrl+W/A/S/D/Q/E - Block Rotation
- ; (disable Control for Fire in keybinds, leave the defaults for rotation)
- ;======================================================
- ; Default binds:
- ; +X: Insert
- ; -X: Delete
- ; +Y: Home
- ; -Y: End
- ; +Z: PgUp
- ; -Z: PgDown
- ; ----------------
- ; Modifiers:
- ; ^: Ctrl / !: Alt / +: Shift
- ;======================================================
- ^w::Insert
- ^s::Delete
- ^a::Home
- ^d::End
- ^q::PgUp
- ^e::PgDn
- ;======================================================
- ;======================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement