• 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: script, do script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script, do script


  • Subject: Re: script, do script
  • From: has <email@hidden>
  • Date: Tue, 11 Jun 2002 23:29:25 +0100

Jon Pugh wrote:

>There's no reason to use a list here. In fact, I don't even know what the
>"do script" command is doing here either, since that's an application
>command.

See:

http://www.tuxedo.org/~esr/jargon/html/entry/voodoo-programming.html
http://www.tuxedo.org/~esr/jargon/html/entry/cargo-cult-programming.html

--

The original code sample looks like it could be reduced to the following:

on run

do some stuff

tell makefiles to run

end run

script makefiles

end script


If you're brave enough to dive in and clean up, remember to backup first
and test each change as you go.

has

--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
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.

  • Prev by Date: Re: applescript and graphics programs
  • Next by Date: RE: If folder does not exist ...
  • Previous by thread: Re: script, do script
  • Next by thread: NetWare 5.14 login w/ applescript?
  • Index(es):
    • Date
    • Thread