Re: 'load script' fails for Mail rule script
Re: 'load script' fails for Mail rule script
- Subject: Re: 'load script' fails for Mail rule script
- From: Jakob Peterhänsel <email@hidden>
- Date: Mon, 16 Feb 2004 22:45:54 +0100
Hi,
On 16. feb 2004, at 8:58, Lachlan Deck wrote:
on debugMsg()
if DEBUG then tell app "Mail" ,
to display dialog DEBUG_MESSAGE
end debugMsg
just a small comment, but....
Why the 'tell Mail.app' ?
Assuming you're not interacting with the Finder or other stuff, you're
already 'in Mail.app context' so it's a bit double-up to tell Mail
again...
Also, 'display dialog' is part of the standard Scripting Additions, so
System will handle this anyway.
If, you by any chance have problems with it, I have found that 'tell me
to display dialog...' makes it work...
Hope it makes sense... ;-)
____________________________________________
Jakob Peterhdnsel
Network Consultant
Tel: +45 7022 1014
Fax: +45 7022 1013
Mob: +45 22 68 49 61
email@hidden
www.NetPoint.com
The information contained in this message is confidential or protected
by law.
If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is
prohibited.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.