I want to hide the insertion point and text box boundary in Pages while manipulating the content of a text box with AppleScript

Using AppleScript with Pages, it's possible to create a simple bespoke countdown timer that can be displayed live or recorded for use in iMovie/Final Cut Pro projects. It's just a text box sitting over a formatted shape, with an AppleScript routine writing a new value to the text box every second. Using Pages 10.1 in macOS 10.14.6 (Mojave) it works a treat, displaying the timer exactly as required.


But... when I use the same script on the same document in Pages 13.2 running on macOS 14.3.1 (Sonoma), the insertion point marker and the text box boundary become visible, just as they would if the contents of the text box were being manually edited from the keyboard. In this context, these are unwanted artefacts. Is there a way to make them stay out of sight so that the timer display works like it does on my old Intel Mac, without the boundary line and flashing insertion point cluttering things up?

Mac Studio

Posted on Mar 28, 2024 5:34 PM

Reply

Similar questions

1 reply

Mar 29, 2024 4:21 AM in response to Mr Tea

The AppleScript dictionary support for Pages is in a word — horrible, and will not provide any means for you to control insertion points or text box boundaries in Pages v13.2. There have been considerable changes made to the Pages application (but not its AppleScript support) since version 10.1 in Mojave and they have apparently caught up to you in the current version of Pages.

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.

I want to hide the insertion point and text box boundary in Pages while manipulating the content of a text box with AppleScript

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