Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UI script errors when run from project




On 2006 Jan 19, at 12:13, John Coelho wrote:

Hi Mark,

I think the problem is that System Events doesn't understand the "log" command. Try commenting out the "log" statement or changing the statement to "tell me to log 1".

Hope this helps,
jc

Thanks for reminding me, I'd forgotten about that issue with log commands in tell blocks. Though it turns out that wasn't the problem.


I've now found the problem: I had added a new AppleScript file to my project, which (for whatever reason) is set to UTF-8 by default. The problem arose with the line 'click menu item "New…". Now I've converted the file to Western (Mac OS Roman), the ellipsis is now understood, and the script works.

Is there a reason for new AppleScript files to be UTF-8 by default? It seems to me that every one has to be changed to Western (Mac OS Roman).

MarkB _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden
References: 
 >UI script errors when run from project (From: Mark Butcher <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.