Einhugur macOS Bridge plugin. |

# NSRunningApplication.ActivateWithOptions Method

Attempts to activate the application using the specified options.

ActivateWithOptions(
activationFlags as UInteger) as Boolean

#### Parameters

activationFlags
  The options to use when activating the application. Values of this can be ActivationFlag_AllWindows, or ActivationFlag_IgnoringOtherApps or they can be bitwise or-ed together to use both. Zero is also valid for no special options.

#### Returns

Boolean
  True if the application was activated successfully, otherwise false.

#### Remarks

This method will return false if the application has quit, or is not a type of application than can be activated.

#### See Also

NSRunningApplication Class