• 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
How to Remove Play Sound Rule Action in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to Remove Play Sound Rule Action in Mail


  • Subject: How to Remove Play Sound Rule Action in Mail
  • From: "S. J. Cunningham via AppleScript-Users" <email@hidden>
  • Date: Mon, 14 Sep 2020 05:30:57 -0400

Trying to remove an existing "play sound" rule action using applescript.

using terms from application "Mail"
        tell application "Mail"
                set theRule to rule "Test Rule"
                tell theRule
                        set play sound to ""
                end tell
        end tell
end using terms from

> Sound is set to "Message Fetch Error Sound" instead of being removed

Does anyone know how to do this?
 _______________________________________________
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: How to Remove Play Sound Rule Action in Mail
      • From: Steven Mills via AppleScript-Users <email@hidden>
  • Prev by Date: How to get list of all contacts and do some operations on them?
  • Next by Date: [ANN]3 New AppleScript apps on Mac App Store
  • Previous by thread: How to get list of all contacts and do some operations on them?
  • Next by thread: Re: How to Remove Play Sound Rule Action in Mail
  • Index(es):
    • Date
    • Thread