Re: Which bit of this simple script is wrong?
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.