info("panoramaisactive")
info("panoramaisactive")

The info(“panoramaisactive”) function returns true if Panorama is the frontmost application (in other words, if the Panorama menu bar is visible).

Description

This function returns true if Panorama is the frontmost application (in other words, if the Panorama menu bar is visible).

This example checks to see if Panorama is the frontmost application, and if not, makes it the frontmost application.

    if not info("panoramaisactive")
        bringpanoramaforward
    endif

Code like this might be useful in a timer, where it could possibly be running with Panorama in the background – but be wary of doing this, since the user is probably not going to appreciate being suddenly yanked from whatever app they were using.

See Also

- bringpanoramaforward -- brings Panorama forward, making it the active Application.
- bundleresourcepath( -- returns the file path and name of a specified item in the Panorama application bundle.
- hideotherapplications -- hides all other applications, leaving only Panorama visible.
- hidepanorama -- hides Panorama X, making all windows disappear.
- info("panoramabuild") -- returns the date and time when Panorama was compiled (as a SuperDate).
- info("panoramabundleversion") -- returns the bundle version of Panorama.
- info("panoramafolder") -- returns the location of the folder containing the currently running copy of Panorama.
- info("panoramaname") -- returns the name of the currently running copy of Panorama.
- info("panoramaversion") -- returns the version number of Panorama.
- info("processidentifier") -- returns the process id number that Panorama is running under.
- info("processname") -- returns the process name that Panorama is running under.
- panoramaappvisibility -- allows the Panorama X dock and menu bar to be hidden.

History

Version | Status | Notes
10.2 | New | New in this version.