Esri's documentation on Python toolboxes states, 'When the script is run as a script tool, arcpy is fully aware of the application (such as ArcMap) it was called from.'
How can I check which application launched the Python toolbox tool?
I have a parameter allowing the user to use the display extent as the area of interest, but it only works in ArcMap. I would like to disable the Boolean parameter if launched from ArcCatalog.