Jump to content

Text (URL) copy - alter text (URL) - past text (URL)


Recommended Posts

2 hours ago, martindoersch said:

copies a selected text (URL)

 

Universal Action Trigger or Hotkey Trigger with Argument set to Selection in macOS.

 

2 hours ago, martindoersch said:

alters this text (URL) - add a character at a specific location. (after the 16th character add a dash - )

 

Replace Utility set to “Replace regex (.{16})(.*) with $1-$2”.

FWOPEOQ.png

2 hours ago, martindoersch said:

pasts the altered text (URL)

 

Copy to Clipboard Output (check Automatically paste to frontmost app).

 

Edited by vitor
Link to comment

Hi!
Thanks so much. This works.

 

I just want to make it more effective for me by adding the following before/after:

  1. Keystroke CMD+L (activate URL in Browser)
  2. Copy the selection to clipboard
  3. do the string replacement with your regex
  4. Paste from clipboard
  5. Keystroke ENTER (to load the new url)
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...