Display the Name and Bounds of Every Finder Window. Macro (v10.2)
Content of this page ( updated 20230127 15:59 UTC):
1_. For ONE Finder window
2a. For ALL Finder windows - (KM with AppleScript)
2b. For ALL Finder (and other apps') windows - (KM without AppleScript)
AppleScript and KM measure window bounds differently.
KM uses Width and Height whereas AS uses Distance from the Left and Distance from the top.
Usage: Anytime you need to position 1 or more Finder windows on your screen, first set the relevant windows where you want them - then run the macro and you'll get the AppleScript bounds.
Should you need the window position for a KM macro where you use f ex "Move and Resize Window" you could use this macro:
1. For ONE Finder window
2a. For ALL Finder windows - (KM with AppleScript)
Hey there, when posting macros in this category, it’s helpful to provide information about what they do, and how they work. Also, in this case, since the macro was essentially written by Chris Stone, it’s good etiquette to include attribution.
Feel free to update your post with some more details.
While it’s good practice to include it in the macro itself, (I and others use comments at the top of the macro), in this case I was referring to your post. Just add some text at the top (before the macro download link and screenshot) that has this info.
Here is a great macro that the same Chris Stone (@ccstone) wrote to simplify uploading your macros to the forum. I have been using it for well over a year and it has been very helpful. ↓
It is a good example of an attribution – and it will automatically create an attribution for you.
When I'm presenting someone else's work or something heavily influenced by someone else's work I'll do something like this:
············································································································
Author : Christopher Stone { Heavy Lifting by Shane Stanley }
Created : 2023/01/24 15:07
Modified : 2023/01/24 15:07
Task :
URLs :
Tags : @yourForumHandle, @KMForum, @Other-Tags
KmVer : Keyboard Maestro 10.2 on macOS 10.14.6
MacroVr :
············································································································
Or this:
············································································································
Author : Christopher Stone <scriptmeister@thestoneforge.com>
: building upon work by Shane Stanley
Created : 2023/01/24 15:07
Modified : 2023/01/24 15:07
Task :
URLs :
Tags : @yourForumHandle, @KMForum, @Other-Tags
KmVer : Keyboard Maestro 10.2 on macOS 10.14.6
MacroVr :
············································································································
Comment dialogs support clickable RTF hyperlinks, and I prefer to use them rather than plain text.
Thanks for linking to this Chris. I wanted to (because I just started using it a couple days ago and love it) but for some reason wasn’t able to find it on the forum.