How to get started with AppleScript?
How to get started with AppleScript?
- Subject: How to get started with AppleScript?
- From: Graham Samuel <email@hidden>
- Date: Fri, 27 Sep 2002 10:16:08 +0100
Hi list - I hope it is not too naive to ask how one should get
started in understanding ApplesScript and making oneself productive
really quickly. I come from a particular background, which is strong
familiarity with programming concepts and with X-talk languages on
the Mac, over 15 years experience as a Mac user, but no knowledge of
AS at all. I'm still using MacOS 9.2.2, since not all my favourite
apps run in X and very few of my customers (schools) seem to be using
it yet. My Macs are still G3s.
I am trying to read a PDF manual from the Apple site but there seem
to be big gaps in a tutorial sense - I guess for me the biggest is
the idea of parametric references or whatever you might call them, to
allow one to do stuff like (in IYSWIM):
ask the user to select a folder [of input files]
ask the user to select a folder [for output files]
for each file in the selected folder
open the file
do stuff
rename the file
save the file
end for
I have not yet got the idea of the way AppleScript can do the 'for
each' part of this, so that you don't have to hard wire the path/
filename of each file, tho it surely can.
I would very much appreciate it if someone could suggest an
appropriate learning resource, hopefully rich in examples.
TIA
--
-------------------------------------------------------------------
Graham Samuel / The Living Fossil Co. / London, UK
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.