summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2015-05-14 18:19:48 +0100
committerbreadcat2015-05-14 18:19:48 +0100
commit067dd47a3c578684c9b5f15d71ada77aa7da82bb (patch)
treee676d0d41414436e5944cdb749ddbee51a7a94e9
parent1aa9623655eed23e8818fc930a7b189c6b6c48c4 (diff)
downloadahka-067dd47a3c578684c9b5f15d71ada77aa7da82bb.tar.gz
ahka-067dd47a3c578684c9b5f15d71ada77aa7da82bb.tar.bz2
ahka-067dd47a3c578684c9b5f15d71ada77aa7da82bb.zip
Incremental improvements
MouseMove commands broke screen resolution switching. Excel 2003 has really bad default hotkeys. Add support for mpv borders.
-rw-r--r--ahk-assistant.ahk16
-rw-r--r--borders.ahk4
2 files changed, 13 insertions, 7 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index b6f0c40..36bc389 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -60,10 +60,6 @@ Insert::appendClipboard()
^!Space::toggleAudioDevice()
!LButton::kdeMove()
!RButton::kdeResize()
-RAlt & Up::MouseMove, 0, -1, 2, R
-RAlt & Down::MouseMove, 0, 1, 2, R
-RAlt & Left::MouseMove, -1, 0, 2, R
-RAlt & Right::MouseMove, 1, 0, 2, R
;tiling
#Up::WinMaximize, A
@@ -132,7 +128,7 @@ Ralt & e::typeAcuteE() ;awful, awful workaround
;work stuff
::ctsty::Called to speak to you, their number is
::gtacb::Called to speak to you, can you give them a call back?
-::ctt::Feel free to close the ticket.
+::ctt::Feel free to close the ticket, I'll either update this or open a new ticket if need be.
::sksu::Samsung OS7030 KSU
::s2b::Samsung OS7030 2BM
::s4t::Samsung OS7030 4TM
@@ -234,10 +230,16 @@ Ralt & e::typeAcuteE() ;awful, awful workaround
#IfWinActive
#IfWinActive ahk_class XLMAIN ;excel
- ^+v::Send {Esc}{Up}^c{Down}^v{Esc}{Down} ;ctrl+shift+v copies above cell into current
+ ^+v::Send ^'{Down} ;C-S-v copies above cell contents into current
+ ^+n::Send !iw ;new sheet
+ ^+w::Send !el ;delete current sheet
+ !F2:: ;overflow
^F2::Send !ohr ;rename sheet
- F3::Send ^f{Enter}{Escape} ;f3 searches for the same string again
+ F3::Send +{F4} ;f3 searches for the same string again
F6::excelFormulaBar()
+ F11::Send !vu ;fullscreen
+ ^Tab::Send ^{PgDn} ;next sheet
+ ^+Tab::Send ^{PgUp} ;prev sheet
#IfWinActive
#IfWinActive ahk_class WindowsForms10.Window.8.app.0.2004eee ;act
diff --git a/borders.ahk b/borders.ahk
index 89157d8..359a737 100644
--- a/borders.ahk
+++ b/borders.ahk
@@ -97,5 +97,9 @@ AdjustWindow(id)
{
WinSet, Style, -0xC00000, %WinTitle%
}
+ If WinClass In % "mpv"
+ {
+ WinSet, Style, -0xC00000, %WinTitle%
+ }
} \ No newline at end of file