in

Quark Forums

Text Counter in Measurement Palette

Last post 03-19-2010 5:19 AM by Jean-Marie Schwartz. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 01-26-2010 6:23 AM

    Text Counter in Measurement Palette

    Hello Dan Logan, Matthias Guenther and other employees of Quark Inc.!

    I am the great admirer and true user QuarkXPress some years.
    More recently I sent you the offer on improvement QuarkXPress (particularly: change possibility increment on which objects are displaced at work with the keyboard). A bit later I even have sent the illustrated description of the offer.

    I want your understanding that I operate in interests of thousand users QuarkXPress. Therefore now I wish to offer you one more small, but the important improvement.

    In editorial work it is necessary for designers, journalists and editors to be constantly informed on text volumes. How many the text in boxing? How many the text on page? These questions arise at me and at many my colleagues of many times daily.
    Until recently for QuarkXPress there was Text Count xtension (company DTP Tools manufacture, see http://www.dtptools.com/product.asp?id=tcqx ). It added to the program a palette with the counter of symbols (symbols with spaces, without spaces, words, lines, paragraphs). It was good, but blase the data the palette. As far as I know, in Europe and Russia the text measure by number of symbols with spaces, and in the USA and Canada — words or lines. In my opinion, the rest was excessive and justified only that Text Count xtension was paid. But for 7 and 8 versions QuarkXPress it any more is not issued.

    If the text (as in newspapers and magazines) occupies ten boxes, it occupies a lot of time. But to refuse calculations it is impossible is it is necessary both for editors, and for accounts department. And even for journalists who need to know, how many the text to reduce or how many the text to add. It is necessary for designers to understand, what volume is not included into the taken away space. Such statistics is necessary to all.

    But now I and thousand my colleagues consider text volumes hardly. I copy the text in QuarkXPress and I insert it into document MS Office/Open Office. And only there I learn statistics.

    I consider that this thing can be simplified cardinally, having made the information on text volumes accessible directly in QuarkXPress (as at InDesign and even at PageMaker such information was accessible always).

    Please, look at this scheme:
     

     
    I offer on an measurement palette under the list of fonts to use an empty place (it was released from QuarkXPress 8). It is necessary to shift a little more to the right of button "B", "I" and "f". The Vacant place on the right can be used for informing on text volumes.
    For example: Сhrs 10767, Wrds 8760, Lns 567 (characters with spaces, words and lines accordingly).

    It can be the counter in real time which is updated during text updating.
    In case the text part is selected, I suggest the counter to take in square brackets: [ and ].
    And if text more than places in boxing, I suggest to add in the end of the counter dots, and the information to show only for the held text.
    If to complicate, on click on dots it is possible to show volumes of the text which has not entered into boxing (but then it is necessary not to finish the counter dots and to begin with dots). On the second click on dots the counter comes back to an initial kind.

    I have tried to describe the idea in detail. But in my opinion, it is simple performed by and very much will help users with daily work.
    Please, think over such simple improvement. Probably, realised differently instead of how I have described. It will be really big help for me and many-many my colleagues.

    Dan, Matthias, please, respond, whether it will be possible to realise this idea and that you think about it.

    I thank.
  • 01-26-2010 7:44 AM In reply to

    Re: Text Counter in Measurement Palette

    word up! ..it makes sense and would be great.

    Gérald
  • 01-26-2010 9:12 AM In reply to

    Re: Text Counter in Measurement Palette

    Hi, Andanas,

    your wish is good and it is already on our roadmap.

    However, if you need something like this now, QuarkXPress 8 offers a Word and Character Counter (under Utilties) and CopyDesk offers a line counter.

    Best regards
    Matthias

    Matthias Günther
    Senior Product Manager
    Quark Software Inc.

    (Please note: As I am traveling frequently, answering your post might sometimes take longer)


    Want to easily publish for the iPad, using high-fidelity designs with stunning interactivity? See here:
    English: http://youtu.be/Gldk5lvXXTA
    French: http://youtu.be/nsgB4Q7lQzg
    German: http://youtu.be/lecdenqaUGY
    Italian: http://youtu.be/wjBpYZsF-8s


    Need help? Contact Quark's support: http://support.quark.com/contact_us.html


    Please don't install the newest update 10.7.3 of Mac OS X Lion yet.
    For details please see here: http://goo.gl/AzKeR

  • 03-16-2010 6:15 AM In reply to

    Re: Text Counter in Measurement Palette

    I agree that a word and character counter would be very helpful in Quark 8, see my forum post here on the same subject:

    http://forums.quark.com/t/22830.aspx

     

    The Word & Character Count utility in Quark 8 just counts the whole text block.

    There used to be a work-around by selecting the text, Utilies>Check Spelling>Selection, which would give the number of words. According to this thread

    http://forums.quark.com/p/21764/87875.aspx

    this work-around was still in Quark 8.02 but disappeared in Quark 8.1.

    I am working on some book layouts and want a word count for a page at different type measures, point sizes/leadings and fonts - quite a common task, I would have thought.

    I can always copy the text and paste it into a word processor and count the words that way, but that's not very practical.

    And I'm curious as to why this work-round has disappeared, if it has and not just moved somewhere else.

    Kind regards,

    Mark

  • 03-16-2010 9:25 AM In reply to

    Re: Text Counter in Measurement Palette

    If you're on a Mac, you can save this AppleScript and run it from within Quark. It'll return text stats of the selected text.

    Hope this helps!

    tell application "QuarkXPress8.15"
         activate
         delay 0.2
        
         set glyphs to 0
         set whiteSpaces to 0
         set ret to 0
         set theWords to 0
         set theLines to 0
         set theParagraphs to 0
         set aver to 0
        
         set theSelection to the selection
         set glyphs to the count of every character of theSelection
         set whiteSpaces to count of (every character of theSelection where it is " ")
         set ret to count of (every text of theSelection where it is return)
         set glyphs to glyphs - ret
         set theWords to the count of every word of theSelection
         set theLines to the count of every line of theSelection
         set theParagraphs to the count of every paragraph of theSelection
         if theLines > 1 then
              set aver to ((glyphs / theLines) as integer)
         end if
         if last character of theSelection is return then
              set theParagraphs to theParagraphs - 1
              set aver to ((glyphs / theLines) as integer)
         end if
         if last character of theSelection is " " then
              set glyphs to glyphs - 1
         end if
         if aver is not 0 then
              set theDialog to ("" & glyphs & " glyphs (among which " & whiteSpaces & " spaces)" & return & theWords & " words" & return & theLines & " lines" & return & "(that's around " & aver & " glyphs per line)" & return & theParagraphs & " paras.") as string
              beep 1
              display dialog theDialog buttons {"OK"} default button 1
         else
              set theDialog to ("" & glyphs & " glyphs (among which " & whiteSpaces & " spaces)" & return & theWords & " words") as string
              beep 1
              display dialog theDialog buttons {"OK"} default button 1
         end if
    end tell

     Oh! and assign a keyboard shortcut to it via the System Preferences!

    Jean-Marie Schwartz

    > Mac Pro Quad Core Intel 2.8 GHz, OS X.6.8, Quark XPress 9.2, Adobe CS5 <
  • 03-16-2010 9:58 AM In reply to

    • Emma
    • Top 10 Contributor
    • Joined on 07-07-2004
    • Leeds, UK
    • Posts 1,184

    Re: Text Counter in Measurement Palette

     Make sure you select the text you want counted before running Jean-Marie's script - nice one, JM, thanks!

  • 03-16-2010 10:34 AM In reply to

    Re: Text Counter in Measurement Palette

    The script works a treat, Jean-Marie, many thanks Yes

  • 03-19-2010 5:19 AM In reply to

    Re: Text Counter in Measurement Palette

    Oh! you're welcome! Emma is right: the script only works if you have some text selected. I could add some lines at the beginning to check if a document is open, if a text box or text is selected… I could also return stats for the whole story if no text is selected. So Mark if you ever want a secure script with more checks just ask for it!

    Jean-Marie Schwartz

    > Mac Pro Quad Core Intel 2.8 GHz, OS X.6.8, Quark XPress 9.2, Adobe CS5 <
Page 1 of 1 (8 items)
Powered by Community Server (Commercial Edition), by Telligent Systems