I have an Applescript Studio app that uses data sources in its model scripts to store data. These data sources were global to the app so any script or handler could reference them. I am porting my Studio app to ApplescriptObjC and the compiler is failing on any reference to data sources. An Example is below:
set PageSetupDataSource to make new data source at end of data sources with properties {name:DataSourceName}
make new data column at end of data columns of PageSetupDataSource with properties {name:PageLayoutTypeCell}
I just get the generic: “expected … but found identifier” error.
Does ASOC support data sources like Applescript Studio?