• 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
RE: Need to script tracking in multiple Quark files-correction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Need to script tracking in multiple Quark files-correction


  • Subject: RE: Need to script tracking in multiple Quark files-correction
  • From: "Rips Ethan J" <email@hidden>
  • Date: Thu, 23 Oct 2003 10:02:09 -0400
  • Priority: normal
  • Thread-topic: Need to script tracking in multiple Quark files-correction

Bill-

Thank you very much for your reply.

I'm still running into the same issue I faced last night: When I get to the following line:

set x to track of story 1 as number

in the code below, I get the following error message:

Can't make +class ptrk; of text flow 1 of +class TXTB; 1 of +class page; 1 of document 1 of application "QuarkXPress(tm)" into a number.

I'm running Script Debugger 3.03 in OS 9.2.2 with Quark 5.01. I've tried various ways of addressing the text box but I always get the same error. I've tried it repeatedly with one of our financial reports & also with a new document using dummy text. No difference. I don't have any weird XTensions loaded into Quark-it's all stock stuff except ScriptmasterXT, which is temporarily disabled.

Any ideas? I can't find my mojo anywhere... ;-)

Thanks.

Ethan



> ----------
> From: Bill Metzinger
> Sent: Thursday, October 23, 2003 9:18 AM
> To: email@hidden
> Cc: Rips Ethan J
> Subject: Re: Need to script tracking in multiple Quark files-correction
>
> Ethan,
> There are subtle differences between Quark 4 and 5 (and 6 for that
> matter), but the vast majority of your old stuff will still work.
> The tracking properties is the same.
>
> tell application "QuarkXPress> (tm)> "
> activate
> tell text box 1 of page 1 of document 1
> set x to track of story 1 as number
> set x to x + 10
> set track of story 1 to x
> --return properties of story 1
> end tell
> set currFile to ((file path of document 1 as text) & "done")
> save document 1 in file currFile without template
> end tell
>
> To get properties uncomment the return properites line.
> Try changing it and seeing what you get...
> return properties of story 1
> return properties
> return properties of paragraph 2
> return properties of word 3 of paragraph 1
> ....
>
>
>
> } The software box said 'Requires Windows 95, or better.'
> } So I bought a Macintosh.
>
>
>
DISCLAIMER:
The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(A)
_______________________________________________
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.

  • Prev by Date: Re: Need to script tracking in multiple Quark files-correction
  • Next by Date: Re: Need to script tracking in multiple Quark files-correction
  • Previous by thread: Re: Need to script tracking in multiple Quark files-correction
  • Next by thread: Re: Need to script tracking in multiple Quark files-correction
  • Index(es):
    • Date
    • Thread