• 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
System calls in AS (was: Re: Unixy question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

System calls in AS (was: Re: Unixy question)


  • Subject: System calls in AS (was: Re: Unixy question)
  • From: Michael Kelly <email@hidden>
  • Date: Wed, 08 May 2002 23:42:19 -0700

On 5/8/02 11:22 PM, Jon Pugh <email@hidden> wrote:

> You've got a description of a system routine, not a shell command (which is
> what "do shell script" provides). You can call this from your C++ program,
> but not from the command line.
>
> You want the "date" command.
>
> Jon

Hmm... couldn't you also just send this command to the system via
AppleScript through something akin to "system()"? Can AppleScript do that?
(i.e., something along the lines of: set root_dir_contents to system command
"ls -la /"). I realize this wouldn't be very practical in this situation,
but it might be helpful at other times.

Is AppleScript capable of doing this? I haven't found anything in the AS
Language Guide that seems to do it.

(Sorry for sliding off-topic...)

Thanks,
--
Michael
_______________________________________________
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: System calls in AS (was: Re: Unixy question)
      • From: Jon Pugh <email@hidden>
References: 
 >Re: Unixy question (From: Jon Pugh <email@hidden>)

  • Prev by Date: Re: Unixy question
  • Next by Date: Re: Text delimiters and file reading
  • Previous by thread: Re: Unixy question
  • Next by thread: Re: System calls in AS (was: Re: Unixy question)
  • Index(es):
    • Date
    • Thread