Reputation: 214
Is it possible to hide or unhide the desktop icons on a Mac with a fade effect? This could be potentially done by placing a image of the wallpaper over the actual desktop, so that when the desktop is clicked, the icons would appear.
Could an approch like this be sandboxed
?
Upvotes: 1
Views: 863
Reputation: 53561
The basic approach would be to create a borderless NSWindow
with an appropriate level
. kCGDesktopIconWindowLevelKey
is the level of the desktop icons, so that should work.
Sandboxing is not a problem for this because you don't actually remove the desktop icons, you just display a window on top of them.
You'll probably also want to set the collectionBehavior
of the window to NSWindowCollectionBehaviorStationary
, so that it's not affected by Exposé.
Upvotes: 3
Reputation: 11787
I'm not sure if this is possible, because:
But if you could it to work, the workflow would be along the lines of:
Upvotes: 0