need some help
need some help
- Subject: need some help
- From: louie <email@hidden>
- Date: Fri, 18 Feb 2011 21:59:08 -0800
Hi all,
Could you fix the below to not use shell script?
Thank you for any help.
set onOff to do shell script "cat ~/.recording"
if onOff is "on" then
do shell script "echo \"off\" > ~/.recording"
else
do shell script "echo \"on\" > ~/.recording"
end if
say onOff
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