Skip to content

charlierobin/oscar-the-grouch-version-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oscar The Grouch for Macintosh (macOS)

Another of my attempts at a new version of Oscar the Grouch for macOS (OSX).

(See also this first attempt at the problem)

This version works a little differently, in an attempt to more closely match how the original Grouch worked.

At the moment it's just a rough outline, with none of the preferences etc from the first version (linked to above), so I can run it on my Mac for a few weeks and see how it works.

Basically: the app runs a small Applescript which then uses Accessibility to get the size and position of the user’s trash icon from their Dock.

Then a revised version of the animation (the bitmap frames of Oscar minus the original trash artwork) is played over the trash icon, positioned and scaled so that it looks like he's popping up and out of it.

It seems to work pretty well, although the app now needs even more permissions: in addition to disk access, it needs permission to run automation (via System Events) and then to use Accessbility.

The position and scale of the Oscar animation in relation to the trash icon could do with a little fine tuning, but it’s good enough for now.

oscar.mp4

(November 2nd 2024) Ooops ... forgot the link to the downloadable zipped prebuilt Mac Intel binary:

Downloadable prebuilt Macintosh version

(September 2025) And changed the download link so it’s now a GitHub release.

About

A different approach to the Oscar the Grouch for macOS/OSX problem - uses Accessibility to get position of the trash icon, then floats Oscar animation over icon

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages