Re: Quark doc as ASCII
Re: Quark doc as ASCII
- Subject: Re: Quark doc as ASCII
- From: "Michiel de Leeuw van Weenen" <email@hidden>
- Date: Wed, 18 Sep 2002 23:26:00 +0200
Re: Quark doc as ASCII(It is possible. Xdata is scriptable.)
If you set all the textboxes in a list, make a repeatloop so every text of
every textbox will be exported, it has to work.
I think I saw somewhere a script that does the job for you. Maybe someone else
on the list can give it to you.
I don't see the flow. First you export text, next you import this with xdata
and finally you save it?? What are you trying to do??
Michiel
----- Original Message -----
From: Ruby Madraswala
To: Michiel (werk)
Sent: Wednesday, September 18, 2002 10:45 PM
Subject: RE: Quark doc as ASCII
No. I want to save as text without any user interaction. Can I select text
within the script?
Actually this is what I want to accomplish:
- save quark document as text
- import using xdata using text file.
- Save newly created document as quark doc.
- Delete text file.
So saving as text and importing using xdata is transparent to the users.
Ruby
-----Original Message-----
From: Michiel (werk) [
mailto:email@hidden]
Sent: Wednesday, September 18, 2002 10:19 AM
To: Ruby Madraswala
Subject: Re: Quark doc as ASCII
Do you have selected a text box before you start the script??
Van: "Ruby Madraswala" <email@hidden>
Datum: Wed, 18 Sep 2002 08:44:28 -0400
Aan: "Michiel (werk)" <email@hidden>
Onderwerp: RE: Quark doc as ASCII
Michiel
Thanks.
I tried it out but I get an error message on 3text box2 3expected end of
line, etc. but found class name2 I just can9t get the syntax right. Before the
export line I have an open document line, I don9t think that should make a
difference.
Ruby
-----Original Message-----
From: Michiel (werk) [
mailto:email@hidden]
Sent: Wednesday, September 18, 2002 1:33 AM
To: email@hidden;email@hidden
Subject: Quark doc as ASCII
tell application "QuarkXPress Passport 4.11"
activate
export text box 1 of spread 1 of document 1 to file "HD Michiel:Desktop
Folder:test" as "ASCII-tekst" without selection only
end tell
ASCII-tekst is in dutch, so you have to translate it into your language.
Michiel
Ruby wrote:
Message: 8
Subject: Quark doc as ASCII
Date: Tue, 17 Sep 2002 14:03:45 -0400
From: "Ruby Madraswala" <email@hidden>
To: <email@hidden>
Hello,
I'm having some trouble getting a script to save a quark document as ASCII
text file. (using "save text").
Any suggestions.
Thanks,
Ruby
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.