diff --git a/xtrn/DDAreaChoosers/DDFileAreaChooser.js b/xtrn/DDAreaChoosers/DDFileAreaChooser.js index b26ac42e1fd9a325bac0f8cfff0a22c626d3a568..bef4b038efacd064c208f9f480c1eb9095467c47 100644 --- a/xtrn/DDAreaChoosers/DDFileAreaChooser.js +++ b/xtrn/DDAreaChoosers/DDFileAreaChooser.js @@ -39,6 +39,9 @@ * 2022-07-23 Eric Oulashin Version 1.29 * Re-arranged the help text for lightbar mode to be more consistent with my message reader * (and message area chooser). + * 2022-08-19 Eric Oulashin Version 1.30 + * Set the control key pass-thru so that some hotkeys (such as Ctrl-P for PageUp) only + * get caught by this script. */ // TODO: Failing silently when 1st argument is true @@ -79,8 +82,8 @@ if (system.version_num < 31400) } // Version & date variables -var DD_FILE_AREA_CHOOSER_VERSION = "1.29"; -var DD_FILE_AREA_CHOOSER_VER_DATE = "2022-07-23"; +var DD_FILE_AREA_CHOOSER_VERSION = "1.30"; +var DD_FILE_AREA_CHOOSER_VER_DATE = "2022-08-19"; // Keyboard input key codes var CTRL_H = "\x08"; @@ -140,6 +143,10 @@ else if (typeof(argv[1]) == "string") // it to let the user choose a message area. if (executeThisScript) { + // When exiting this script, make sure to set the ctrl key pasthru back to what it was originally + js.on_exit("console.ctrlkey_passthru = " + console.ctrlkey_passthru); + console.ctrlkey_passthru = "+ACGKLOPQRTUVWXYZ_"; // So that control key combinations only get caught by this script + var fileAreaChooser = new DDFileAreaChooser(); fileAreaChooser.SelectFileArea(chooseFileLib); } diff --git a/xtrn/DDAreaChoosers/DDMsgAreaChooser.js b/xtrn/DDAreaChoosers/DDMsgAreaChooser.js index f79ad7e3916d8b48058d1c674e7095ab8490b786..8abc729be4349dec7c9bb870f77c1d4b189e96b7 100644 --- a/xtrn/DDAreaChoosers/DDMsgAreaChooser.js +++ b/xtrn/DDAreaChoosers/DDMsgAreaChooser.js @@ -37,6 +37,9 @@ * when only choosing a sub-board within the user's current message group. * 2022-07-23 Eric Oulashin Version 1.29 * Re-arranged the help text for lightbar mode to be more consistent with my message reader. + * 2022-08-19 Eric Oulashin Version 1.30 + * Set the control key pass-thru so that some hotkeys (such as Ctrl-P for PageUp) only + * get caught by this script. */ // TODO: In the area list, the 10,000ths digit (for # posts) is in a different color) @@ -80,8 +83,8 @@ if (system.version_num < 31400) } // Version & date variables -var DD_MSG_AREA_CHOOSER_VERSION = "1.29"; -var DD_MSG_AREA_CHOOSER_VER_DATE = "2022-07-23"; +var DD_MSG_AREA_CHOOSER_VERSION = "1.30"; +var DD_MSG_AREA_CHOOSER_VER_DATE = "2022-08-19"; // Keyboard input key codes var CTRL_H = "\x08"; @@ -150,6 +153,10 @@ else if (typeof(argv[1]) == "string") // it to let the user choose a message area. if (executeThisScript) { + // When exiting this script, make sure to set the ctrl key pasthru back to what it was originally + js.on_exit("console.ctrlkey_passthru = " + console.ctrlkey_passthru); + console.ctrlkey_passthru = "+ACGKLOPQRTUVWXYZ_"; // So that control key combinations only get caught by this script + var msgAreaChooser = new DDMsgAreaChooser(); // If we are to let the user choose a sub-board within // their current group (and not choose a message group diff --git a/xtrn/DDAreaChoosers/readme.txt b/xtrn/DDAreaChoosers/readme.txt index ef78740185c23b705daf5b919d35afa8286ffa68..f9c59346c52a1341b2b8a2fd2dd4fcf56523182d 100644 --- a/xtrn/DDAreaChoosers/readme.txt +++ b/xtrn/DDAreaChoosers/readme.txt @@ -1,6 +1,6 @@ Digital Distortion Area Choosers - Version 1.26/1.28 - Release date: 2022-07-08 + Version 1.30 + Release date: 2022-08-19 by diff --git a/xtrn/DDAreaChoosers/revision_history.txt b/xtrn/DDAreaChoosers/revision_history.txt index 844fb2bee154ed25def43dec6cbbea3053d4ac82..ed97678feb7de703a4b2c0164f91ba0c3926db91 100644 --- a/xtrn/DDAreaChoosers/revision_history.txt +++ b/xtrn/DDAreaChoosers/revision_history.txt @@ -5,6 +5,11 @@ Revision History (change log) ============================= Version Date Description ------- ---- ----------- +1.30 2022-08-19 Made use of the control key passthru setting so that + certain hotkeys (such as Ctrl-P, for Pageup) are only + caught by the scripts and not passed thru to the BBS. +1.29 2022-07-23 Re-arranged the help text to be more consistent with + each other. 1.28 2022-07-06 File area chooser: Lightbar mode fix for not actually moving to the user's selected directory when directly choosing a directory in their library