A script PAUSE button would be welcome on the UI. Upon PAUSE, the running script would «pause» until the PAUSE (now RESUME) button is clicked again.
This would alloy, for instance, to regain some CPU capacity (<100%) for doing some other things on my PC without having to «cancel» a script on one of my running clients.
No read bands ends in wiki list?
table band.getEndpoints(int band_num)
should return table of 2 digits: start and end segment.
It would be useful for reading user bands.
I'd love to see methods to allow recombination from different structures, so that with that and random intervention, we could apply genetic programming / evolution right within Foldit. I don't mean evolution on the AA sequence but on the 3D structure, with the fitness function just being energy after a shake/wiggle.
At least 3 generic sctipts around. 2 on bandband one on fuze. Is that what you searching for?
global band SetStrength ?
Tried first argument as nil, 0, true, false but it wants only band number. ONE band number :(
We still have iterate all bands to set them one strength.
A function to delete segments or segment ranges, as exists via GUI in Design Mode.
And an Inputbox, as already requested.
Regards,
rws
band.GetCount(), band.SetStrength (integer bandIndex, number strength) and a loop should do the try Rav3n_pl
I know that. But in GUI scripts this is ONE command that change ALL bands at once. No iterating.
In Quake type scripts we changing all bands at once and iterating taking long time (ie on 50 bands).
Ctrl+X in cookbook editor to cut all code
Ctrl+V in cookbook editor to paste code
I`m using external editor all the time: just make change, cut from cookbook, copy from external editor, paste to cookbook.
We have band.GetGoalLength() but we also need the actual length of the band.