Jump to content
Sign in to follow this  
AutoitExplorer

p2p client automation help

Recommended Posts

AutoitExplorer

Hi,

I am trying to automate the operations of p2p clients emule and limewire. But I am unable to do so with the Mouse Clicks and ControlClicks. Any help would be appreciated.

Share this post


Link to post
Share on other sites
AutoitExplorer

I am able to execute the program and get the search results but what control should I use to select a particular file to download? Any help would be appreciated.. Thanks

Share this post


Link to post
Share on other sites
AutoitExplorer

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}")

Share this post


Link to post
Share on other sites
JohnOne

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.

Share this post


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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.