System calls in AS (was: Re: Unixy question)
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.