Open an text file on Mac

Hi there,
my beloved Content Wizard can easily call a texteditor to edit some values. Problem: That only works on windows. On Mac it won't. Does anybody know how to send a file to the Mac native Textedit.app or call the app to do some edits?
Thanks!
Comments
See this sample http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/general_ui/display_document_dynamic/start - it does require that you have a default aplication set for handling the file type.