Article View: adobe.scripting.indesign
Article #17691(VB) Why I cannot call Column.Search?
From: Ana Greenspan
Date: Fri, 23 May 2003 18:49
Date: Fri, 23 May 2003 18:49
22 lines
1258 bytes
1258 bytes
I have:
Set myIndesign = CreateObject("InDesign.Application.2.0")
Set myDoc = myIndesign.ActiveDocument
If myDoc.Selection.Count > 0 Then
For Each sel In myDoc.Selection
Set itemFounds = sel.Search("blah", False, True)
Next
End If
If the sel is of type Column, I get error:
Object doesn't support the property or method
Set itemFounds = sel.Search("blah", False, True)
I even try declaring a:
Dim col as Indesign.Column
col = sel
col.Search(...
The asignment works but the Search method call fail the same.
Technical Details
Message-ID:
<1de94001.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,7b6c8d87da81d07f,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-23 12:08:06 PST From: "Ana Greenspan" <mrsgreenspan@yahoo.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: (VB) Why I cannot call Column.Search? Message-ID: <1de94001.-1@WebX.la2eafNXanI> Date: Fri, 23 May 2003 11:49:34 -0700 Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit