UNDOCUMENTED FUNCTION: isSharedScript()

Built in function - Added in version 8.0

    Syntax

isSharedScript(<object>,<sharedScriptName>)

    Parameters <object>
A valid reference to any object.

<sharedScriptName>
A string representing the name of the sharedScript.
    Returns TRUE if the object has a sharedScript whose name is whatever the passed in sharedScriptName parameter.

FALSE if the object is not a valid object reference, or if the object does not have a sharedScript named which matches the sharedScriptName parameter.
    Sample obj = button "foo"
hasSS = isSharedScript(obj,"colorFlip")
    Note

 

This is an undocumented function, therefore it is unsupported by SumTotal Systems. Use it at your own risk.