SimonLu Posted September 22, 2010 Posted September 22, 2010 Hi, When I use the SendKeepActive() in order to keep the windows of the word/excel or powerpoint but failed. Can someone teach me how to do it? Below is my source code: === Send("#r") WinWaitActive("執行") Send("winword.exe{Enter}") SendKeepActive("[CLASS:winword]") Sleep(1000) For $i = 1 to 10 Sleep(1000) Send("Hello") Next === How to get the internal CLASS name of the Microsoft Word? Or, How do I use the title to specify the window, like SendKeepActive("Document1 - Microsoft Word")? but unable to work still. Thanks for your help. Simon
Bert Posted September 22, 2010 Posted September 22, 2010 Look for the Word or Excel section in the help file The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now