For any one who might be interested, after much fumbling, here is my VBA snippet for firing up gnubg with a position loaded, via an excel spreadsheet. VB would be similar for other front end apps:The equity losses are saved and used to weight the appearance of quiz questions. This is purely a self educational tool.
Dim f as string, MyTask as double
f = "C:\Program Files (x86)\gnubg\gnubg.exe -c MyPosition.txt"
MyTask = Shell(f, 1)
MyPosition.txt is a file containing the "set gnubgid" gnu command, for example:
"set gnubgid bdsGMADYvQMjAA:cAkOAAAAAAAE"
I am building a spreadsheet based 'quiz' containing positions I find interesting or difficult. A double click on the gnubgID cell fires up gnu with the position loaded. Alongside a form appears with a pick list of the top 10 moves (hidden equities).
It would be interesting to know if XG can be fired up in a similar way with position loaded from an xgid text string?
--
BD
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 13:58:14 |
Calls: | 6,667 |
Calls today: | 1 |
Files: | 12,214 |
Messages: | 5,336,557 |