This posting is older than 6 months and can contain outdated information.
Hi,
Is there an easy way to attach an action to an existing behaviour's activate / deactive events without creating a brand new behaviour?
I'm asking as I've got remote buddy running on setup where the sleep options (both display / full computer) are set to fairly low values. Most of the applications I use disable these automatically and re-enable them when quit. This leaves me with a config where the computer will automatically goes to sleep soon after I stop using it.
There are however a few apps (e.g: safari) which do not automatically do this and for which I've created custom behaviours which will disable / re-enable the sleep options whenever the behaviour is enabled / disabled. These behaviours are set to become active / disabled whenever the application is active / inactive. This works really well as Remote Buddy does a great job of tracking the current active application and making sure the right behaviour is active.
However, it's a pain to have to create a new behaviour for each app which needs "fixing", especially as all it will usually contain is an action linked to the activate / deactivate events and an Activate / Quit action to launch / end the app. This is also not ideal, as when "fixing" an application for which RB already has a behaviour, depending on whether's that behaviour's action have been made globally available or not, those actions might now be lost to the new behaviour, thereby losing a lot of RB provided functionality.
So, what I'd like to do instead is to re-use the existing behaviours and just attach my actions to their events... Is there a simple way of achieving this?