At the beginning of a macro, I want to get the name of the frontmost application. I care nothing about the app’s windows. At the end of the macro, I will activate the application to bring it back to the front.
I can’t find any way to get the front application’s name without using Applescript. Is there a more direct method?