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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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

Reply via email to