| Click here to select a new forum. |
| AppleScript Tutorial |
Posted by: nathanpc on 2009-09-26 04:54:30 Hello,
I'm new in Mac and i want to know where i can find a good tutorial to learn AppleScript, but remember that i'm using Mac OS System 7.5.5.
Thanks,
Nathan Paulino Campos
|
Posted by: joshc on 2009-09-26 13:54:07 Quite a few good books were written about AppleScript, take a look on Amazon to pickup a few used copies.
|
Posted by: porter on 2009-09-26 14:20:23 1. Start up the script editor.
2. Turn recording on.
3. Switch to Finder
4. Move a couple of files around
5. Switch back to editor
6. Stop recording
7. Save script as a file
8. End of tutorial
You should see lots of "tell type name" to do something with things. That's basically AppleScript, it's about sending AppleEvents which are defined in the target applications dictionaries. Oh, and a few variables and flow control. Where it gets fancy is when people integrate with MacHTTP and start writing web-sites in AppleScript, look for those samples around.
|
Posted by: beachycove on 2009-09-28 07:39:53 This would get you somewhere. |
Posted by: Charlieman on 2009-09-29 10:32:22 Lots of references to Mac OS X, but dig around on some of the links provided from this great site:
http://www.latenightsw.com/scripting.html
The MacScript mailing list was a great resource in the 1990s so it is worth searching for archives on Google.
|
Posted by: tyrannis on 2009-09-30 18:31:29 The Tao of AppleScript is a well-written introduction. |
Posted by: register on 2009-11-15 07:44:10
The Tao of AppleScript is a well-written introduction. Yes, this is a very well written documentation. I used the book as a guide to write and understand my first lines of AppleScript code. If, in any case, AppleSrcipt is not capable of performing some tasks you would like to include into your project, and you did not want to deal with something less easy to learn, try to combine it with the Classic Software KeyQuencer. It allows to write similar script programmes with a set of inbuilt functions, and also to execute AppleScript code from within a KeyQuencer macro script. Have fun!
|
| 1 |