shell script in applescript
shell script in applescript
- Subject: shell script in applescript
- From: "spondita Madhuri Neog" <email@hidden>
- Date: Tue, 20 Apr 2010 11:36:37 +0530
- Thread-topic: shell script in applescript
Title: shell script in applescript
Hi,
Can anyone help me as to how to embed a shellscript command containing an "if-else" loop into applescript.I know that "do shell script" can be used to call a shellscript command from applescript but I am not able to call multiple statements in the if-else block contained within the shellscript.
My if-else loop in the shellscript is as follows :
if [ -e /Users/administrator/Desktop/sp.rtf ]
then
cd /Users/administrator/Desktop
sudo rm sp.rtf
fi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden