• 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: Scripting Additions: Embracing the Horror of Unix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Additions: Embracing the Horror of Unix


  • Subject: Re: Scripting Additions: Embracing the Horror of Unix
  • From: "J.B. Stewart" <email@hidden>
  • Date: Thu, 31 Jan 2002 05:18:39 -0500

On 1/31/02 at 7:36 AM, Andrew Nielsen <email@hidden> wrote:

> At 09:21 +1100 31/01/2002, Shane Stanley wrote:
> >On 31/1/02 8:58 AM +1000, J.B. Stewart, email@hidden, wrote:
> >
> >> Well I'm no unix expert but sometimes I just can't resist a challenge or
> >> hint.
> >
> >Thank you. Jon: I want copyFile back ;-)
>
> This works for me out of the box without any osaxen.
>
> do shell script "/Developer/Tools/CpMac myfile"
>
> I don't _care_ if I'm calling a Unix shell script. To a very large
> degree, I don't care what "language" or "environment" I'm calling
> from my AppleScript, if it gets the job done. The joys of osa.


Andrew,

That will work "right out of the box" only if you have installed the Developer
Tools. That's not going be the case with everyone using OS X. It brings us right
back to the problem of ensuring that the something (osax for instance) is
installed before we can use it.

John

P.S. You're welcome Shane but that is not much of a replacement for copyfile.
With a bit of work it may sometimes serve in place of it though.


  • Follow-Ups:
    • Re: Scripting Additions: Embracing the Horror of Unix
      • From: Andrew Nielsen <email@hidden>
References: 
 >Re: Scripting Additions: Embracing the Horror of Unix (From: Andrew Nielsen <email@hidden>)

  • Prev by Date: Re: downloading hotmail
  • Next by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Previous by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Index(es):
    • Date
    • Thread