Posts Tagged ‘typinator’

Typing verses from The Quran

Thursday, January 21st, 2010

You type verses from the Quran all the time, in Arabic? Yes. How about doing it in less than a second? No? Read on then.
What I’m talking about are text expansion softwares. These are small utilities that run in the background and look for what you type. When you type a pre-configured sequence of characters, magic happens. So no matter what application I’m using, as soon as I type the letters ‘w b r’, this utility auto expands right at that place into ‘with best regards’. This is a huge time saver for people who do a lot of typing on their computers. It’s even useful to us software developers. For the code snippets you might need on a regular basis, these utilities can make you more productive.
It’s east to imagine the benefits of this amazing utility. You don’t type often used word or phrases over and over, you save time, type faster etc etc. To me this utility presented another idea. Before I talk about that, let me briefly mention my project so you’ll understand what I’m doing.
As an active seeker of Islamic knowledge I often find the need to include Quranic verses in my notes. The most naive way us to start typing it. It not only is painstakingly slow, you can make mistakes unintentionally. Another and most common way is to copy paste. That too can take some time. Since you have to first search or navigate to the ayah and then copy paste. So to ease this task I came up with the following idea(mind you this is all for mac users. Sorry I don’t develop for windows).

Develop a software utility that is capable of

  1. Being called from anywhere via clicking on its icon in the dock or menu bar icon
  2. Must be launched by a keyboard shortcut
  3. when launched, a search box should appear allowing to search for a verse by
    1. either surah name and verse number
    2. surah number and verse name
    3. if none of the above then at least being able to do a regular search (least desired feature for v 1.0)
  4. Once the software is able to pull up the verse, any one of the following should be possible
    1. copy the verse to the clipboard
    2. paste it into the current cursor position of the application
    3. provide an English or any desired translation of that verse

The above is only a glimpse of my initial thoughts on this project. While I procrastinate ;) on this idea, I wanted something right now. Enter text expander utilities. I realized that I could use one of these tools and get a partial result of what I truly wanted. So I spent a little time working on plugins for both Typinator and TextExpander. Why these two is not the subject here. That I’ll discuss some place else. Take a look at the small video below.

Excited yet? To learn more about how you can do this head on over to my project page.