• 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
AlertSounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AlertSounds


  • Subject: AlertSounds
  • From: DigitEL <email@hidden>
  • Date: Mon, 28 May 2012 18:45:11 -0700

Greetings All Again>

Followup to my issue of trying to auto format PlainTextAlternative incoming email messages in Mail and having it stick…

Decided to create a stay-open script that checks every 2 seconds and formats the current selected message… works fine and doesn't need to 'activate' Mail so I can switch to other processes and not be bothered by Mail activation… beauty!!
However, I have plenty of  try/endtry blocks around everything and after the script runs once on a particular message the PlainTextAlternative option is no longer available and the script errs, does carry on without a hitch, but plays the system error error sound… every 2 seconds. Is this normal? I thought with error trapping this should not happen.
Some might suggest I just turn the volume down but should we not have the option of playing sounds within scripts seeing as we have the 'beep' command to explicitly do so?

--
ForNow
DigitEL




 _______________________________________________
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: AlertSounds
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Extract number from source code.
  • Next by Date: Re: AlertSounds
  • Previous by thread: Re: Extract number from source code.
  • Next by thread: Re: AlertSounds
  • Index(es):
    • Date
    • Thread