• 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
Which bit of this simple script is wrong?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Which bit of this simple script is wrong?


  • Subject: Which bit of this simple script is wrong?
  • From: Steve Thompson <email@hidden>
  • Date: Thu, 15 Aug 2002 15:47:16 +0100

Tell application "Quark Xpress"
Return name of generic box 1 of document 1
--> "Place"
Exists generic box 1 of document 1
--> True
Exists generic box of document 1 whose name is "Place"
--> False
End tell

It has to be something about the way I'm phrasing it as the box named
"Place" obviously exists. To *me* the answer to Exists generic box of
document 1 whose name is "Place" is "true"

Could someone tell me how I check to see if something exists on a document
by name? Or if it's not possible (as name is an attribute not an object), is
there a way round it?

Thanks,

Steve
_______________________________________________
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.

  • Follow-Ups:
    • Re: Which bit of this simple script is wrong?
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Setting "Open Options" in Acrobat
  • Next by Date: Finder scripting: OS 9 vs OS X
  • Previous by thread: Re: Setting "Open Options" in Acrobat
  • Next by thread: Re: Which bit of this simple script is wrong?
  • Index(es):
    • Date
    • Thread