ISInterface:RemoveAlias
Jump to navigation
Jump to search
Syntax
- bool RemoveAlias(char *Replace)
Purpose
Remove an Alias created with AddAlias
Usage
Parameters
- char *Replace
- Name of the alias to remove
Return Value
Returns true on success, false on failure
Examples
- Example code
void ISXTest::RegisterAliases() { pISInterface->AddAlias("Hi","echo Hi bob! How was work? What are you going to do tonight?"); pISInterface->AddAlias("pipforegroundsize","WindowSize -rescale -viewable ${Display.Width}x${Display.Height}"); } void ISXTest::UnRegisterAliases() { pISInterface->RemoveAlias("Hi"); pISInterface->RemoveAlias("pipforegroundsize"); }