Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.6: Create new AppleScript document Service' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Create new AppleScript document Service
Authored by: Lri on Mar 26, '11 03:53:44AM
ASE behaves strangely with make new document with properties {contents:(input as string)}.

For some reason it checks for errors. Sometimes the dialog opens behind the created document, sometimes it doesn't appear at all.

This seemed to fix it:
set doc to make new document
set text of doc to input

[ Reply to This | # ]