Text placement by script

My Script Editor is open. I put it into “Record” mode. I click on the “T” icon to enter text, and I type the letter “H” on the screen. I want the script to say something like :
Make new text at {100,150} with data “H”
The recording script says
‘make new text at beginning of graphic id 0 with data “H”’.
But there is no graphic id 0, and this code as given says nothing about WHERE the text is placed. How can I get a script to place text where I want it to appear on the screen?


Intaglio mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I think I’m getting there, The text needs to be bound to a pre-existing graphic thus : bind graphic 2 of document 1 to graphic 1 of document id 1


Intaglio mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The recorded script isn’t very helpful here because text block id 0 is the temporary text block created for editing purposes within Intaglio.

Try this:

make new text block with data “abc” with properties {origin:{100, 100}}


Intaglio mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Many thanks. That works nicely. Restored my faith in Intaglio, Applescript, Christmas, etc.


Intaglio mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options