• 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: Bill Metzinger <email@hidden>
  • Date: Thu, 23 Oct 2003 11:50:57 -0400

On Thursday, October 23, 2003, at 11:17 AM, Rips Ethan J wrote:

> Still no go.

Bummer. Unfortunately I don't have the same setup as you. I have
Quark's 4,5,and 6 on an OSX box. All of my suggestions work. I have
another box here with 9.2.2 and QX 4.11.
The QX 4.1.1 won't return the properties of story 1 as is. It does
return properties of the text box. That line was just a reference to
your question how to I get and set properties. It's not needed by your
script so take it out.
You say it won't return track as a number, real, or an integer. So what
is it? What does this return:

tell application "QuarkXPress"
activate
tell text box 1 of page 1 of document 1
set x to track of story 1
return x
end tell
end tell

Also watch your tell's and of's. If they are one "layer" off Quark
complains. If you tell a story and ask for the track of story you will
get an error.

These are quivalent:
tell application "QuarkXPress"
activate
return track of story 1 of text box 1 of page 1 of document 1
end tell
tell application "QuarkXPress"
activate
tell document 1
tell page 1
tell text box 1
tell story 1
return track
end tell
end tell
end tell
end tell
end tell

This will error:
tell application "QuarkXPress"
activate
tell story 1 of text box 1 of page 1 of document 1
return track of story 1
end tell
end tell



} All right, but apart from the sanitation, the medicine,
} education, wine, public order, irrigation, roads,
} the fresh-water system and public health,
} what have the Romans ever done for us?
_______________________________________________
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: Address Book: add element to existing record
  • 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