<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBrowser/sendAction()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBrowser(im)sendAction"
  },
  "title" : "sendAction()"
}
-->

# sendAction()

Sends the action message to the target.

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

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if successful; <doc://com.apple.documentation/documentation/Swift/false> if no target for the message could be found.

## See Also

[`doDoubleClick(_:)`](/documentation/AppKit/NSBrowser/doDoubleClick(_:))

Responds to double clicks in a column of the browser.

[`doClick(_:)`](/documentation/AppKit/NSBrowser/doClick(_:))

Responds to (single) mouse clicks in a column of the browser.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)