• 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
Re: Mail: Create New Message script broken on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail: Create New Message script broken on Leopard


  • Subject: Re: Mail: Create New Message script broken on Leopard
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 28 Dec 2007 23:45:06 -0700

On Dec 28, 2007, at 11:15 PM, Vinay Prabhu wrote:

When I tried using this script on Tiger I had no signatures created in Mail and the script worked.
But on Leopard, when I run the script with no signature, it threw an error.

I think that the fact that it didn't throw an error in Tiger is a bug; you were trying to get the names of items of an empty list of properties.  In effect you were asking for

name of {}

Is it compulsory to create signature on Leopard?

No, but if you want a property of a signature, you need to have a signature to get that property from.

-- Michelle

-Vinay

On Dec 29, 2007, at 11:31 AM, Michelle Steiner wrote:

On Dec 28, 2007, at 10:17 PM, Vinay Prabhu wrote:

When I run this script on Leopard it generates error on line,
"tell application "Mail" to set everySignature to name of every signature"
The error is: "Mail got an error: Can’t get every signature."


-- 
"The past is like a foreign country.  They do things differently there."  --Leslie Poles Hartley

 _______________________________________________
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: Mail: Create New Message script broken on Leopard
      • From: Vinay Prabhu <email@hidden>
References: 
 >Mail: Create New Message script broken on Leopard (From: Vinay Prabhu <email@hidden>)
 >Re: Mail: Create New Message script broken on Leopard (From: Michelle Steiner <email@hidden>)
 >Re: Mail: Create New Message script broken on Leopard (From: Vinay Prabhu <email@hidden>)

  • Prev by Date: Re: Open Safari and Script
  • Next by Date: Re: Open Safari and Script
  • Previous by thread: Re: Mail: Create New Message script broken on Leopard
  • Next by thread: Re: Mail: Create New Message script broken on Leopard
  • Index(es):
    • Date
    • Thread