Re: Save a text file
Re: Save a text file
- Subject: Re: Save a text file
- From: Jay Young <email@hidden>
- Date: Mon, 21 Jan 2002 23:39:36 -0600
On Monday, January 21, 2002, at 04:13 PM, Sumith Meegama wrote:
>
Im saving a simple text file and import that text file
>
into QuarkXpress 4.11 under OS 9.2 but Quark doesn't
>
recognise the text file. Anybody knows why?
>
_______________________________________________
I don't know if this will answer your question but I've tried something
similar to the following in System 10.1.1 with QuarkXPress 4.1.
----------------------------------------------
set thePath to "Macintosh HD:Desktop Folder:test" --(make a path to
file location)
tell application "QuarkXPress(TM) 4.11" --(change (TM) to option-2 for
correct font)
activate
make new document at beginning with properties {page height:"11\"",
page width:"8.5\"", guides showing:true, invisibles showing:true,
automatic text box:true}
--(make sure this (make new document...) is all on one line)
tell text box 1 of document 1
set story 1 to thePath as alias
end tell --text box 1
end tell --Quark
----------------------------------------------
Basically, I have a SimpleText file on the desktop named "test" and I'm
pulling it's text into text box 1 of Quark. I've noticed that if the
text in the SimpleText file contains any fonts of "<" then it won't
work. To fix this I added another "<" before each character of "<" in
the SimpleText file and it works. So if your SimpleText file contained:
<HTML>...
then if you change it to:
<<HTML>...
then it seems to work.
Jay