Jump to content

Find and Replace Plain Text - Clipboard

Recommended Posts

Can someone please help me solve this problem:


When I finish writing a report, I need to replace XX with the last name of the client. So far, I manually have to do these steps:


1. Copy the last name of the client

2. CMD+Option+F

3. Type XX

4. Hit Tab

5. Paste the last name of the client (CMD +V)

6. Move the mouse cursor to All button.


I use Ulysses for writing.


Can this be done faster?

Link to comment

Ulysses isn't, as far as I can tell, scriptable, so your options for automating it are limited, clunky and unreliable.


You can try simulating the keypresses and clicks with AppleScript or Keyboard Maestro.


Ulysses actually stores its documents as plain text (or RTF), so a more robust solution would probably to write a script that manipulates the files directly instead of via Ulysses.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...