alabamafreddie 1 Posted July 25, 2013 Report Share Posted July 25, 2013 Is there a way for Ubot to run CC cleaner, while my bot is running ? Basically after changing Each Ip, I would like Ubot to use cc cleaner and remove cookies, cache, falsh cookies etc... I know there is a clear cookies command, but I dont know if it works 100 % of the time. Or maybe cc cleaner wont clear Ubot's browser ? Quote Link to post Share on other sites
Frank 177 Posted July 25, 2013 Report Share Posted July 25, 2013 One method, now that I see you have the pro version is to use the in new browser and when done just close the window. That should flush everything - I believe that is the case at least. Frank Quote Link to post Share on other sites
UBotDev 276 Posted July 26, 2013 Report Share Posted July 26, 2013 You can run CCleaner from UBot, I've mentioned that on my blog, and the code looks like (this will run cmd hidden): plugin command("Advanced Shell.dll", "shell batch hidden", "\"C:\\Program Files\\CCleaner\\CCleaner64.exe\" /AUTO Although CCleaner can't clean UBot WEB browser, it can remove some cookies that are stored on local disk (like flash cookies). Bellow is old TJ's thread about Flash Cookies:http://www.ubotstudio.com/forum/index.php?/topic/9484-clearing-cookies-are-you-clearing-them-all-must-read/ 1 Quote Link to post Share on other sites
alabamafreddie 1 Posted July 26, 2013 Author Report Share Posted July 26, 2013 (edited) Ok im a complete noob, I copied and pasted your code, ubotdevteam into my bot .. Ubot keeps telling me script error . : ''The given key was not present in the dictionary'' My filename > > plugin command What am I doing wrong lol ?? Edited July 26, 2013 by alabamafreddie Quote Link to post Share on other sites
UBotDev 276 Posted July 26, 2013 Report Share Posted July 26, 2013 I think you don't have "Advanced Shell" plugin installed in UBot. However, you can still try to use native UBot "shell" command... Quote Link to post Share on other sites
Enigma 78 Posted October 18, 2013 Report Share Posted October 18, 2013 Thanks. Please note that it didn't work for me because of the backslash on the end.I'm on 32bit, but this might be an issue on 64bit as well. This doesn't work (for me) "C:\Program Files\CCleaner\CCleaner.exe\" /AUTO This does work (for me) "C:\Program Files\CCleaner\CCleaner.exe" /AUTO Quote Link to post Share on other sites
Enigma 78 Posted October 18, 2013 Report Share Posted October 18, 2013 Is there any option to check whether a process in Windows is running?Kinda processmonitor... If so, we could have something like Loop While Processname.Ccleaner.exe is running Wait 1 sec. // This script loops as long as Ccleaner.exe is in Windows Task manager (processes) and checks for this every 1 second.It's a good solution to pause the script untill in this case Ccleaner is finished cleaning, as we can set (in Ccleaner itself) that it automatically closes itself after cleaning.When Ccleaner.exe disappears in Windows Task Manager the script will continue to the next code.It's a kinda "Wait for" setting, because with Ccleaner you never know when its done (depends on the garbage it needs to clean.) Quote Link to post Share on other sites
Bliss 194 Posted October 18, 2013 Report Share Posted October 18, 2013 There is a plugin to check if a process is running... but cant remember which one also you can get a list of processes via shell / cmd.exe, i have done it that way in the past. Quote Link to post Share on other sites
UBotDev 276 Posted October 18, 2013 Report Share Posted October 18, 2013 Is there any option to check whether a process in Windows is running?Kinda processmonitor... If so, we could have something like Loop While Processname.Ccleaner.exe is running Wait 1 sec. // This script loops as long as Ccleaner.exe is in Windows Task manager (processes) and checks for this every 1 second.It's a good solution to pause the script untill in this case Ccleaner is finished cleaning, as we can set (in Ccleaner itself) that it automatically closes itself after cleaning.When Ccleaner.exe disappears in Windows Task Manager the script will continue to the next code.It's a kinda "Wait for" setting, because with Ccleaner you never know when its done (depends on the garbage it needs to clean.)shell command won't quit until CCleaner is closed, so you don't have to manually check for that process to end. When the process will end shell command will quit and bot will proceed with next node. 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.