Jump to content

how to operate menu in word using autoit?


mik
 Share

Recommended Posts

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!

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

  • Moderators

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.
Link to comment
Share on other sites

@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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...