| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| After a few hours googling on the internet on the topic of NSDictionary and AppleScript record, I have come to the conclusion that I also need to define a record-type in my sdef: <record-type name="scriptmenurecord" code="scMe"> <property name="name" code="scNa" type="text" description="the name of the frontmost application"> <cocoa key="frontmostname"/> </property> <property name="menu" code="scMi" type="integer" description="The menu item number of the selected menu, starting from 0"> <cocoa key="menunumber"/> </property> </record-type> and then use this instead of record in the command "selected scriptmenu" But the result is exactly the same. And the curious thing is that I am unable to see the above record-type when I open my apps Dictionary in Script Editor. Ivan Den 23. nov.. 2007 kl. 08:13 skrev Ivan C Myrvold:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-implementors mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-implementors/email@hidden This email sent to email@hidden
| References: | |
| >NSScriptCommand with record parameter (From: Ivan C Myrvold <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.