shell script
shell script
- Subject: shell script
- From: louie <email@hidden>
- Date: Sat, 17 Jul 2010 18:33:57 -0700
Hi all,
I have the below shell script.
I know I can run the script in the background by
do shell script "~/bin/timeout.sh&"
What I would like to do is have the shell code in the apple script.
#! /bin/bash
counter=0
while [ $counter -lt 180 ]
do
if [ -f ~/Desktop/testfile.txt ]
then
rm ~/Desktop/testfile.txt
exit
fi
say "working"
sleep 5
counter=`expr $counter + 1`
done
louie
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