Incommodious Posted November 29, 2012 Share Posted November 29, 2012 Is there any kind of silent mouse fuction that will run the script and click stuff in the backround on a client while its minimized and while you are say on facebook or something? If so this is the script i need changed. [scar] program New; var x,y :Integer; begin getclient.activate repeat If FindColor(x,y,2016511,225,112,1182,659) then begin WriteLn('Found Money'); movemouse(x,y+45); wait(500) clickmouse(x,y+45,mbLeft); wait(550) WriteLn('Got Money'); end; until(false) ; end. [/scar] Quote Link to comment Share on other sites More sharing options...
FHannes Posted November 30, 2012 Share Posted November 30, 2012 No, only if you're using SMART for RS2. When a window is minimized, it isn't redrawn. So essentially, even if it were possible to send silent input events to the window with SCAR, it would still have to be at least on the desktop. I'm not entirely sure if it's possible to force a window that isn't visible because it's covered by other windows to redraw, but I think it is... Quote Link to comment Share on other sites More sharing options...
Incommodious Posted November 30, 2012 Author Share Posted November 30, 2012 So would it be possible to run a script on a program in the back round of other stuff so say i can run a script for a game and do my homework at the same time? Quote Link to comment Share on other sites More sharing options...
FHannes Posted November 30, 2012 Share Posted November 30, 2012 No, because SCAR doesn't currently offer the ability to do this. Quote Link to comment Share on other sites More sharing options...
Turbine1991 Posted November 30, 2012 Share Posted November 30, 2012 Does SMART's silent mouse functionality work for anything besides Runescape? I'm guessing it's sending the inputs directly to the client so it's undetectable and completely useless for anything else. Quote Link to comment Share on other sites More sharing options...
LordJashin Posted November 30, 2012 Share Posted November 30, 2012 SMART's functionality is a special case. Any applet loaded into it you can silent mouse to. But it is made specifically for runescape. However if you edited the source code, you could make it load any java applet* But that's it. Just java applets like Runescape... Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted December 1, 2012 Share Posted December 1, 2012 SMART's functionality is a special case. Any applet loaded into it you can silent mouse to. But it is made specifically for runescape. However if you edited the source code, you could make it load any java applet* But that's it. Just java applets like Runescape... Well again, if you where to mess with SMART's source. You would need to have your "game" or whatever your trying to make your bot for, an actual .jar executable. which unfortunately is ONLY java. So if it isnt a java game then you may not do this. Quote Link to comment Share on other sites More sharing options...
LordJashin Posted December 1, 2012 Share Posted December 1, 2012 Well again, if you where to mess with SMART's source. You would need to have your "game" or whatever your trying to make your bot for, an actual .jar executable. which unfortunately is ONLY java. So if it isnt a java game then you may not do this. I made a similar point, but I forgot to mention the .jar part. A java applet is basically a .jar or other java file? embedded into a web page. I would imagine SMART source could also be modified to load a jar off of your computer as well though. Quote Link to comment Share on other sites More sharing options...
FHannes Posted December 1, 2012 Share Posted December 1, 2012 I made a similar point, but I forgot to mention the .jar part. A jar is essentially just a zip file with class files in it Quote Link to comment Share on other sites More sharing options...
Incommodious Posted December 1, 2012 Author Share Posted December 1, 2012 Do you think there is going to be any type of that any time soon? Quote Link to comment Share on other sites More sharing options...
FHannes Posted December 1, 2012 Share Posted December 1, 2012 There's planned support for sending window messages in SCAR, but it will only work for some applications. Quote Link to comment Share on other sites More sharing options...
LordJashin Posted December 1, 2012 Share Posted December 1, 2012 Do you think there is going to be any type of that any time soon? Once Freddy makes new silent mouse, and keyboard functions. Until then no. Edit: Darn Freddy beat me to it ... Yeah its going to use message sending to the window somehow, and it might not work for games. But for web browsers it SHOULD work most definitely i would think... Quote Link to comment Share on other sites More sharing options...
Incommodious Posted December 1, 2012 Author Share Posted December 1, 2012 I cant wait for that feature thats gona be fun to play with Quote Link to comment Share on other sites More sharing options...