Questions tagged [keyboard-maestro]

Keyboard Maestro is an automation software for OSX designed to add shortcuts and to launch macros.

http://www.keyboardmaestro.com/documentation/6/overview.html

43 questions
0
votes
1 answer

Copy IP and use in Applescript

I am using Keyboard Maestro and within that using applescript for following action: Copy IP address from anywhere Open terminal Use copied IP into applescript ssh on IP which was copied from somewhere tell application "Terminal" activate do script…
Vipin Choudhary
  • 331
  • 1
  • 2
  • 16
0
votes
4 answers

AppleScript - Iterate all open applications / process and execute a menu command

I am trying to write an AppleScript to be triggered by hotkey in Keyboard Maestro on MacOS What I want to do, and please do not suggest ANYTHING ELSE, such as hide all, or hide functionality. I am looking for minimize all open windows functionality,…
mjs
  • 21,431
  • 31
  • 118
  • 200
0
votes
1 answer

Open an unspecifiable Folder with applescript

I'm trying to write an AppleScript for a Keyboard Maestro Macro, which opens the pictures folder of a camera SD or CF Card in an existing Finder window. This is my current code, which opens the mounted Volume. tell application "Keyboard Maestro…
payun
  • 1
  • 1
0
votes
1 answer

How to Add Groups to Capture Words from RegEx split pattern?

I have the following RegEx pattern, which seems to work properly in matching the words in a string, with words separated by a colon (:): /"[^"]*"|[^:]+/g using RegEx101.com It properly identifies the words. But how do I add capture groups that will…
JMichaelTX
  • 1,659
  • 14
  • 19
0
votes
1 answer

Making a capital letter with a shift modifier press and hold option with Keyboard Maestro

I have been using Autoit for years and I have just discovered Keyboard Maestro for Mac and it's AWESOME! Here is my problem. I need to simulate pressing the SHIFT + 1 key. Here are the steps Press and Hold the Shift Key Push and Release the 1…
Cesar Bielich
  • 4,754
  • 9
  • 39
  • 81
0
votes
1 answer

Getting webpage elements by class using Keyboard Maestro

I frequently go to a library results page that has two pieces of information I want: The Listing Title: An

with class="title" The Call Number: A with class="call" I want to be able to automatically copy the content of these two elements…

Tomulent
  • 531
  • 2
  • 5
  • 20
0
votes
2 answers

regex to convert www.evernote.com URL to use evernote protocol

I'm writing a simple script that will take URLs pointing to Evernote notes online, and convert them to the evernote:/// protocol. The regex I'm using matches and modifies the URL correctly when I try it out in a regex tester (I'm using Patterns for…
fort
  • 103
  • 1
  • 9
0
votes
2 answers

Is there a smarter way to keep the indentation when replacing characters with a regex?

I want to replace the asterisks in a Markdown list with hyphens. Example: 1.0 1.1 1.2 2 2.1 2.2 Currently I have a separate regex pattern for up to three levels of indentation set up in Keyboard Maestro for Mac: I wonder if…
patrick
  • 574
  • 3
  • 10
  • 25
0
votes
1 answer

How to create a custom key modifier in Mac OS X for Custom Keyboard

I'm buying a keyboard from logitech: Logitech Tablet Keyboard for Android. I want to use it for my macbook. The keyboard does not have "command" key on it, it only have the "search" key replacement for the "command" key before the "space bar" key…
sule
  • 113
  • 9
0
votes
3 answers

Rewriting AppleScript to appscript-rb, setting variable in Keyboard Maestro

I need to set a variable in Keyboard Maestro, and the documentation states that this can be done with AppleScript: tell application "Keyboard Maestro Engine" make variable with properties {name:"My Variable", value:"New Value"} end tell I'm…
-1
votes
1 answer

How to do a complex multiple if-then-else regex?

I need to do a complex if-then-else with five preferential options. Suppose I first want to match abc but if it's not matched then match a.c, then if it's not matched def, then %#@, then 1z;. Can I nest the if-thens or how else would it be…
logan7
  • 37
  • 5
-1
votes
2 answers

Is it possible to create a Bash script to add songs to a Spotify playlist w/o creating a local server?

So I'm struggling to decode Spotify's Web Authentication set up. What I'm looking to do is create a bash script to add the currently playing song to a predetermined playlist. The aim is to have it so I can push a keyboard shortcut and save it. So…
user3733863
  • 81
  • 1
  • 5
-2
votes
1 answer

Is there an AppleScript to select a User In Skype

I need a way to select a user in skype using AppleScript, is this possible. I've tried to use Keyboard Maestro for the find an image action to select a user but it didn't work.
1 2
3