--3/
tell application "Tex-Edit Plus"
make new document
window 1 of application "Tex-Edit Plus"
set bounds of window 1 of application "Tex-Edit Plus" to {1384, 712, 2405, 865}
-- set MyText to "my text"
make text
end tell
How can I insert, or write a word or string (like "3/ " ) automatically into a newly created Tex-Edit Plus document?
/
with best regards,
Omar K Neusser
Stockholm, Sweden
(Cannot find anyth in the dictionary, where it has insert command from file etc. also from selection.)
This works in an old copy (v4.9.9) of Tex-Edit Plus that I have:
tell application "Tex-Edit Plus"
set newDoc to (make new document)
make new line at newDoc with data "3/" -- or 'make new character', or 'make new word', or 'make new paragraph'.
end tell
Various forms of the ‘at’ parameter work as well, such as ‘at end of newDoc’ or ‘at end of text of newDoc’.