Cronjob Chronicle

en línea jainbasil

RSS Feeds

  • Home
  • About

Apple Script in action!

Mar 9th

Posted by jainbasil in Mac OS X

No comments

This is for the first time I am blogging about Mac OS X. Last day, I was chatting with one of my foss buddies. I wanted to learn something from him, and we were discussing how to vectorize and image in inkscape!. Alas, I did typed in something, and he wanted to me to say SORRY!. Since I didn’t do anything wrong, I told him that I am not ready to do that. The chat progressed, and I agreed to say Sorry!. Then he wanted me to say Sorry 100 times, and asked me to do it using Python.

I was using Mac at that time, so went for another choice, APPLE SCRIPT. This is what I did :

using terms from application “iChat”

tell application “iChat”

repeat 100 times

send “SORRY!” to buddy “********************”

end repeat

end tell

end using terms from


This will send the buddy the text “SORRY!” 100 times. Note that I’ve replaced the name of buddy with * for privacy :D
Apple Scripting is same as our shell scripting in Gnu/Linux, whom we employ to automate our work :)
Apple Script, Mac

Back after a short break

Feb 18th

Posted by jainbasil in Life

No comments

Lol!

I’ve found sometime to write something on my blog!. University Examination is at doorstep; OS textbook is looking at me laughing; and me, sitting in front of my study table with laptop. May be I am taking up a break, or is it correct to say that I am too much distracted these days? I don’t know. Anyway, I’ve decided to study well for my exams right from this day!

I’ve a lot to blog about, and will be doing it one by one starting right from the “Sarai FLOSS Fellowship, New Delhi” upto FOSSMeet@NITC, 2010. Also, on some works which I did in Scribus and on my Mini Project too!

Pencils down!… oops, shutdown the laptop, it’s time to start studies!

I will be back sometime later, with some other post!

Life
12345»1020...Last »
  • Archives

  • Recent Posts

    • Apple Script in action!
    • Back after a short break
    • New Mailing List for FSUG, Thrissur.
    • Scribus Talk @ FOSS.IN/2009
    • FOSS.IN 2009: Memorable event in my life!
  • Recent Comments

    • Jake Gomez on Playing with python : A Command-line twitter client
    • Anil C S on Calicut University style of “Computer Science Engineering” !
    • Sujith H on Scribus Talk @ FOSS.IN/2009
    • Sujith H on FOSS.IN 2009: Memorable event in my life!
    • pramode on FOSS.IN 2009: Memorable event in my life!
  • Blogroll

    • Alex Poovathingal
    • Appu Sajeev
    • Aswin Sashidharan
    • Hiran Venugopalan
    • Sujith H
    • The GnuVision Blog
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top