• XTRN menu questions!

    From Alpha@1:103/705 to All on Sun Aug 29 15:04:40 2021
    Hey there! I've got a couple XTRN related questions, hoping I could get some advice...

    1. When I'm on the MAIN menu, hitting a key that's not defined in the command shell reloads the menu (I think).
    How can I make the XTRN menu function that way? Right now, hitting return exits back the the main menu. I'd like to reload XTRN when that happens.

    For context, I have a Global Hot Key Event (CTRL-U) that loads "?nodelist.js -active -clear -home" but if a user is left with the prompt and no menu...

    2. Is it possible to launch an external door program from a Global Hot Key? If so, I assume I'd need to write custom javascript launcher?

    Thanks again for any help. It's very much appreciated.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Alpha on Mon Aug 30 11:00:22 2021
    Re: XTRN menu questions!
    By: Alpha to All on Sun Aug 29 2021 03:04 pm

    Hey there! I've got a couple XTRN related questions, hoping I could get some advice...

    1. When I'm on the MAIN menu, hitting a key that's not defined in the command shell reloads the menu (I think).
    How can I make the XTRN menu function that way? Right now, hitting return exits back the the main menu. I'd like to reload XTRN when that happens.

    Modify exec/xtrn_sec.js to behave how you like.

    For context, I have a Global Hot Key Event (CTRL-U) that loads "?nodelist.js -active -clear -home" but if a user is left with the prompt and no menu...

    2. Is it possible to launch an external door program from a Global Hot Key?

    Yes.

    If so, I assume I'd need to write custom javascript launcher?

    Any external program can be launched, not just JavaScript scripts.
    --
    digital man

    Breaking Bad quote #38:
    Don't drink and drive, but when you do, call Saul.
    Norco, CA WX: 78.9øF, 56.0% humidity, 5 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)