shortcut to automatically reduce the font size in google docs

Post your working scripts, libraries and tools for AHK v1.1 and older
partof
Posts: 110
Joined: 16 Jan 2016, 08:38

shortcut to automatically reduce the font size in google docs

13 Dec 2017, 03:42

Code: Select all

; *********************** shortcut to automatically reduce the font size (at 6) in google docs

#IfWinActive ahk_exe chrome.exe  ; the shortcut will only work on chrome 
^-::  ;you can use any of these: Alt(!) CTRL(^) shift(+) win(#) 

click, 512, 177  ; to find the position of the mouse use the "relative" position of "window spy" tool

sleep 100  ; buggy if it goes too quick
send 2 {Backspace} ; clear the text field
sleep 100
Send, 6 ; set the new size
sleep 100
send {ENTER}
return

; **************************************

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: KruschenZ and 71 guests