Desktop Images Macros by @ikenassi


Moderator's Note – Please look below for the most recent version posted.


Desktop Images Macros (v3.5)

This is an update to earlier versions. It includes a new option to hide the desktop icons to allow the wallpaper images to take over the entire screen if the auto-menubar option is enabled.

2020-09-12

Documentation for Desktop Images

This package of 46 macros manages Desktop Wallpaper

It automatically launches when the Keyboard Maestro (KM) Engine launches.

All of it's main functions are accessed either through Hot Keys, or through KM Status Menu items.

A user tells this package which folder contains the JPEGs to use as background wallpaper. I have at this time a folder with about 8,400 high resolution images downloaded over the last few months with topics covering Black Lives Matter, Corona-19, Beirut, nature, animals, museum artwork, landscapes, etc. I've tested it with one and two screens. I haven't written support for more screens, but it doesn't look hard to do that.

The package also has an option to autohide a menu bar, so that the entire screen can be used, or not to hide the menu bar and have it always visible. You can also set the speed in which wallpaper changes.

MacOS has a concept of Desktop Spaces, managed through the MIssion Contol app (or through System Preferences). For each physical screen or monitor, you can have different numbers of Desktop Spaces. If you change the number of spaces, run the initialization command.

You can scan through the existing spaces on each monitor one time, or update them one time. You can also scan or update them continuously, also called screensaver mode. It is recommended to use the Hot Key to exit screensaver mode, since frequent screen changes may make finding the KM Status Menu difficult. If you remember any command Hot Key at all, remember the stop screensaver command: "^ ⇧.". Another setting defines an approximate "idle" time before the screensaver function automatically starts.

Finally, you can inquire which JPEG is showing on for the current space each screen, or randomly change the JPEG showing on the current space on each screen.

All settings can be changed with the Change Settings menu item. They are saved and restored automatically whenever changed.

This software is provided β€œas is”. Use at your own risk.

Comments to Ike Nassi (nassi@nassi.com)
2020-08-15
Desktop Images Macros.kmmacros (212 KB)

Desktop Images Macros (v3.6)
Fixes bugs introduced with Big Sur version 11.1
The hardest bug was the one involved in moving the autohide menu bar from "General" to "Dock & Menu Bar" because of a MacOS 11.1 bug in "Dock and Menu Bar" preference pane.

Desktop Images Macros.kmmacros (231 KB)

1 Like

Desktop Images Macros 3.8.1 (v9.2)

Version 3.8: Added support for Vanilla, a menubar management program that interacted with MenuBar Hide/Show. Changed AutoHide MenuBar to be a toggle rather than explicit On/Off. Added sound reminder when screensaver starts automaticall when idle, controlled by the existing reminder option. Tested on MacOS X High Sierra and Big Sur up to 11.2.

Desktop Images Macros.kmmacros (481 KB)

Desktop Images Macros (v9.2)

2021-04-23 - Version 3.9.0

Documentation for Desktop Images

This package several dozen macros to manage Desktop Wallpaper.

All of its main functions are accessed either through Hot Keys, or through KM Status Menu items.

A user tells this package which folder contains the JPEGs to use as background wallpaper. tested it with one and two physical screens using all Mac virtual desktops (using the Mission Control app). If you change the number of virtual desktops, you need to re-run the initialization command. If there is only one screen, the all macros referring to the second screen are ignored.

I do not distribute the content, only the software that manages the content. I haven't written support for more screens, but it doesn't look hard to do that. I run it on all my Macs on a regular basis, in both static and in screensaver mode. I have at this time a shared folder with over 11,000 high resolution images downloaded over the last few months with topics covering Black Lives Matter, Corona-19, Beirut, nature, animals, museum artwork, landscapes, etc.

The package also has an option to autohide a menu bar and desktop icons, so that the entire screen can be used. You can also set the speed in which wallpaper changes.

You can scan through the existing spaces on each monitor one time, or update them one time. You can also scan or update them continuously, which I call "screensaver mode". Exit screensaver mode using the ESC key. A setting defines an approximate "idle" time before the screensaver function automatically starts, and another defines how much time is spent on the screen before an image changes to a new one.

You can inquire which JPEG is showing on for the current space each screen, or randomly change the JPEG showing on the current space on each screen.

All settings can be changed with the Change Settings menu item by typing the hot key "^⇧G" . They are saved and restored automatically on the local machine whenever changed.

Help and documentation is available by typing the hot key "^⇧βŒ₯=".
Initialization is required. It is invoked by typing "^⇧I".

This software is provided β€œas is”. Use at your own risk.

Version 3.8: Added support for Vanilla, a menubar management program that interacted with MenuBar Hide/Show. Changed AutoHide MenuBar to be a toggle rather than explicit On/Off. Added sound reminder when screensaver starts automaticall when idle, controlled by the existing reminder option. Tested on MacOS X High Sierra and Big Sur up to 11.2.

Version 3.9: Fixed an interesting bug. To enable or disable the screensaver, the coding technique I used was to enable or disable the macros that control when the screensaver starts. This turns out to be a bad idea, because the enable/disable state of a macro is shared among all Macs sharing the Macros, so disabling the function on one disables on all. I changed the strategy so enabling/disabling is controlled by a boolean flag, which is not shared.

Desktop Images Macros.kmmacros (252 KB)