Completed
Add a global variable %NAPP to indicate the current foreground application.
Add a global variable %NAPP to indicate the current foreground application. Suggestion: %LAPP and %NAPP use the package name instead of the application name, or you can choose the application name or package name in the preferences.