Calling neoScript subroutine from javaScript subroutine - Forum

Forum Navigation
You need to log in to create posts and topics.

Calling neoScript subroutine from javaScript subroutine

hello,

How can I call neoScript subroutine from javaScript subroutine?

@asmat in Project > Events > start-up tab add this command to allow JavaScript to call NeoScript subroutines:

NeoScriptToJS

Then from JavaScript you can call any NeoScript subroutine just like this:

neosubroutine.myNeoScriptSubroutine(param1,param2...);

See attached sample.

 

Uploaded files:
  • You need to login to have access to uploads.

Thank you so much!

Here. I have one more question,

How can I call javascript subroutine from another javascript subroutine?

It's just the same

neosubroutine.myJavaScriptSubroutine(param1,param2...);

For VisualNEO Web both subroutines are the same.

javadrajabihakami has reacted to this post.
javadrajabihakami