Jump to content

Recommended Posts

Posted

WinWaitActive("Program Manager")
ControlClick("Program Manager","America Online", 1 )

This should wait untill my desktop is active, and then click on America Online, right? It isn't though. any idea what's wrong? It wait's untill me desktop is active, but then it justs terminates itself.

  • Moderators
Posted

WinWaitActive("Program Manager")
ControlClick("Program Manager","America Online", 1 )

This should wait untill my desktop is active, and then click on America Online, right? It isn't though. any idea what's wrong? It wait's untill me desktop is active, but then it justs terminates itself.

Is america online an application that is open, or an icon on your desktop? If it is an icon, then you wouldn't use ControlClick() you would use Run.... where did you get the "1"?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted (edited)

America Online is an icon so i should just use run instead? i'll try that.

PS: i thought the 1 was the control ID.

EDIT: I thought i would ask this question here instead of making a new post about it. How would i go about automaticly selecting something from a listbox NOT created by autoit? I know i am asking alot of questions.

Edited by codemyster

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
×
×
  • Create New...