![]() However, this is already a feature that Microsoft gives in their Surface app, so you could easily use that as well. You can also program the eraser to launch applications as long as you know the name of the executable. We use 300 ms to give the system ample time to copy the selection to the system's clipboard. Sleep is a command to add time (in milliseconds) before the next function can operate. Let's look at another example, where we'll script single-click to copy and double-click to paste.įollowing the same basic format, we first define our single-click as Control + C. ![]() So, in this example, control is represented by the symbol "^", and, in conjunction with "z", it gives us the undo command. As an example, let's look how we would script an undo (Ctrl + Z) function. For single-click, we start like this:Įverything to the left of the "::" defines the function we are using, so, in this case, a single-click of the eraser. So, for example, let's start with our single-click eraser function. Best to steer clear.īefore we do anything, we will need to decide which function we wish to modify. ![]() This is a tricky function to reprogram as once you've changed right-click using a script, it affects right-click functionality across the entire system. The identifier for right-click is rbutton. Warning: There is also a side button on the new Surface Pen, which, by default is set to right-click. Here are the identifiers for our three functions: Scripting may be scary to some of you, but AutoHotkey isn't really all that bad, and we're going to show you how to write some basic scripts. To edit your new script, you will need to right-click on the script you just made and then click Edit Script. This will create a new script for you to edit and place on your desktop. Make sure the name of your script ends with the extension ".ahk" for the script to execute. To do this, right-click on your desktop, go to New, click AutoHotkey Script, and then name your new script file. Once AutoHotkey is installed on your Surface, you're going to need to create a new script file. Don't Miss: Top 7 Surface Book Hacks for Artistsįirst things first, you're going to need to download and install AutoHotkey.If you want to go beyond the basic customizations, you'll need a free program called AutoHotkey, which lets you reprogram the eraser to do pretty much anything. However, that's as good as it gets with Microsoft's built-in options. Oh, and the eraser erases, too!īut what if you wanted the eraser to do something else? If you install the Surface app on your device, you can disable the default actions, or replace the gestures to launch any store or desktop app instead. For example, the eraser can be single-clicked to open Microsoft's OneNote, double-clicked for a screenshot, and you can press-and-hold to open up a Cortana search. Out of the box, the Surface Pen is pre-programmed to do some pretty wonderful things. Just leave it at that.The digital pen on the Surface Pro 4 and Surface Book is an indispensable tool for serious note-takers and artists alike. Since the menu is always different, don't operate on it. Bring up the "move this window to desktop." menu. Here are my shortcuts: Windows+Number pad keys = Windows 10 desktop switching. It's a compromise I have little hope of resolving soon (but I did post my own question about it). Since there is no easy way to move a window to a specific desktop, I used Win+Numpad0 to bring up the "move to desktop" menu for that window. ![]() scrolling back the right number to get where I want.scrolling at least 9 to the left/right to ensure we're at a linear edge of known desktops.I wanted the number pad keys to map to each desktop respectively. I wanted a 3x3 grid of desktops (virtually, or in my mind-map only-in reality they are linear). I created some shortcuts for switching between desktops. *To access the startup folder in Windows 10, open "Run" (either press Windows Key + R, or search for it in the start menu) and type either (without quotes): "shell:startup" (to run the script for just the current user) or "shell:common startup" (to run it for all users). To do this, right-click the script file, and click "Compile Script." exe that can be run on other computers that don't have AutoHotkey installed. Optionally, you can compile the script to run as a standalone. If it performs as expected, copy the script into the startup folder* so that it will run every time your computer starts.Save and run the script to test its functionality.Paste the following text under the already-present text:.Right-click on your desktop > New > Autohotkey Script (name it whatever you want).Download AutoHotkey ( ) and install it.It is an very useful program for remapping keyboard keys, letting you set up hotkeys, and automating tasks. AutoHotkey is a great program for doing this exact type of thing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |