I need to knwo if my standalone is currently actvie or not.
I found this snippet on the net:
Code: Select all
tell application "System Events"
set activeApp to name of first application process whose frontmost is true
return activeApp
end tell
Any hints appreciated!
Best
Klaus