Re: Quark 5 and "make paragraph" problem
Re: Quark 5 and "make paragraph" problem
- Subject: Re: Quark 5 and "make paragraph" problem
- From: Hans Haesler <email@hidden>
- Date: Thu, 3 Apr 2003 09:11:01 +0200
On Wed, 2 Apr 2003 , Wadson, David wrote:
>
Is there some sort of glitch in creating new paragraphs in a text box in
>
Quark 5? I'm trying to get a script that used to work properly converted
>
over to Quark 5.
>
>
"make new paragraph at end with data someData" used to work properly but now
>
all I get is a blank paragraph without the text in it.
David,
I never use this construct. So I didn't remark the problem.
But... I have a solution :-):
---
make paragraph at end with properties {contents:someData & return}
---
You don't need 'new' and you can delete the ' & return' (if you don't
want the return you've got with 'with data').
Of course, you may also insert properties, even a Style sheet:
---
... with properties {style sheet:"body", contents:someData & return}
---
Regarding your second problem: I can't help you without having seen
the script and the document. What happens if you use a try wrapper?
---
Hans Haesler <email@hidden>
_______________________________________________
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.