Yes, applescript is a beeoootiful thing.

Imagine what it would take to do that in a .bat file? Or a bash script?

Yikes.

The best applescript routine I ever wrote completely archived a print/web design 
project, including all media and fonts, onto a CD, properly structured and labeled and 
catalogued, and it printed out an asset list with thumbnails and filenames. Very nice.

Jerry Johnson

>>> [EMAIL PROTECTED] 01/14/03 09:05AM >>>
Huwos..

Have any of you seen the syntax for Applescript? It's a scripting
language that is supposed to allow automation of things in the OS. Such
as launching a program etc.

I was shocked at how simple and easy to read they made it!

Example:

Tell application "finder"
        Close every window
        open home
        SET THE currrent view OF THE FRONT window TO icon view
        SET THE bounds OF THE FRONT window to {14,64,512,481}
        open folder "documents" OF home
        SET THE current view OF THE FRONT window TO list view
        set the bounds of the front window to {523,64,907,482}
        select window OF home.
End tell

I mean..it's like reading English. 
Commands are verbs, you can reference things either descriptively or by
index....
It just looks soooo easy for someone to use!

Now I'm sure there are limitations...but it looks really cool. 

Why can't all 'high' level languages be like this? So you never have to
worry about syntax. 
All you have to do is worry about the logic of the HOW to do something,
rather than how to phrase. 
:)

-Gel


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
                                

Reply via email to