No preview of some .applescript files

It works on FM 18 for me on mac os 10.13.6.
Possibly just Demo version limitation.
This is an example of a filemaker script to loop the found set and export each record
note you will have to set the path variable

Go to Record/Request/Page [ First ]

Loop
Set Variable [ $TheFullPath ; Value: Main::The Folder Path & Main::File Name & “.applescript” ]
Export Field Contents [ Main::calc out notes nd samples ; “$TheFullPath” ; Create folders: Off ]
Go to Record/Request/Page [ Next ; Exit after last: On ]
End Loop

as far as ASObjC documentation…
must have - Everyday AppleScriptObjC by Shane Stanley

Look for Shanes “Libraries” Freeware | Late Night Software
read and dissect them
Apples documentation is a complete mess in my opinion.
Dash assembles it well but its still apples docs.
I dont know much about objc, but you dont have to, to use it for automation.
I will post a few more links when I get time…
Good luck!

1 Like

We have some changes coming in the next release that should address the .applescript files not previewing.

Most helpful. Now I’ll build a Tinderbox with the exported records and link them to the samples which I’ve already compiled with osacompile, so they’ll open ready-to-read in Script Debugger.

Great idea. Already had them but never looking into.

Thank you very much! Much appreciated!

I finally got the exported files for ASObj-C Database.fmpur uploaded.

Here is the link

Here is a cheat sheet for objective c

Here is an objective c to swift cheat sheet

Here is a link to NSHipster A lot of good articles on how to do things in cocoa. Not all is objective c but its not that hard to translate.

Enjoy!

Thanks! However the link doesn’t work and there’s no current thread in the Script Debugger forum that relates to the ASObj-C Database. Seems there went something wrong.

Sorry, link should work now!

1 Like