• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
need some help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: need some help
      • From: Christopher Stone <email@hidden>
    • Re: need some help
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Reference ?
  • Next by Date: Re: need some help
  • Previous by thread: Problem getting current url from Apple's HelpViewer
  • Next by thread: Re: need some help
  • Index(es):
    • Date
    • Thread