This all went very well, however I would also like to be able to do a hard reload by using Control. Under System Preferences Keyboard Shortcuts App Shortcuts, I added Google Chrome.app with the Menu Title set to Reload This Page and the Keyboard Shortcut set to F5. SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory. On Mac, I found a way to change the keyboard shortcut for refreshing. SendMode Input Recommended for new scripts due to its superior speed and reliability. #Warn Enable warnings to assist with detecting common errors. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases.
Note: increase the delay milliseconds after Sleep if the script operation seems to get stuck in the middle, as the web page may not be ready for the next input yet. Since this script relies on the Alt+/ hotkey to search through the menu item, it can probably be adapted to make any formatting change that uses the menu. If the following script exists named "AutoHotkey.ahk" in the Documents folder and AutoHotkey is running, Alt+c will change the font to Courier New (for mono-space) and Alt+a will change the font to Ariel (the standard font). Using the information in other answers, I created an AutoHotkey script that can lets me apply my two most used fonts with a hotkey.
Is Mac OS X highjacking the keyboard shortcut? Plus, I've tried Option+ / as documented on the Keyboard shortcuts for Google documents page (the Option key is the Alt key according to Wikipedia). I've also tried the forward slash key on the number block. But pressing Alt+ Shift+ 7 (which is the key left of the right Shift key) produces the same effect. I also switched to the US keyboard layout. So the forward slash / is on the 7 key: Shift+ 7.īut when I press Alt+ Shift+ 7, it opens the Mac OS X Help > Search menu: The German keyboard layout looks like this: But! Alt+ / is not working! Why not? I can't get the focus into that search box.Īt this point, I should perhaps note that the keyboard layout is set to German. Now this search box is pretty awesome because I can just type "Courier New" and hit Enter. There is the Ctrl+ Shift+ F keyboard shortcut to collaps the menu bar, which then displays the Search the menus (Alt+/) search box.
I've read the Keyboard shortcuts for Google documents page, but haven't found anything useful. Now I select a piece of text and want to change it's font just with keyboard shortcuts - without using the mouse.Įxample after font change to e.g. I have Google Docs open in the Google Chrome browser on a Mac.