Jump to content

p2p client automation help


Recommended Posts

I started by using MouseClicks and Sleeps because I couldn't find any Control name for the search box using the Info tool. The MouseClicks wander off a lot so I don't its an efficient way to automate. Here's the code I started with:

Run('C:\Program Files\LimeWire\LimeWire.exe')

Sleep (5000)

WinWaitActive("Upgrade to PRO!")

WinClose("Upgrade to PRO!")

Sleep(10000)

WinWaitActive("LimeWire")

;MouseClick("left",233,214,1)

Sleep(10000)

MouseClick("left",349,69,1)

Send("alicia{SPACE}keys")

Sleep(2000)

Send("{ENTER}")

Link to comment
Share on other sites

Can you post everything from the wininfo tool.

Your mouseclicks may work better if you get the position of the window and work + off that.

example

$pos = WinGetPos("LimeWire")

MouseClick("left",$pos[0] + ?,$pos[1] + ?,1)

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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