// 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 // This script prints the card holdings for all the boards // in a bridge document. The holdings for each player are // printed on a separate page. // // This type of printout is useful for bidding practice, // duplicate hand preparation, and similar functions. // It is somewhat like "curtain card" page layout, but places // each player's cards on a separate page and can conveniently // display card holdings for many more boards. // // This script may be run by (1) double-clicking, (2) from a // command line, or (3) from the BridgeComposer "Script" menu. // Case 1: You will be prompted for the input bridge document // (PBN or other supported format). // Case 2: You may specify the input document as a command line // argument, and then you will not be prompted for it. Otherwise, // you will be prompted as in case 1. // Case 3: The script will operate on the document currently open // in BridgeComposer, so you will not be promted for an input document. // // Whether or not you are prompted for an input document, you will // be prompted for an output file in HTM format. If you choose an // existing file, it will be overwritten. // // To print the results, you may open the HTM output file in a // web browser (usually, by double-clicking the HTM file), and // use the web browser's Print command. Tip: To print the background // shading for alternate rows, select the web browser print settings // "Background graphics" option. // // There are programs available on the web that print HTM files; // this script could be modified to call such a program to print // automatically. // // $Id: HandsByPlayer.wsf 18 2021-04-13 20:06:03Z Ray $