LordGarfield
IS-IT--Management
Hi,
Im testing with visual basic and indesign to create some scripts. But it would be realy helpfull that I saw the property's and methods of objects.
For example
in standard VB i can do this
text1. (then i get a list of propertys like widht, height, left or top.)
When I do this when I script for indesign
dim myIndesign as Indesign. (I also get a list of property's and methods like application, document, font etc..)
so far so good.
but if I go for a third parrameter like
Dim myparagraph As InDesign.Paragraph (wich I could select out of the list)
Set myparagraph = mytext.Paragraphs.Item(1)
I did not get the properties and methods list after the
mytext.Paragraphs.
(the mytext is a textframe)
the with
pWidth = mydocument.DocumentPreferences.PageWidth
where mydocument is an indesign document (you would never had guess that )
Can anyone explain me how I can get these lists?
extra info:
I use Indesign 2.0 and visual basic 6
I added the Adobe Indesign 2.0 Type Library in the references of the project.
I hope for an answer and tank you already.
best regards,
Roel.
Im testing with visual basic and indesign to create some scripts. But it would be realy helpfull that I saw the property's and methods of objects.
For example
in standard VB i can do this
text1. (then i get a list of propertys like widht, height, left or top.)
When I do this when I script for indesign
dim myIndesign as Indesign. (I also get a list of property's and methods like application, document, font etc..)
so far so good.
but if I go for a third parrameter like
Dim myparagraph As InDesign.Paragraph (wich I could select out of the list)
Set myparagraph = mytext.Paragraphs.Item(1)
I did not get the properties and methods list after the
mytext.Paragraphs.
(the mytext is a textframe)
the with
pWidth = mydocument.DocumentPreferences.PageWidth
where mydocument is an indesign document (you would never had guess that )
Can anyone explain me how I can get these lists?
extra info:
I use Indesign 2.0 and visual basic 6
I added the Adobe Indesign 2.0 Type Library in the references of the project.
I hope for an answer and tank you already.
best regards,
Roel.