Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

properties and methods in visual basic scripting

Status
Not open for further replies.

LordGarfield

IS-IT--Management
Jul 31, 2003
112
BE
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.
 
Hi Roel, your best bet is to post scripting questions in the Adobe user to user forums. There's a forum up there dedicated soley to ID scripting, and you'll find many experienced VB scripters up there who can answer your questions.
 
Hola mi nombre es Alex, quisiera ponerme en contacto con usted para hablar sobre los scripts de visual basic con Indesign CS ...

Mi correo es adelgado79@hotmail.com aldana@iespana.es
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top