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)

Posted on Sep 24, 2023 3:54 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Quick Action using JavaScript

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.