-
-
Notifications
You must be signed in to change notification settings - Fork 480
Help for using UNIX scripts says Pasteboardputs not Pasteboard #2032
Copy link
Copy link
Closed
Description
Description
$ rg Pasteboardputs
CotEditor/Resources/CotEditor.help/Contents/Resources/en.lproj/pgs/script_unixscript.html
74: <tr><th><code>Pasteboardputs</code></th><td><p>Place the output text on the Clipboard.</p></td></tr>
Couldn't get that to work, resorted to using echo | pbcopy, but then I discovered this:
$ rg -B 5 'case pasteboard'
CotEditor/Sources/Models/Scripts/UnixScript.swift
55- case replaceSelection = "ReplaceSelection"
56- case replaceAllText = "ReplaceAllText"
57- case insertAfterSelection = "InsertAfterSelection"
58- case appendToAllText = "AppendToAllText"
59- case newDocument = "NewDocument"
60: case pasteboard = "Pasteboard"
To Reproduce
Just look at the code. Fix is trivial.
Expected behavior
Execution is consistent with Help
CotEditor version
Version 6.2.4 (794)
macOS version
Tahoe 26.3.1 (25D2128)
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugsomethings work not correctlysomethings work not correctly