Sign in to follow this  
Followers 0
Arashiyama

CreateObject & GetObject equivalents?

9 posts in this topic

Hi,

Is there any smart way to use a "CreateObject & GetObject methods"-like solution on Autoit scripts?

My intention is to manipulate Word (such as running a Word macro) from an AutoIt script, not from a VBS script.

I know I can do this (indirectly) by running a VBS script from an AutoIt script, but this isn't really cool...

Any good idea?

Share this post


Link to post
Share on other sites



look for "object" in help

help has very good demo's at the bottom of each page

on your computer press the following

Start > All Programs > Autoit v3 > Autoit Help File

when that loads then press the "search" tab

then type in "?your search?" and press "List Topics"

**** you can do this with any word you want

thats what i do all the time

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Searching for "object" on the help file has returned no matches!

Also, I'm not talking about "clicking buttons" etc.

Yes, you can manipulate Word in many ways if you let a AutoIt script click!

I'm looking for a more direct way.

Edited by Arashiyama

Share this post


Link to post
Share on other sites

The important piece of information Valuater left out of his cookie cutter response is that you need the beta version of AutoIt to use COM.

Share this post


Link to post
Share on other sites

Valik, thank you!

Yes, this is what I was looking for!

It would be easier to deploy if they make a complete package for the beta...

Share this post


Link to post
Share on other sites

Valik, thank you!

Yes, this is what I was looking for!

It would be easier to deploy if they make a complete package for the beta...

Maybe you could take that on as your next project!

...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format

Share this post


Link to post
Share on other sites

Maybe you could take that on as your next project!

Or better yet, maybe he could explain what he means? There is an installer for the beta just like for the last official (stable) release so I don't really understand what the "deployment" hardship refers to.

Share this post


Link to post
Share on other sites

Valik, thank you!

Yes, this is what I was looking for!

It would be easier to deploy if they make a complete package for the beta...

You have to install the official package and after the beta package. It is true you need to but we prefer that people can go back to the official release in case of nonregression.

Definitly that's some overhead in the installation size but I think that's can be manage.

Share this post


Link to post
Share on other sites

Oh, I forgot about that requirement. Yes, perhaps that does need removed. More often than not people aren't going to be able to go back, anyway, because a script is using one of the beta-only features.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0