Ohh. When you said that, I thought you meant moving the window manually with the mouse, because KM doesn't have any "commands" it has "actions." I guess we'll check that up to misunderstanding. Let me reconsider that, then.
As for GG's macro, I'll let him troubleshoot that with you.
If you say Spotlight isn't responding to the move window command, I will believe you. Although I don't know how to fix that, or if it's fixable, there is a workaround. You can probably do this workaround in a single statement. Basically you use the Click and Move Mouse KM action to click on the Spotlight magnifying glass on the screen, and drag it to the new location.
Would you be happy with this workaround, or would you only be happy with getting the Move Window action working?
This will move Spotlight to the centre of the screen, not accounting for its width.
@Sleepy , I appreciate the response and will it a go.
I will admit that while I remain enthusiastic I have run into a number of problems with KM that I do to know how to solve without using AppelScript which defeats the purpose. This is particularly true given most of the AppleScripts I tried work as standalone AppelScripts but do NOT within KM.
With a little luck others will be able to help me.
Sure thing. My knowledge of AppleScript is limited. I'm not sure if I agree or disagree with your idea that "if it requires AppleScript, that defeats the purpose." You could also say the same thing with shell scripts, like, "if it requires a Shell Script, then that defeats the purpose." But I don't think it's the job of KM to duplicate all shell commands. KM does duplicate a handful of shell commands, but it's not a 100% perfect duplication.
I'm surprised that you asserted that "most of the AppleScripts you tried work as standalone AppleScripts but not within KM." I didn't know that was even possible, let alone common. Obviously you know more than I do about AppleScripts.
Hi @Joel - you’ve been asking for examples of how to do stuff with KM so now I’ll ask you to provide examples of those AppleScripts you say don’t work in KM so we can see what you’re trying out, especially given that you’re new to KM. Of particular interest is how you’ve embedded those AppleScripts in KM.
@Sleepy, many thanks for your continued assistance. As a newcomer to this forum I am restricted to one post in teh first 24 hours. I will be posting a separate thread on the problems that I have encountered with AppleScript hopefully this will help.
I do hope to get KM sorted out as it looks very powerful for now I am stuck all over the place.
@tiffle, many thanks for taking the time to respond, it is greatly appreciated!
As noted in my immediate preceding post, as newcomer to this forum I am restricted to one post in teh first 24 hours. I will be posting a separate thread on the problems that I have encountered inclusive of the macros as soon as I am allowed. They are all teed up and ready to go.
Ahhhh, dumb question! Is there a way to print a macro so that I can look at while creating other macros and use it as a guide to make sure things are consistent and properly done?
Not sure if this will help but you can have more than one KM editor window open at any time - just use File>New Editor Window from the KM menu, or shortcut ⌃⌘N
Here's how I enter the 1Password master password (note that it doesn't launch the app; I have another very short macro to do that). There may be better ways, but this works for me.
@Joel here is an example how you can open different apps with only one shortcut. Since I also use Moom, I added an AppleScript at the end of the macro which rearranges the windows of the opened apps.
@ccstone Thanks for providing an alternative regex method, Chris! I did know I was technically negating a range of characters rather than an actual string with the method I used, but it worked in my (admittedly limited) tests, so I thought I would give it a try. Regardless, I'm happy to have a more robust way that works as intended with strings for future reference.
@RickO my KM macro is not quite as long as yours. However, it works fine.
However, I secure the autofill logging process with a pushover notification that I subsequently receive on all  devices.
Cool. How do you trigger this (your example has no triggers showing)? If by keystroke, I guess the big difference in mine is that it automatically recognizes if the 1Password master password is needed whenever 1Password activates.
I wasn't familiar with Pushover, but I looked it up. Cool tool for a very reasonable one time cost. Too bad it doesn't have Alexa integration though. How do you do the KM macro action for it? I don't see that as an option.
@RickO I use a different KM Autofill macro for 1Password to unlock apps, files, etc.
When the login window appears, the 1Password Mini is called with this shortcut:
Then my macro checks if the 1Password Mini is unlocked or not. If the 1Password Mini is locked, the macro pauses until I unlock it via the Keychain Autofill macro.
I use, as shown in the video, a BetterTouchTool gesture... if you have no Touch ID, then you just tinker with your touch yourself
You can find a video and a screenshot of such a macro in this post:
Pushover notifications can do more than just display.
If I log in, I get the Pushover notification and can trigger a photo via the FaceTime Camera using a Siri shortcut (iCloud Drive).
I receive the photo again via a notification. If someone is sitting there at my Mac, who does not have permission to do so, then I can again execute a Siri Shortcut, which locks my keyboard and triggers a shrill alarm.
Also works if you trigger it when you wake up your Mac, of course. In my office, no one goes to my Mac anymore
Would you like to have an indication of the battery level of your mouse, trackpad or MBP? You want to know that the battery level of your devices has dropped below 10%?
The popular apps only show you the notifications on the Mac, but thanks to Power Manager, KM and Pushover, I now know at all times, even when I'm not at home.
I note that the macro hides windows rather than minimizes windows and these are different and thus will not work for me. I need to minimize windows.
Specifically, "minimize" minimizes the program to the dock where you can see a thumbnail of the program's window. while "hide" hides the window without adding the program's thumbnail to the dock.