• 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
Re: Where is the Missing Link?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is the Missing Link?


  • Subject: Re: Where is the Missing Link?
  • From: Lourens Smak <email@hidden>
  • Date: Tue, 25 Sep 2001 22:15:43 +0200

>I presume that "DIR /s > textfile" via AppleScript is just a learning
>exercise?
>
>Many others have posted Applescripts that do what the DOS command does but
>taking FAR more lines to do it. I think this reflects that you need to
>use the right tool to do the job. Lots of disk cataloging programs exist
>for the Mac; many will work in a drag-n-drop mode so the effect of the DOS
>program can be achieved without a single line of code.

You can do it even faster... finder can do it (apart from making the
empty text file)

I've seen many times people don't realize that cmd-c with files selected
copies the filenames to the clipboard:

cmd-a (select all in the window)
cmd- -> (arrow key)
cmd-a (again)
cmd-c
switch to empty textfile
cmd-v

5 seconds from start to finish...

Think about what you do with a script, and without a script... :-)
(but as a trainig excercise a script for this is pretty good of course)

;-)
Lourens.


  • Follow-Ups:
    • Re: Where is the Missing Link?
      • From: Jon Pugh <email@hidden>
  • Prev by Date: Re: Applescript Studio announced today!
  • Next by Date: FaceSpan for OS X (was Re: Applescript Studio announced today!)
  • Previous by thread: Re: Where is the Missing Link?
  • Next by thread: Re: Where is the Missing Link?
  • Index(es):
    • Date
    • Thread