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

 Re: Calling Java Script from Baja script
 By: Digital Man to Amessyroom on Mon Aug 26 2024 02:31 pm

DM> Re: Calling Java Script from Baja script By: Amessyroom to All on Mon Aug
DM> 26 2024 12:53 pm

>> Trying to modify the wildcat clone menu to call a Javascript module.

>> cmdkey N
>> exec_xtrn "NEWS"
>> pause
>> end_cmd


>> News is the external name for the news.js module

>> Is this the correct way to make the call, or can baja not call java script
>> ?  Maybe I need to call jsexec and filename?

DM> Looks correct to me. Why, is it not working?

DM> You can also manually execute a JavaScript module with the "EXEC" sysop
DM> command (e.g. type ";exec ?news" from the main menu of the default command
DM> shell) - assuming news.js is in your exec or mods directory.
DM> --
DM> digital man (rob)

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