Re: Creating objects via AppleScript and setting readonly properties


Shane Stanley
 

On 11 May 2019, at 2:08 am, Steve Mills via Groups.Io <sjmills@...> wrote:

Or do I need to implement -setId and have it return an error to AppleScript?
If there's another way, I don't know it.

Is there any way to #include headers in an .sdef file so constants or #defines can be used and stringified?
It's just an XML file that gets added straight to the bundle, so I don't see how that would work.

--
Shane Stanley <sstanley@...>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>

Join cocoa@apple-dev.groups.io to automatically receive all group messages.