Yet Another SmackBook Script

Simple steps to command your macbook hitting it. You need a Leopard Mac OS X to use the script below.

This is a bad quality video I took just to demonstrate what you will get.

Download AMSTracker, a command-line program that retrieves acceleration data from the Sudden Motion Sensor in Apple notebook computers (Macbook and Macbook Pro has it).

Download my smackbook.pl modified script. Thanks to the Medallia blog for the original one (SmackBook Pro)

Put the AMSTracker file and the smackbook.pl into the same directory (this example is based on the directory: ~/Desktop/smackbook)

If you run the script without arguments it tells you the possible options you can use (only one):

~/Desktop/smackbook:./smackbook.pl
Possible action arguments are: "places" - "itunes" - "dashboard"
- "desktop" - "expose"

Action argument explaniation:

You can choose only one action every time you run the script, so decide how you would like to impress your friends, run the command and start smacking your macbook ;)

~/Desktop/smackbook:./smackbook.pl places
AMS hardware present and initialized

WARNING

I know it is obvious but remember there is the possibility to damage your macbook hitting it, particularly the hard disk may suffer it. So you have been warned.

Tags: , , , , , , , , ,

Post simili:

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

6 Responses to “Yet Another SmackBook Script”
  1. Russell
    13:56 on May 9th, 2010

    I am seriously looking to change my PC to a Mac, although I understand now that due to their more recent increase in popularity the virus writers are now writing viruses for Macs too, so this makes them slightly less attractive than before!

  2. RayG
    21:33 on March 18th, 2010

    Hello,

    It’s March, 2010. I purchased my MBP just recently from the Mac store. I’m quite new.

    This is where I’m at: I’ve created a Folder “smackbook” right on the Desktop. That Folder holds the following two files: AMSTracker & smackbook.pl. I’m at the Terminal window where by default, it displays my Username with the ‘$’ sign after it. What am I supposed to do at that point?

    regards,
    RG

  3. F Jones
    01:38 on November 6th, 2009

    These same publications are also an important tool in keeping up to date with the newly introduced products!

  4. Thomas
    21:58 on June 10th, 2009

    It´s Just the best Smackbook Script i´ve ever seen!!
    I love it and it is super useful.
    Sorry for my bad english, but i am just 14 and cone from austria.

  5. laron
    09:40 on May 15th, 2009

    thank you very very much.
    i edit your script and i enjoyed it.
    your script don’t need desktop manager.app, it makes mac and me happy. (desktop manager.app has many errors.)
    i want feedback your post, but i can’t find out. so i leave this message.
    if you want see your post in korean version, visit my blog – http://blog.jinbo.net/picotera/?pid=289
    thanks! :)

  6. laron
    09:39 on May 15th, 2009

    thank you very very much.
    i edit your script and i enjoyed it.
    your script don’t need desktop manager.app, it makes mac and me happy. (desktop manager.app has many errors.)
    i want feedback your post, but i can’t find out. so i leave this message.
    if you want see your post in korean version, visit http://blog.jinbo.net/picotera/?pid=289
    thanks! :)

Leave a comment

(required)

(required)


*

Categories