Dman 0 Posted August 15, 2014 Report Share Posted August 15, 2014 Hello Everyone, Trying to make a command that will move the mouse around the screen for sites that are monitoring mouse movements via js. It seems that the plugin command does not accept variables for the x and y coordinates? set(#xcored, 685, "Global") set(#ycord, 900, "Global") loop while(#ycord >= 100) { decrement(#ycord) plugin command("WindowsCommands.dll", "move mouse", "*", "HwndWrapper[UBot Studio.exe;;39acbc4e-7417-4809-aae3-7aecdcb0bb88]", #xcord, #ycord) } Quote Link to post Share on other sites
blacksabbath 2 Posted August 15, 2014 Report Share Posted August 15, 2014 This worked for me...also you have #xcord instead of #xcored set(#xcored, 685, "Global")set(#ycord, 900, "Global")loop while($comparison(#ycord, ">=", 100)) { decrement(#ycord) plugin command("WindowsCommands.dll", "move mouse", "PinterestScrape* - UBot Studio Professional Edition", "HwndWrapper[uBot Studio.exe;;14782689-53ef-492b-b6b3-c1cb3a6e2f16]", #xcored, #ycord)} Maybe use the wizard to get the Parent Window? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.