AppleScript... what a blast from the past! The first piece of commercial software I ever created many years ago was a little thing called ScriptAgent. It parsed AppleScripts and embedded them into a 4D database (back in 4D V3 days), which effectively let 4D control any AppleScriptable application and use its data. I was so proud of that little thing.
Does anyone out there still use 4D? AppleScript? If so, what are you doing with it? Respectfully, Adam Phillip Churvis Advanced Intensive ColdFusion MX Training http://www.ColdFusionTraining.com E-mail: [EMAIL PROTECTED] Phone: 770-446-8866 Team Macromedia Volunteer for ColdFusion http://www.macromedia.com/support/forums/team_macromedia/ ----- Original Message ----- From: "Angel Stewart" <[EMAIL PROTECTED]> To: "CF-Community" <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 9:05 AM Subject: Applescript.. > 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
