Quick Action using JavaScript
Hi there, I am trying to set up a Quick Action to use in Pages to do a very simple task of a single Delete followed by a Space. This is to remove a line break in text where they have been wrongly inserted. It seems the fastest way for this to be enacted each time is by setting up a Quick Action using JavaScript instead of a 'Watch Me Do' action.
However, I don't know much about JavaScript and so wanted to know what to put in the 'Run JavaScript' box as shown in the grab. The second grab shows the sorts of commands I need to use but these are from a video and using different keystrokes.
Some help would be appreciated.
Thanks
Mac mini (M1, 2020)