Re: AppleScript Runner Problems?
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