---
title: LSLaunchFSRefSpec
framework: coreservices
role: symbol
role_heading: Structure
path: coreservices/lslaunchfsrefspec
---

# LSLaunchFSRefSpec

The specification that defines, by file-system reference, an app to launch, items to open, or both, along with related information.

## Declaration

```swift
struct LSLaunchFSRefSpec
```

## Overview

Overview This data type defines a file-based launch specification designating,by file-system reference, an application to launch, items to open,or both. To request that items be opened in a particular application,set appRef, numDocs,and itemRefs accordingly.To request that each designated item be opened in its own preferredapplication, set appRef to NULL. Torequest that a particular application be launched without openingany documents, set appRef accordinglyand set numDocs to 0.

## Topics

### Initializers

- [init()](coreservices/lslaunchfsrefspec/1443478-init.md)
- [init(appRef:numDocs:itemRefs:passThruParams:launchFlags:asyncRefCon:)](coreservices/lslaunchfsrefspec/1442457-init.md)

### Instance Properties

- [appRef](coreservices/lslaunchfsrefspec/1448321-appref.md)
- [asyncRefCon](coreservices/lslaunchfsrefspec/1450600-asyncrefcon.md)
- [itemRefs](coreservices/lslaunchfsrefspec/1444360-itemrefs.md)
- [launchFlags](coreservices/lslaunchfsrefspec/1449431-launchflags.md)
- [numDocs](coreservices/lslaunchfsrefspec/1450323-numdocs.md)
- [passThruParams](coreservices/lslaunchfsrefspec/1445933-passthruparams.md)

## See Also

### Deprecated Structures

- [LSApplicationParameters](coreservices/lsapplicationparameters.md)
- [LSItemInfoRecord](coreservices/lsiteminforecord.md)
