Jump to content

Insert (Unicode) Character


Recommended Posts

Before I saw that bevesce had already created this (with more features), I finished one of my own.

 

Anyway, it makes it easy to search and insert Unicode characters by their name in the current text (if it's supported).

 

Here's the download

 

Here's the source

 

Technical details:

For the technically interested, the difference between this and bevesce's is that this is written in ruby as opposed to Python and has the characters hard coded in this script. It makes it slightly faster with the expense of including only a subset of all possible characters. There is a limit to how big the script, or the array in it, can be it seems or it will crash when being loaded by Alfred.

 

Keep up the good work!

Link to comment
  • 9 years later...

this is great - thanks a lot!

Is it possible to change the script so I can pre-define a font-color? so i.e. I want to use "insert check_mark" and the check-mark should be pasted in green. I don't need to change the colors dynamically. It would be totaly fine for me to set up the color once and then always use the script like this.

would be cool to get an input if it's possible.

thank you!

Link to comment
48 minutes ago, Maichu said:

Is it possible to change the script so I can pre-define a font-color?


Font colour depends on the application you’re writing into. When you copy a character it doesn’t have a set colour. It is technically possible to coerce a colour before pasting but not in a universal way. Not every application supports text with different colours and not all support the same methods (Rich Text, HTML).

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...