[ASOC] returning by reference, and converting script objects to descriptors?
[ASOC] returning by reference, and converting script objects to descriptors?
- Subject: [ASOC] returning by reference, and converting script objects to descriptors?
- From: has <email@hidden>
- Date: Sat, 16 Jan 2016 09:30:51 +0000
Couple of Shane/Chris questions:
Does ASOC support return-by-argument, e.g. for getting NSError**? I've
tried passing `a reference to someProperty` but the referenced property
never gets changed. Also, am I right that ASOC doesn't support
block-based APIs at all, e.g. NSTask.terminationHandler?
Is there a way to convert a script object to an NSAppleEventDescriptor
of typeScript? (Other than packing it into an AppleEvent and sending it
to a custom-installed AE handler, which is a chore.) Alternatively, is
there any way to get the OSAID of a script object after it crosses the
ASOC bridge, allowing it to be directly manipulated using OSAKit APIs?
(I need a way to do stuff like call OSADisplay to get the source-code
representation of any AS value.)
Ta,
has
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden