• Calling DDMSGREADER

    From Amessyroom@VERT/TL-QWK to nightfox on Monday, August 19, 2024 05:30:30
    I'm trying to call ddmsgreader from menu item but it is not using the expected arguments.

    'M': { eval: 'bbs.exec("?../xtrn/DDMsgReader/DDMsgReader.js -indexedMode -indexModeScopoe=all -newscanIndexMenuAfterReadAllNew")' },

    It prompts for Group or All, and then goes to index mode. Not jumping to "NEW" groups as expected.

    What am I doing wrong in the executable call ?

    ---
    þ Synchronet þ Too Lazy BBS - toolazy.synchro.net:2323
  • From Nightfox@VERT/DIGDIST to Amessyroom on Monday, August 19, 2024 09:54:17
    Re: Calling DDMSGREADER
    By: Amessyroom to nightfox on Mon Aug 19 2024 05:30 am

    Am> I'm trying to call ddmsgreader from menu item but it is not using the
    Am> expected arguments.

    Am> 'M': { eval: 'bbs.exec("?../xtrn/DDMsgReader/DDMsgReader.js -indexedMode
    Am> -indexModeScopoe=all -newscanIndexMenuAfterReadAllNew")' },

    Am> It prompts for Group or All, and then goes to index mode. Not jumping to
    Am> "NEW" groups as expected.

    Am> What am I doing wrong in the executable call ?

    It's going to index mode because you gave it the -indexedMode argument. What is it you're wanting to achieve?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Amessyroom@VERT/TL-QWK to Nightfox on Monday, August 19, 2024 23:12:12
    Re: Calling DDMSGREADER
    By: Nightfox to Amessyroom on Mon Aug 19 2024 09:54 am

    Ni> Re: Calling DDMSGREADER
    Ni> By: Amessyroom to nightfox on Mon Aug 19 2024 05:30 am

    Am>> I'm trying to call ddmsgreader from menu item but it is not using the
    Am>> expected arguments.

    Am>> 'M': { eval: 'bbs.exec("?../xtrn/DDMsgReader/DDMsgReader.js -indexedMode
    Am>> -indexModeScopoe=all -newscanIndexMenuAfterReadAllNew")' },

    Am>> It prompts for Group or All, and then goes to index mode. Not jumping to
    Am>> "NEW" groups as expected.

    Am>> What am I doing wrong in the executable call ?

    Ni> It's going to index mode because you gave it the -indexedMode argument.
    Ni> What is it you're wanting to achieve?

    It is prompting me for group or all; when I specified -indexModeScope=all

    I copied the example from the readme. Does the scope option have to come
    before the mode option?

    ---
    þ Synchronet þ Too Lazy BBS - toolazy.synchro.net:2323
  • From Gamgee@VERT/PALANTIR to Amessyroom on Tuesday, August 20, 2024 08:08:00
    -=> Amessyroom wrote to Nightfox <=-

    Am> Re: Calling DDMSGREADER
    Am> By: Nightfox to Amessyroom on Mon Aug 19 2024 09:54 am

    Ni> Re: Calling DDMSGREADER
    Ni> By: Amessyroom to nightfox on Mon Aug 19 2024 05:30 am

    Am>> I'm trying to call ddmsgreader from menu item but it is not using the
    Am>> expected arguments.

    Am>> 'M': { eval: 'bbs.exec("?../xtrn/DDMsgReader/DDMsgReader.js -indexedMode
    Am>> -indexModeScopoe=all -newscanIndexMenuAfterReadAllNew")' },

    Am>> It prompts for Group or All, and then goes to index mode. Not jumping to
    Am>> "NEW" groups as expected.

    Am>> What am I doing wrong in the executable call ?

    Ni> It's going to index mode because you gave it the -indexedMode argument.
    Ni> What is it you're wanting to achieve?

    Am> It is prompting me for group or all; when I specified
    Am> -indexModeScope=all

    There is a typo in the command line snippet that you posted above, which
    would explain why it isn't working.



    ... So easy, a child could do it. Child sold separately.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Nightfox@VERT/DIGDIST to Amessyroom on Tuesday, August 20, 2024 09:25:56
    Re: Calling DDMSGREADER
    By: Amessyroom to Nightfox on Mon Aug 19 2024 11:12 pm

    Am>>> I'm trying to call ddmsgreader from menu item but it is not using the
    Am>>> expected arguments.

    Am>>> 'M': { eval: 'bbs.exec("?../xtrn/DDMsgReader/DDMsgReader.js -indexedMode
    Am>>> -indexModeScopoe=all -newscanIndexMenuAfterReadAllNew")' },

    Am> It is prompting me for group or all; when I specified -indexModeScope=all

    Am> I copied the example from the readme. Does the scope option have to come
    Am> before the mode option?

    In the example you pasted above, you mistyped the indexModeScope parameter - You have an extra 'o' toward the end (indexModeScopoe).

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Amessyroom@VERT/TL-QWK to Nightfox on Tuesday, August 20, 2024 13:07:29
    Re: Calling DDMSGREADER
    By: Nightfox to Amessyroom on Tue Aug 20 2024 09:25 am

    Am>>>> -indexedMode -indexModeScopoe=all -newscanIndexMenuAfterReadAllNew")'
    Ni> In the example you pasted above, you mistyped the indexModeScope parameter
    Ni> - You have an extra 'o' toward the end (indexModeScopoe).
    :-) Thanks.

    I admit my human error...

    ---
    þ Synchronet þ Too Lazy BBS - toolazy.synchro.net:2323
  • From Amessyroom@VERT/TL-QWK to Gamgee on Tuesday, August 20, 2024 13:07:53
    Re: Re: Calling DDMSGREADER
    By: Gamgee to Amessyroom on Tue Aug 20 2024 08:08 am

    Thanks for pointing it out also.

    ---
    þ Synchronet þ Too Lazy BBS - toolazy.synchro.net:2323