---
title: scriptURL
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsuserscripttask/scripturl
---

# scriptURL

The URL of the script file.

## Declaration

```swift
var scriptURL: URL { get }
```

## Return Value

Return Value The URL of the script file.

## See Also

### Specifying the Script

- [init(url:)](foundation/nsuserscripttask/init(url:)-2qgls.md)
