Batch Convert AppleScripts to Read Only

Is there a way to batch convert a bunch of AppleScripts to read only that anyone knows of? Seems like a nice job for a droplet.

I suppose you meant run-only, right.

You can read a compiled script as text with osadecompile, then write it out again with osacompile -x. The -x option makes the result run-only.

Yes that is what I meant thanks for figuring that out, sorry about that. Thanks for the tip and help.

I forgot I had purchased Script Overlord app that also does this https://itunes.apple.com/us/app/script-overlord/id428173709?mt=12

http://www.nilesmitchell.com/applications.html