• 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: AppleScript Runner Problems?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript Runner Problems?


  • Subject: Re: AppleScript Runner Problems?
  • From: "S. J. Cunningham" <email@hidden>
  • Date: Mon, 02 May 2011 13:15:25 -0400

Thanks!  Your change seems to have fixed the problem with my script.  I should have been more careful with the property :-)

As far as the system script, that appears to be a different problem:  I found that if you select the signature "none", the script terminates... that's why no editable message appears.  If you select an actual signature, the script continues as expected.

On May 2, 2011, at 12:53 PM, KOENIG Yvan wrote:

[snip]

>> tell application "Mail"
>> 	activate
>> 	set theSignature to signature theSignature -- Don't understand why I have to do this in two steps
>
> This instruction coerce an object of class string into an object of class signature (a Mail class)
> This is why you must do what you described as "do this in two steps"
> For my own use, I would not use the same name for objects of different classes.
>
> Leaving theSignature as a string, I would use the_Signature for the object of class signature
> With your posted code,
> at first run the entry property is a string.
> you coerce it to a signature so, at second run, the entry property is of class signature
> and I don't know the behavior of
> set theSignature to signature theSignature
> when theSignature is already a signature.
 _______________________________________________
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: AppleScript Runner Problems?
      • From: KOENIG Yvan <email@hidden>
References: 
 >AppleScript Runner Problems? (From: "S. J. Cunningham" <email@hidden>)
 >Re: AppleScript Runner Problems? (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: AppleScript Runner Problems?
  • Next by Date: Re: AppleScript Runner Problems?
  • Previous by thread: Re: AppleScript Runner Problems?
  • Next by thread: Re: AppleScript Runner Problems?
  • Index(es):
    • Date
    • Thread