AMOSi:AMOS Here
an example can be found on AMOSPro_Examples:Examples/H-7/Help_70.AMOS
AMOS HERE returns a value of True (-1) if AMOS Professional is currently displayed on the screen, and 0 if another Workbench application is visible.
test=Amos Here