So my actual question is broader but I'll focus on a specific example to start:
I created a Pages document with some sample text displayed in each of the available fonts for comparison. To do this I ended up having to copy/paste the text over and over, manually selecting a different font for each instance.
How would I go about automating this? Through the Terminal? And, more broadly, how do I automate repetitive tasks like this in any application? Will it depend on the application I'm using or is there a general solution for most cases?
Thanks for your help