facesgasil.blogg.se

Keyboard maestro alternative
Keyboard maestro alternative










keyboard maestro alternative

So let's say that we want to create a macro that will fill out and submit that form. So I made this one:Ĭlick this link to open that test page in a new window. We'll also need a web page with a form to use as example. If you're using Google Chrome, the Inspect Element item should always be enabled and present in the contextual menu. You should see it at the bottom of the contextual menu when you do a right-click (or ctrl-click) anywhere in a web page. We won't be using that menu, but enabling it also enables the "Inspect Element" command in the contextual menu, and we are going to use this one.

#KEYBOARD MAESTRO ALTERNATIVE HOW TO#

So let's see how to use these actions, then.īut fIrst, do you see the Develop menu in Safari's menu bar? If not, open Safari preferences window, click on Advanced, then check the "Show Develop menu in menu bar" checkbox. More info about what they mean here.Įvaluate to the current value of the targeted field.Įvaluates to the result of an arbitrary JavaScript expression. Note: the value can be either "uninitialized", "loading", "interactive" or "complete". We'll see how to use them in the second part of the tutorial, but here's their list:Įvaluates to the title of the current webpage.Įvaluates to the URL of the current webpage.Įvaluates to the readystate of the current webpage. There is also a set of tokens for each browser. Sets a given checkbox to checked or unchecked (optionally by using a variable)Ĭhecks a given radio button (optionally by using a variable)Īllows to execute arbitrary JavaScript in the current page. Note: works also with select elements (popups and lists) as long as you give it the value, not the text. Sets the value of a field to a string or to the contents of a KM variable. Reads into a KM variable the contents of a field.

keyboard maestro alternative

Select the contents of a text field (field of type text, email, date, number, password, etc.). Locates a field and gives it focus (useful if you want the field to have focus so you can start typing immediately). Looks for a link by its text in the current page and simulate clicking on it to load the document it points to. Useful when you want to do something in the page once it's done loading (more about this action later).

keyboard maestro alternative

Note: keep Title empty to display the url instead of a title. These actions are focused on the contents of the current page (that is the page in the current window or tab).Ĭhanges the title of the current page shown in the title bar and in the tabs bar. For example if you wanted to set a hot key to toggle the Toolbar visibility, you'd just use a Select or "Show a Menu Item" action like this: Loads a new URL in the current window or tab (also accepts variables).Įverything here is pretty obvious and shouldn't require any extra explanation.Īnd of course, you can always do things not specific to Safari the usual way.

keyboard maestro alternative

Selects a tab by its position (accepts variables) in the current window. Selects the previous tab (next to the left) in the current window. Selects the next tab (next to the right) in the current window. Opens a new window in the current space (optionally loading an URL that can come from a variable).Ĭreates a new tab in the current window (optionally loading an URL that can come from a variable). The actions for controlling Safari itself are: The actions can be divided into two groups: In this tutorial we'll use Safari, but everything could be transposed to Chrome simply by selecting the equivalent actions from the Google Chrome Control category. The actions for Safari and Google Chrome are distinct (and can be found respectively in the Safari Control and the Google Chrome Control categories), but except for the application they control, they're completely identical. Finally, if you have no idea at all of what happens behind the scene when you view a web page, then Controlling Safari will make sense to you, but you might want to read some introduction to HTML (such as the one at ) before going to Controlling the current page. If you're not a developer but have some understanding of how HTML works, then this tutorial was made for you. If you're a web developer, you probably don't need most of it, but some info about KM itself might still be useful to you. In the second part, we'll look into using these actions for more advanced purposes. In this first part of the tutorial we'll look at these actions and see what can be done with them and how (more specifically we'll see how to fill out and submit basic forms). Keyboard Maestro 6 introduced new actions (and a few tokens) to control Safari and Chrome.












Keyboard maestro alternative