Jump to content
Sign in to follow this  
mik

how to operate menu in word using autoit?

Recommended Posts

mik

Hi All,

I need to operate menu in word. For example, I will click "Edit" menu, and judge the state of "Copy" menuitem. if it's available, I will click it. How to realize it? Any reply is welcome and appreciated!

Share this post


Link to post
Share on other sites
MadBoy

Hi All,

I need to operate menu in word. For example, I will click "Edit" menu, and judge the state of "Copy" menuitem. if it's available, I will click it. How to realize it? Any reply is welcome and appreciated!

@mik

Before you start trying to automate gui why don't you take a look at what BigDaddy has prepared for Word Automatization. Maybe it will be enough for your needs and surely it will be 'cleaner' to go down the road.

http://www.autoitscript.com/forum/index.php?showtopic=30461

http://www.autoitscript.com/forum/index.php?showtopic=53780

Hope this helps.


My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites
big_daddy

Hi All,

I need to operate menu in word. For example, I will click "Edit" menu, and judge the state of "Copy" menuitem. if it's available, I will click it. How to realize it? Any reply is welcome and appreciated!

If you will further explain what you're trying to accomplish, I'll see what I whip up.

Share this post


Link to post
Share on other sites
mik

@mik

Before you start trying to automate gui why don't you take a look at what BigDaddy has prepared for Word Automatization. Maybe it will be enough for your needs and surely it will be 'cleaner' to go down the road.

http://www.autoitscript.com/forum/index.php?showtopic=30461

http://www.autoitscript.com/forum/index.php?showtopic=53780

Hope this helps.

Thank you for your kind advice. In fact, I saw that article before which the link refers to, and I still wonder how to realize my goal. It indeed gives so much basic word operations, such as open, close, add some text to word file, and so on, but as for menu operation, what help can it give me?

Simply speaking, how to resolve the question I just mentioned? to judge the enable or disable state for the "copy" menu item.

Thank you again:)

Edited by mik

Share this post


Link to post
Share on other sites
big_daddy

what help can it give me?

The question is, what help can you give yourself? If you want help, as I assume you do being you posted here, stop being so closed minded and answer my previous question.

Share this post


Link to post
Share on other sites
mik

The question is, what help can you give yourself? If you want help, as I assume you do being you posted here, stop being so closed minded and answer my previous question.

I will read your codes carefully again :-). Anyway, I am sure that your codes are valuable.

Share this post


Link to post
Share on other sites
MadBoy

I will read your codes carefully again :-). Anyway, I am sure that your codes are valuable.

mik why don't you just answer to asked question ?:) big_daddy asked what you want to achieve so he can help you to achive it. If you say you want to add "List of contents" he will most likely be able to help you. So read carefully asked questions ;)


My little company: Evotec (PL version: Evotec)

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.