Current Application
currentApp.isSpringBoard()
Syntax
var clipboard = currentApp.get();
Return value
A Boolean
representing whether the currently open application is SpringBoard
currentApp.bundleID()
Syntax
var bundleID = currentApp.bundleID();
Return value
A String
containing the current app’s bundle identifier
currentApp.name()
Syntax
var name = currentApp.name();
Return value
A String
containing the current app’s display name