---
title: keyAELaunchedAsServiceItem
framework: coreservices
role: symbol
role_heading: Global Variable
path: coreservices/keyaelaunchedasserviceitem
---

# keyAELaunchedAsServiceItem

## Declaration

```swift
var keyAELaunchedAsServiceItem: AEKeyword { get }
```

## Discussion

Discussion If present in a kAEOpenApplication event, the receiving application was launched as a service item and should only perform actions suitable to that environment—for example, it probably shouldn't open an untitled document.
