illustrator-scripting-guide
illustrator-scripting-guide copied to clipboard
Example code creates off-screen result
The example script here creates text that is off the page and (on my system) off the screen, so at first it appears not to work.
The coordinates are (200, 200); but to put them on the page, the Y coordinate should be negative. Screen shot attached.