// This script file is licensed under a Creative Commons // Attribution 4.0 International License (cc by 4.0): // http://creativecommons.org/licenses/by/4.0/ // You may adapt and/or share this script file for any purpose, // provided you give credit to http://bridgecomposer.com // // Solve boards using the Double Dummy Solver. // // Usage: SolveBoard.wsf path options // path: the PBN file to solve. If omitted or "-", prompt for a file. // options: zero or more of the following letters: // a: solve all boards. If omitted, solve currently selected board, or first board. // f: full solve (all hands, all strains). If omitted, hand and strain as per contract, or 1NT by S. // d: debug (raw form of DDS results displayed) // c: results shown in the board commentary. If omitted, results shown in a message box. // p: analyze play (each card played). If omitted, analyze current position. // // When called from the BridgeComposer Script menu, BridgeComposer provides the path, and options // may be specified using the Script Favorites dialog "Arguments" button. // Different Script favorites items may specify this same script but with different options. // $Id: SolveBoard.wsf 64 2021-09-16 13:08:11Z Ray $