Questions and Answers :
Wish list :
" Files => Disable BOINC Network Access " the tick does not remain!
Message board moderation
Author | Message |
---|---|
Mammoth Send message Joined: 3 Apr 99 Posts: 4 Credit: 1,039,784 RAC: 0 ![]() |
How to make, what constantly at start to not expose a tick " Files => Disable BOINC Network Access ", and what she there was constantly at start. Naturally with an opportunity of switching-off. And at the friend puts that and at him she does not disappear at start of the client! |
John McLeod VII Send message Joined: 15 Jul 99 Posts: 24806 Credit: 790,712 RAC: 0 ![]() |
|
battignet Send message Joined: 6 Nov 00 Posts: 13 Credit: 339,770 RAC: 0 ![]() |
At the moment, on Windows Systems, for automatic set the "Disable BOINC Network Access" at BOINC startup, you can use the Windows Scripting Host. The Windows Scripting Host allows you to write scripts for repeating jobs under Windows. For BOINC I had written a small script that starts up BOINC, enable the "Disable BIONC Network Access"-Option, and then minimize the client. The scipt only sends the needed keystrokes, you normaly press by manually activate this option. This way, the BOINC Client does not automaticly communicate with the server all the time. Especially modem user would have an advantage. What you have to do: 1.) Install the Windows Scripting Host. (Normaly this is allready done on standard installations.) 2.) Open an empty notepad-file (notepad.exe) 3.) Copy the macro script below into the notepad. 4.) Save the text file e.g. as "BOINC_NoNetWork.vbs" in the BOINC home directory. (Important: the file has to be saved in this directory where the GUI client is!!) 5.) By double-clicking the .vbs-file, the BOINC client should start up with the "Disable BIONC Network Access"-Option enabeld. On the next lines you will find the script code: WScript.Sleep 10000 set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "boinc_gui.exe", 3, false WScript.Sleep 500 WshShell.AppActivate "BOINC" WScript.Sleep 100 WshShell.SendKeys "{F10}DD" WScript.Sleep 500 WshShell.SendKeys "{F10}DS" This scipt is written for the german language edition of BOINC. For other languages you have to change the SendKeys-Parameters "{F10}DD" and "{F10}DS". The first line of the script "WScript.Sleep 10000" waits for starting up the Boinc client for 10s after starting the script. This is needed, if you starts the scipts on windows start up (autostart-folder). The boinc client should only be started, if all other autostart-programs have finished its start-up. Otherwise, the script does not work properly. You can optimize this sleep time of corse. If there are any error code from the scripting host, you can find Windows Scripting Host Doc here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsoriWindowsScriptHost.asp |
![]() Send message Joined: 23 Sep 99 Posts: 36 Credit: 2,539,975 RAC: 0 ![]() |
> At the moment, on Windows Systems, for automatic set the "Disable BOINC > Network Access" at BOINC startup, you can use the Windows Scripting Host. > The Windows Scripting Host allows you to write scripts for repeating jobs > under Windows. > For BOINC I had written a small script that starts up BOINC, enable the > "Disable BIONC Network Access"-Option, and then minimize the client. The scipt > only sends the needed keystrokes, you normaly press by manually activate this > option. > This way, the BOINC Client does not automaticly communicate with the server > all the time. Especially modem user would have an advantage. > > What you have to do: > 1.) Install the Windows Scripting Host. (Normaly this is allready done on > standard installations.) > 2.) Open an empty notepad-file (notepad.exe) > 3.) Copy the macro script below into the notepad. > 4.) Save the text file e.g. as "BOINC_NoNetWork.vbs" in the BOINC home > directory. (Important: the file has to be saved in this directory where the > GUI client is!!) > 5.) By double-clicking the .vbs-file, the BOINC client should start up with > the "Disable BIONC Network Access"-Option enabeld. > > > On the next lines you will find the script code: > > WScript.Sleep 10000 > set WshShell = WScript.CreateObject("WScript.Shell") > WshShell.Run "boinc_gui.exe", 3, false > WScript.Sleep 500 > WshShell.AppActivate "BOINC" > WScript.Sleep 100 > WshShell.SendKeys "{F10}DD" > WScript.Sleep 500 > WshShell.SendKeys "{F10}DS" > > > This scipt is written for the german language edition of BOINC. For other > languages you have to change the SendKeys-Parameters "{F10}DD" and "{F10}DS". Thank you, thank you, thank you!!! For those that need help figuring out the SendKeys for the English version, it's "{F10}FD" and "{F10}FH". I still think this needs to be a "sticky" option in BOINC though. IE and a couple other programs I have remember their online/offline state, so it shouldn't be too hard to do this. I just wish I'd found this post earlier, as I've probably lost close to 250 result downloads because I'm on dial-up and had this problem. Justin |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.