Subj : Calling Java Script from Baja script
To   : Digital Man
From : Amessyroom
Date : Thu Aug 29 2024 11:29 pm

 Re: Calling Java Script from Baja script
 By: Amessyroom to Digital Man on Thu Aug 29 2024 11:24 pm

>>> cmdkey N
>>> exec_xtrn "NEWS"
>>> pause
>>> end_cmd
DM>> Looks correct to me. Why, is it not working?

DM> DM> You can also manually execute a JavaScript module with the "EXEC"
DM> DM> sysop DM> command (e.g. type ";exec ?news" from the main menu of the
DM> DM> default command DM> shell) - assuming news.js is in your exec or mods
DM> DM> directory. DM> --
DM> DM> digital man (rob)
Sent before I edited. Got it working with Nightfox's suggestion of using exec and ? but had to give relative path ../mods/News-main/news.js

Thanks for the assistance (DM/Nightfox)

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