Jump to content

Copy text and paste in alphabetical order


Recommended Posts

Hi there, Can anyone help? I'm looking to select text and then sort it in alphabetical order. Eg If this text below was on a webpage - is it possible to paste it alphabetically.

Eg

Simon
Alasdair
Vero
June

And paste it as

Alasdair
June
Simon
Vero.

 

Many thanks, Simon
 

Edited by Simon Thoumire
Link to comment
  • Simon Thoumire changed the title to Copy text and paste in alphabetical order
41 minutes ago, Simon Thoumire said:

Hi there, Can anyone help? I'm looking to select text and then sort it in alphabetical order. Eg If this text below was on a webpage - is it possible to paste it alphabetically.

Eg

Simon
Alasdair
Vero
June

And paste it as

Alasdair
June
Simon
Vero.

 

Many thanks, Simon
 

you can create a workflow.

 

I made a sample. download URL:https://github.com/alanhg/alfred-workflows/blob/cfc98d12b1b0a460930aaa494f4063212d5c0604/.sample/Paste in alphabetical order.alfredworkflow

Screenshot2024-04-16at21_00_49.thumb.png.4b3555656c1fa8a29afdfbf0d54064bc.png

usage

 

select multiline text and trigger `Paste in alphabetical order` text action. enter to paste sorted text.

 

Edited by Alan He
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...