Detect if running in PB or executableTag(s): Powerscript
IF Handle(GetApplication()) = 0 THEN MessageBox("Info", "Running in PB environment") ELSE MessageBox("Info", "Running in standalone executable") END IF
IF Handle(GetApplication()) = 0 THEN MessageBox("Info", "Running in PB environment") ELSE MessageBox("Info", "Running in standalone executable") END IF