vinnycoyne.com
Magical adventures in nerdery.

25 November 2011

Scripting EirText for Mac in Terminal

Using EirText for Mac's command line / Terminal commands:

All you need to do is launch EirText as usual and make sure that you have an account set up within the app. Make a note of your username and the network you're using (e.g. O2.ie, VoIPCheap.com, etc). You can quit the app once you have an account ready for use.

Here's an example of how it works:

/Applications/EirText.app/Contents/MacOS/EirText -uUSERNAME -nNETWORK -rRECIPIENT1,RECIPIENT2,RECIPIENT3 -m 'MESSAGE TEXT'

Now, just a quick explanation of those arguments:

So, for example, let's say I'm a Vodafone.ie user and my username is 0871234567. I want to text two numbers — 0861111111 and +447547777777.

This is what I'd type into the Terminal:

/Applications/EirText.app/Contents/MacOS/EirText -u 0871234567 -n Vodafone.ie -r 0861111111,+447547777777 -m 'Hi there. This is a message sent from the EirText app for Mac!'

Hit return and you'll see something similar to the following output to the Terminal:

2011-06-16 14:10:22.135 EirText[5155:903] 181 messages remaining.

2011-06-16 14:10:22.136 EirText[5155:903] Sending message to 2 recipients...

2011-06-16 14:10:29.182 EirText[5155:903] Message sending successful.

2011-06-16 14:10:29.182 EirText[5155:903] Quitting EirText.


← Back | 🔗 Permalink