AutoitExplorer Posted March 24, 2010 Share Posted March 24, 2010 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. Link to comment Share on other sites More sharing options...
AutoitExplorer Posted March 25, 2010 Author Share Posted March 25, 2010 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 Link to comment Share on other sites More sharing options...
JohnOne Posted March 25, 2010 Share Posted March 25, 2010 It depends what type of controls they are. You have a better chance at getting help if you post your code. 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 More sharing options...
AutoitExplorer Posted March 25, 2010 Author Share Posted March 25, 2010 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 More sharing options...
JohnOne Posted March 25, 2010 Share Posted March 25, 2010 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 More sharing options...
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