• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
()"#%&/=!!! QuarkXpress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

()"#%&/=!!! QuarkXpress


  • Subject: ()"#%&/=!!! QuarkXpress
  • From: Håvard <email@hidden>
  • Date: Sat, 18 Nov 2000 18:59:03 +0100

Hello wonderful list.

I am working on a script applying style specs to text in quark. I need my script to recognize empty lines so I had something like
if paragraph x of selection is "" then ....
which failes on some lines as quark seems to return "" when paragraphs does meet certain criterias.

If I make a text-box in a quark doc, and type the following three lines of text in it:
()"#%&/=!!!

()"#%&/=!!!test

select it and run this:

tell document 1 of app "QuarkXPress Passport 4.11"
tell current box
repeat with i from 1 to count paragraphs
paragraph i
end repeat
end tell
end tell

count every paragraph of current box of document 1
--> 3
get paragraph 1 of current box of document 1
--> ""
get paragraph 2 of current box of document 1
--> ""
get paragraph 3 of current box of document 1
a--> "()\"#%&/=!!!test"

quark returns the first line as "" and not "()"#%&/=!!!" as I would expect. Is this a feature I can turn off, or get around?

Hevard

--




***********************************
WINDOWS - Will Install Needless Data On Whole System


  • Follow-Ups:
    • Re: ()"#%&/=!!! QuarkXpress
      • From: Hans Haesler <email@hidden>
  • Prev by Date: Re: Smile - new window with properties [and a tip]
  • Next by Date: Re: Scripting Quicktime Player
  • Previous by thread: Re: Scripting Quicktime Player
  • Next by thread: Re: ()"#%&/=!!! QuarkXpress
  • Index(es):
    • Date
    • Thread