You ever build a read-me into your script?

I’m working on a script that I’m probably not going to distribute very widely. But lets pretend its some magical script that does something super useful that never occurred to anyone before but me.

My first thought was, a display dialog splash screen with buttons {"Read Me", "Quit", "Continue"} With the Read Me button just opening ANOTHER dialog with just text and a single OK button that sends you back to the first window.

But then I thought, wait this IS applescript after all. What if instead of opening another dialog when you clicked Read Me, what if I opened a new blank document in TextEdit, and send the text that would be the Read Me file, write to the new document!

Anyone ever do anything like this?

If you save it as an application bundle, you can actually store an rtf file in the bundle, then open that.
I’m not at my Mac right now, but there might even be a default rtf created when you save as bundle.

Another option is to just publish your ‘read me’ info on a web page and provide a link in your app. This way, if you update the info you don’t have to redistribute your entire app. (And yes, I do realize that it won’t be accessible without an internet connection.)

That is probably a better idea. Plus you could in theory do shell script ‘curl’ and have your applescript actually check if theres an update.