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: NSKeyBinding Warning in AppleScript Studio



Do you somewhere declare the "ImageFrameStyle_ask" key? or is that an applescript supplied thing?

the warning is pretty self explanatory, and quite annoying in some cases. :-)

keys used in key-value binding should always be initially lower case. AppleScript makes heavy use of KVC to do what it does.

On Sep 2, 2003, at 3:31 AM, Thomas Schmidt wrote:

Hi,

why do I get this warning from an "AppleScript Studio" application and how should I handle it?

-- -- -- -- -- -- -- -- -- --
2003-09-02 09:20:19.518 AppleScript Studio Experiments[688] NSKeyBinding Warning: <NSImageCell 0x77250> was accessed using a capitalized key 'ImageFrameStyle_ask'. Keys should normally start with a lowercase character. A typographical error like this could cause a crash or an infinite loop. Use +[NSKeyBinding suppressCapitalizedKeyWarning] to suppress this warning.
-- -- -- -- -- -- -- -- -- --

The statement which produces it:

set props to (properties of prototype cell ,
of matrix "imageMatrix" of scroll view "matrixScrollView" of window "main")

Each element (matrix, ...) exists and acts as expected.


Thomas

|Thomas Schmidt | Email: email@hidden | Phone: +49-5807-1503 |
|Zum Heller 2 | Web: http://www.tcsoft.de/ | Fax: +49-5807-1504 |
|D-29575 Aljarn | Cellular: +49-172-3011505 | CelFax:+49-172-3022369|
|PGP-Key on public key server available. PGP-ID: "Thomas Ch. Schmidt" |
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.

References: 
 >NSKeyBinding Warning in AppleScript Studio (From: Thomas Schmidt <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.