Jump to content

Recommended Posts

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?

Thx

Func 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

Link to post
Share on other sites

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

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...