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

# appleEvent

The first Apple event to send to the new app.

## Declaration

```swift
var appleEvent: NSAppleEventDescriptor? { get set }
```

## Discussion

Discussion The default value of this property is nil, which causes the system to send a default Apple event, as needed. The system sends the event only if an instance of the app is already running.

## See Also

### Specifying launch attributes

- [arguments](appkit/nsworkspace/openconfiguration/arguments.md)
- [environment](appkit/nsworkspace/openconfiguration/environment.md)
- [architecture](appkit/nsworkspace/openconfiguration/architecture.md)
