This content has been marked as final.
Show 3 replies
-
1. Re: [CS4][AS] How to specify particular document?
liedzeit Oct 21, 2009 5:21 AM (in response to myDwayneSmith)I guess the short answer would be "That's the syntax". You could get a long list of documents whose name contain "Cvrs". Which one should be the one that gets active? I am not sure if "every" would work had you more than one document satisfying the whose clause. You could also use Set active document to first document whose name contains "Cvrs" (if that does make more sense for you.)
Ralf
-
2. Re: [CS4][AS] How to specify particular document?
Kasyan Servetsky Oct 21, 2009 5:23 AM (in response to myDwayneSmith)In your last example you reference to the elements of application — that is all documents. You could also use this:
set active document to documents whose name contains "Cvrs"
But if you have more than one such a document, you'll get en error.
Kasyan
-
3. Re: [CS4][AS] How to specify particular document?
myDwayneSmith Oct 22, 2009 3:18 PM (in response to myDwayneSmith)Thanks for your help guys,
These little syntax anomalies are going to do my head in, I'm sure.


