---
title: activates
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsworkspace/openconfiguration/activates
---

# activates

A Boolean value indicating whether the system activates the app and brings it to the foreground.

## Declaration

```swift
var activates: Bool { get set }
```

## Discussion

Discussion The default value of this property is true, which causes the system to bring the app to the foreground.

## See Also

### Specifying app-related behaviors

- [addsToRecentItems](appkit/nsworkspace/openconfiguration/addstorecentitems.md)
- [allowsRunningApplicationSubstitution](appkit/nsworkspace/openconfiguration/allowsrunningapplicationsubstitution.md)
- [createsNewApplicationInstance](appkit/nsworkspace/openconfiguration/createsnewapplicationinstance.md)
- [hides](appkit/nsworkspace/openconfiguration/hides.md)
- [hidesOthers](appkit/nsworkspace/openconfiguration/hidesothers.md)
