Foolke Posted July 6, 2005 Posted July 6, 2005 How come code bellow doesn't work?Netmeeting is loaded succesfull. Then with ctrl-N i should get a new window. Works when I do it manualy but not in a script.Tryed the sleep to be sure that the application is loaded completely. But still ctrl-N doesn't work.Anybody any idea?ThxFunc XlLite() Run("C:\Program Files\NetMeeting\conf.exe") $a = WinWaitActive("NetMeeting - Not in a Call", "", 15) If $a = 1 then ;Sleep(10000) ;MsgBox(16, "PASSWORD!!", "hhddhhd") Send("^N") Else $x = "Failed to load Netmeeting" EndIf EndFunc
LxP Posted July 6, 2005 Posted July 6, 2005 Netmeeting is loaded succesfull. Then with ctrl-N i should get a new window. Works when I do it manualy but not in a script.Tryed the sleep to be sure that the application is loaded completely. But still ctrl-N doesn't work.; ... Send("^N") ; ...I believe that the capital N may be causing AutoIt to send Ctrl+Shift+N. Changing the capital to lowercase might fix your problem.Regards,Alex Peters
Foolke Posted July 6, 2005 Author Posted July 6, 2005 Lxp for President Thx a lot. This is working fine now.
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