---
title: sendAction()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsbrowser/sendaction()
---

# sendAction()

Sends the action message to the target.

## Declaration

```swift
func sendAction() -> Bool
```

## Return Value

Return Value true if successful; false if no target for the message could be found.

## See Also

### Related Documentation

- [doDoubleClick(_:)](appkit/nsbrowser/dodoubleclick(_:).md)
- [doClick(_:)](appkit/nsbrowser/doclick(_:).md)

### Managing Actions

- [doubleAction](appkit/nsbrowser/doubleaction.md)
- [sendsActionOnArrowKeys](appkit/nsbrowser/sendsactiononarrowkeys.md)
