Osascript :: Surplus "\n" at start of document.selectedText() value?

Given a selection of some rows, like:

Screenshot 2022-06-26 at 09.54.39

The scripting interface property of documents:

  • AppleScript selected text
  • JavaScript .selectedText()

seems to be returning (Bike 1.3 build 61) an unexpected (redundant ?) leading linefeed:

AppleScript
Screenshot 2022-06-26 at 09.58.24

JavaScript

( Easily pruned, in the case of JS, with String.trimStart() )

Ooop. Just fixed, fix will be available in the next release.

1 Like