Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
OSA Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OSA Scripting



I'm playing with sending an apple event from a plug-in to InDesign using the Open Scripting Architecture. I made a Carbon test app which it sends it and works just fine. When I try it from my plug-in it crashes compiling the script:

Thread 10 Crashed:
0 com.apple.applescript 0x988e2789 OpenGustavResourceFile () + 21
1 com.apple.applescript 0x988e8ebe TASDialect::DialectResource(unsigned long, short, char**) + 36
2 com.apple.applescript 0x988e8d4d TASDialect::Init (short, FSSpec const*) + 887
3 com.apple.applescript 0x988e8892 ASEnsureDialect() + 512
4 com.apple.applescript 0x988e8406 ASCompile(AEDesc const*, long, unsigned long*) + 444
5 ...ple.CoreServices.CarbonCore 0x90cd0d63 CallComponentFunctionCommon + 513
6 ...ple.CoreServices.CarbonCore 0x90ce242e CallComponentFunction + 124
7 com.apple.applescript 0x988e11a0 AppleScriptComponent + 1648
8 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
9 com.apple.openscripting 0x92ca22f8 OSACompile + 55



What the heck is the OpenGustavResourceFile ? Is there something I need to do to prep a call to the OSA stuff ? My test app calls everything the same way without any problems.



_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden


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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.