AppGetActive$ (function)

Syntax AppGetActive$()
Description Returns a String containing the name of the application.
Comments If no application is active, the AppGetActive$ function returns a zero-length string. You can use AppGetActive$ to retrieve the name of the active application. You can then use this name in calls to routines that require an application name.
Example
Sub Main()
  n$ = AppGetActive$()
  AppMinimize n$
End Sub
See Also AppActivate (statement); WinFind (function).
Notes This function returns a String containing the exact text appearing in the title bar of the active application's main window.