if( [anObject isKindOfClass:[NSScriptObjectSpecifier class]]
)
{
theDescriptor = [anObject _asDescriptor];
}
else if( [anObject respondsToSelector: selector(objectSpecifier)] )
{
theDescriptor = [[anObject objectSpecifier]
_asDescriptor];
}
On 17 Apr 2006, at 10:14 AM, Ruediger Moeller wrote:
>
> i'd like to call a script from my application and want
to pass a
> parameter refering to an AppleScript document.
> How can i create an NSAppleEventDescriptor refering to
a given
> ObjectSpecifier ?
> _______________________________________________
> Do not post admin requests to the list. They will be
ignored.
> Applescript-implementors mailing list
(Applescript-
> implementors lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/apple
script-implementors/d-j-
> v%40earthlink.net
>
> This email sent to d-j-v earthlink.net
_______________________________________________
Do not post admin requests to the list. They will be
ignored.
Applescript-implementors mailing list
(Applescript-implementors lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mai
lman/options/applescript-implementors/nessto%40sharedlog.com
This email sent to nessto sharedlog.com
|