---
title: currentProcess()
framework: foundation
role: symbol
role_heading: Type Method
path: foundation/nsappleeventdescriptor/currentprocess()
---

# currentProcess()

Creates and returns an application address descriptor using the current process.

## Declaration

```swift
class func currentProcess() -> NSAppleEventDescriptor
```

## Discussion

Discussion The result is suitable for use as the targetDescriptor parameter of +appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:.
