• XTRN menu questions!

    From Alpha@alpha@vert.synchro.net.remove-ld6-this to All on Sun Aug 29 15:04:40 2021
    From Newsgroup: alt.bbs.synchronet

    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.
    --- Synchronet 3.19a-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.19c-Linux NewsLink 1.113
  • From Digital Man@digital.man@vert.synchro.net.remove-msv-this to Alpha on Mon Aug 30 11:00:22 2021
    From Newsgroup: alt.bbs.synchronet

    To: Alpha
    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 --- Synchronet 3.19a-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.19c-Linux NewsLink 1.113