stansllee Posted April 8, 2004 Report Share Posted April 8, 2004 OKScript is widely used to create a button bars for okbridge (and other online) players. It greatly simplifies the alerting process.In okbridge, the target window is OKbridgeCan someone tell me what's the target window in BBO? Quote Link to comment Share on other sites More sharing options...
1eyedjack Posted April 8, 2004 Report Share Posted April 8, 2004 HiI cut and paste below the opening lines of my okscript files. Hope this helps.Final 2 lines below are examples of specific button and menu definitions.I have been trying to use OKScript to attach explanations to bids in the bidding history window but this has turned out to be unstable (not sure why), so this method simply sends explanations to both opponents in the chat window. pragma filehelpoffpragma hintson-MACRO dir c:\Program files\OKS40\scripts\-bboTW = Target Window on BBOMACRO bboTW Bridge Base Online-bboECTW = Target Window for bidding explanations on BBOMACRO bboECTW Explain call:-okbTW = Target Window on OKBMACRO okbTW OKbridge-blcTW = Target Window on BCLMACRO bclTW Bridge Club Live-Test = Target Window for testing (default Notepad)MACRO Test Notepad-okbLC = Leading Character to speak to opponents on OKBMACRO okbLC =-bboLC = Leading Character to speak to opponents on BBOMACRO bboLC ^o-bboECLC = Leading Character to Explain call on BBOMACRO bboECLC ^a-bclLC = Leading Character to speak to LHO on BCLMACRO bclLC-LC = Leading Character to speak to opponentsMACRO LC-TW = Target WindowMACRO TWMACRO enter {enter}STARTUP LET LC %bboLC% LET TW %bboTW%PROC Submitonerror flagonceWindow %TW%if value %-err% EQ 1Message Target window missing: %TW%elsePUT %LC%%-arg1% = %-arg2%%enter%fiProc Tableonerror flagonceWindow %TW%if value %-err% EQ 1message Target window missing: %TW%elsePut %-args%%enter%fiBUTTON "Thanks" Black call table \THANK YOU!!MENU "Uncontested|1C|Definition of 1C" *Submit \1C\NF, (1) nat or (2) 15-20 bal Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.