Serca Lv 1
I would like to remind you that using external hotkey tools with foldit can be very useful.
Here are 2 simple examples of autohotkey scripts.
1) Logging output window and watching the output log with one hotkey.
Build-in output window isn't that handy on long recipes. Pressing Ctrl+q copies current system scriptlog file and opens it, so you could watch to the whole recipes' output log). Copied files are renamed according to script types that are running (drw, worm, etc..) and current time according to template:
scriptlog.20200323.2229.Worm.txt
scriptlog.20200325.0409.DRW.txt
scriptlog.20200325.2059.GAB.txt
Code:
~^q::
FormatTime, CurrentDate,,yyyyMMdd
FormatTime, CurrentTime,,HHmm
Clpbrd := CurrentDate . "." . CurrentTime
; check for different script types to write it to filename
type:=""
FileReadLine, scriptName, E:\Games\Foldit\scriptlog.default.xml, 4
If InStr(scriptName, "DRW")
type:="DRW"
If InStr(scriptName, "Remix")
type:="Remix"
If InStr(scriptName, "GAB")
type:="GAB"
If InStr(scriptName, "Cut")
type:="Cut"
If InStr(scriptName, "Helix")
type:="Helix"
If InStr(scriptName, "Worm")
type:="Worm"
If InStr(scriptName, "Tweek")
type:="Sidechain"
If InStr(scriptName, "Sidechain")
type:="Sidechain"
Clpbrd := "E:\Games\Foldit\scriptlog." . Clpbrd . "." . type . ".txt"
; MsgBox %Clpbrd%
FileCopy, % "E:\Games\Foldit\scriptlog.default.xml", % Clpbrd
Run % Clpbrd
Sleep 200
Send, {ctrl down}{end}{ctrl up}
return
It is useful to [partially] log the recipes you run in foldit.
You can run that script using autohotkey, just don't forget to change the path from "E:\Games" to correspond to your foldit folders.