Re: Shell script does not run
Re: Shell script does not run
- Subject: Re: Shell script does not run
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 25 Apr 2007 08:37:06 -0400
Are you sure it's not working? "Do shell script" doesn't run in a
Terminal window, even if you put it in a tell block to Terminal (which
has no effect). It will copy the files without any visual indication
at all...
On 4/25/07, Peter Baxter <email@hidden> wrote:
HI people,
I have a shell script that does not run. It works as a script in
terminal very nicely, but does not work from AS. What is the problem?
tell application "Terminal"
activate
do shell script "cp -r /Volumes/BAXUSB2KEY/ /Volumes/Lacie/BAXUSB2KEY/"
end tell
Peter Baxter
email@hidden
Music creates order out of chaos: for rhythm imposes unanimity upon
the divergent, melody imposes continuity upon the disjointed, and
harmony imposes compatibility upon the incongruous.
-- Yehudi Menuhin
iChat email@hidden
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden