• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to get started with AppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: How to get started with AppleScript?
      • From: Goran Ehn <email@hidden>
  • Prev by Date: Re: Quick help with command keys...
  • Next by Date: Re: How to get started with AppleScript?
  • Previous by thread: Re: Adobe's lousy AppleScript implementations
  • Next by thread: Re: How to get started with AppleScript?
  • Index(es):
    • Date
    • Thread