Jump to content

WinMenuSelectItem and Paste


wuthless
 Share

Recommended Posts

Hey Guys... I can't seem to get 'WinMenuselectItem' to work with 'Paste' on Notepad (or any other program). I can paste text into the notepad window however I cannot use the actual 'Paste' Function (^v or alt e, then p).

Anybody have any ideas?

Wuthless

ControlSend("Untitled - ", "", "Edit1", "Hello" & @CR)
    MsgBox(0,"", "Paste Complete")  
    WinMenuSelectItem("Untitled - ", "", "&Edit", "&Paste")
    MsgBox(0,"", "But WinMenuSelectItem does not work") 
    ControlSend("Untitled - ", "", "Edit1", "^v" & @CR, 0)  
    MsgBox(0,"", "And Control V does not work")
Link to comment
Share on other sites

Lars....

Are you sure you've gotten this to work before? I've tried everything... space, capitalization, etc.

I'm able to get EVERY menu item to work EXCEPT for 'Paste'.

Can you send me the exact code you created to make this work? I don't see what I'm doing wrong here.

Thanks!

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...