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
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: