---
title: keyAELaunchedAsLogInItem
framework: coreservices
role: symbol
role_heading: Global Variable
path: coreservices/keyaelaunchedasloginitem
---

# keyAELaunchedAsLogInItem

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

## Declaration

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