Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mvaneijgen

macrumors newbie
Original poster
Jul 31, 2014
2
0
I found a AppleScript that sets the current playing Spotify song as the Skype mood

Now i want to alter this script to set the current foreground application as the Skype mood.

On this forum i found this topic, but i think this only runs once. Is there a way to keep checking what app is currently running on the foreground en inject it into the Skype mood? It doesn't need to be running every second i could imagine this will use a lot of CPU power.

Hope im asking this in the right place.

[UPDATE]

With some copy pasting and help of a colleague i found the solution
https://gist.github.com/mvaneijgen/85564b047c2bb7519844
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.