Updated! Version 2 supports reading thousands in correct english.
Download the plugin here - 8.5Kb
So Coda 1.6 has been released. The major change appears to be the addition of a plugin system for adding functionality. Basically this allows developers to write small scripts that manipulate text from Coda. These plugins are then displayed inside Coda in the Plug-ins menu (or with keyboard shortcuts), so that they can be called easily.
Now, since i spend half my life in Coda, i wanted to play around with this and see if there was anything i could add to the community. Problem i found was, i dont really have many problems with Coda's interface - it already does pretty much everything i want. BUT.. while writing an article for Smashing Magazine (which was required in HTML), i noticed that i didn't have a good way to count the words in my article (since it was in HTML - Coda didn't have a word count at all). Now, the whole beauty of Coda is in its all-in-one interface, so it kind of annoyed me that i couldn't get a word count for my article without either opening it in some other program, or copying the content into my terminal and using wc.
Anyways, in order to flex my proverbial developer muscles a little and play with the Coda plugin interface, i built a simple plugin that will strip HTML and count the words in a document - it's simple (like super-uber-simple).. but it does the trick.. and i figure there might be someone out there who might appreciate it. Basically, it strips the HTML tags out and then counts the words and then uses the OSX say command to read the word count out audibly - it supports either a selection block or the full document.
Download the plugin here - 8.5Kb
Edit: now supports thousands properly.
Please leave a comment too :)
Subscribe to Site Feed | Get Email UpdatesPosted Nov. 13, 2008 three comments..
Nepal Trek Tours is a website showcasing the guiding services for a customer oriented trekking company based out of Kathmandu, Nepal. See pictures + details
http://monitter.com allows you to monitor twitter and see relevant tweets in real time. See pictures + details
Update your browser is a community initiative to encourage the users of the out dated Internet Explorer 6 to upgrade to IE 7, or better still, switch to a standards ... See pictures + details
This is pretty sweet! Nice Work - I know this plug-in is in early development, but I'd like to make a few feature requests.
Along the bottom of the editor view there is a line and position indicator - I'm not entirely sure how the Plug-ins work yet, but would it be possible to have the word count shown there?
The speaking voice is pretty cool, but the novelty wares off quite quickly with me - could there be an option to have a popup word count?
Thanks a lot! Simple and neat..
Ok, i've updated it to now read the numbers in real english. Turns out, OSX isn't smart enough to say 2424 as "two thousand, four hundred and twenty four" unless you format the number as 2,424. Anyhow, version two of the plugin is linked now and it correctly reads large numbers.