I need a way to have a way to always add something to bottom of the list
Basically need bind or some automation that will have cursor all the way in bottom (no indent) of the document.
I need a way to have a way to always add something to bottom of the list
Basically need bind or some automation that will have cursor all the way in bottom (no indent) of the document.
You can try this script, is that what you mean?
tell application "Bike"
tell front document
select at make row at end of rows
end tell
end tell
I do have Bike
app open.
I’m not sure. It’s working for me in both Script Editor app and embedded in Shortcuts action as shown in your screenshot. I would recommend first trying to get it working in the “Script Editor” app, and once it works there then paste into a Shortcut action.
Since the error says Expected "tell"
it seems like something is rather confused, since the script does start with a tell. Maybe there’s an invisible character that got copied and is somehow messing things up? Anyway see what happens if you run script in “Script Editor”.
Working here. (Sequoia 15.0.1, Bike 1.18.5)
New Bike Row at end of Front Document.kmmacros.zip (1.4 KB)
The fact that your Keyboard Maestro action shows unformatted source code suggests that it hasn’t compiled.
(Inadvertent inclusion of some non-text, invisible, or CJK etc bytes ?)
The code is normally compiled (if possible) and displayed in highlighted text as soon as you move KM Editor focus elsewhere:
Ah, thanks for the extra info. I assumed it was Shortcut UI, but I guess Keyboard Maestro.
Ah !
I see the obstacle to compilation.
A missing final “l”
tell → tel
( clipped, perhaps, in copy/paste ? The trick is to use the Copy icon at top right of the forum code display field )