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

Re: Which bit of this simple script is wrong?


  • Subject: Re: Which bit of this simple script is wrong?
  • From: email@hidden
  • Date: Thu, 15 Aug 2002 13:50:21 EDT

In a message dated 8/15/2002 Steve Thompson writes:

>Subject: Which bit of this simple script is wrong?
>From: Steve Thompson <email@hidden>
>To: "applescript users lists.apple.com"
> <email@hidden>
>
>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

1 and 2 are OK. For 3 try:

exists (generic box named "Place" of document 1)

Your line returns true if the document is named "Place". In English grammar I
think this would be called a faulty antecedent!

HTH

Robert Kyle
Star Tribune
Minneapolis
_______________________________________________
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: Monitor Settings (multi-monitor/OS9.2.x)
  • Next by Date: Re: Perl or Applescript
  • Previous by thread: Scripting Acrobat Suite
  • Next by thread: Re: Which bit of this simple script is wrong?
  • Index(es):
    • Date
    • Thread