START > APPLESCRIPT > Praktische Handler > Vorheriges Programm ermitteln

Vorheriges Programm ermitteln

Dieser Applescript-Handler ermittelt das zuvor (vor dem derzeit aktivem Prozess) verwendete Programm (Dank an skeeve).

on getPreviousApp()
   tell application "Finder"
      set my_process to first application process whose frontmost is true
      set visible of my_process to false
      set previous_process to first application process whose frontmost is true
      return name of previous_process
   end tell
end getPreviousApp
 Im Scripteditor öffnen



Powered By CMSimple Design By NMuD Top