docs

Home All functions Categories

vuTerminateOthers(NameContains)

vuTerminateOthers(*CSTRING), Signed

Description

Terminates all other running programs whose primary window title contains the specified string. Can be used to close applications such as Word, Excel, or any program whose window title matches the given criteria.

Parameters

Parameter Data Type Description
NameContains CSTRING(256) Blank, partial, or full window title to search for.

Returns

A LONG value containing the number of windows terminated that matched the criteria.

Example

NameContains = 'Microsoft Word'
MESSAGE(vuTerminateOthers(NameContains) & ' Word documents were terminated')

Notes

Home All functions Categories