Skip to main content

Had to switch to Rocket TE Web Edition.  The javascript seems to have some propriatary function. Where can I find some sample scripts for: 1. paste to an external document, such as notepad. Figured out how to copy and copy append the screen details to the clipboard; 2. run through a list of items.  I can travel the different screens but want to have it process each item in the list through a javascript.  

I've searched the form and can't find anything. 

Was using to use bluezone app & had lots of vb scripts not those no longer work since moving to Rocket TE WE.  We don't have the addon for vb script, only have the one for javascript.

Thank you



------------------------------
ant mcken
analyst
Rocket Forum Shared Account
------------------------------

Had to switch to Rocket TE Web Edition.  The javascript seems to have some propriatary function. Where can I find some sample scripts for: 1. paste to an external document, such as notepad. Figured out how to copy and copy append the screen details to the clipboard; 2. run through a list of items.  I can travel the different screens but want to have it process each item in the list through a javascript.  

I've searched the form and can't find anything. 

Was using to use bluezone app & had lots of vb scripts not those no longer work since moving to Rocket TE WE.  We don't have the addon for vb script, only have the one for javascript.

Thank you



------------------------------
ant mcken
analyst
Rocket Forum Shared Account
------------------------------

Hi Ant,

    Here is the online document about the RTE Web Front-end API for your reference  API quick start  and  Front-end API for Rocket Terminal Emulator Web Edition

    For your question

    1:  Do you want to run your own javascript that can invoke the external application (like Notepad), then paste the clipboard text to it?

          Is this is case?  Javascript is running based on the browser which restricts interaction with external applications, so, it will be a big challenge.

    2:  Can you explain in more detail or give an example of this case,  Do you want to use Javascript to control different screens, like page down or page up?

Regards.



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------

Hi Ant,

    Here is the online document about the RTE Web Front-end API for your reference  API quick start  and  Front-end API for Rocket Terminal Emulator Web Edition

    For your question

    1:  Do you want to run your own javascript that can invoke the external application (like Notepad), then paste the clipboard text to it?

          Is this is case?  Javascript is running based on the browser which restricts interaction with external applications, so, it will be a big challenge.

    2:  Can you explain in more detail or give an example of this case,  Do you want to use Javascript to control different screens, like page down or page up?

Regards.



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------

Hi Qianchao, i would like to use JavaScript to extract data to a Txt or CSV file file. is there  JS object definitions, function parameters, or SDK documentation i can look at? thank you 



------------------------------
rony d
Rocket Forum Shared Account
------------------------------

Hi Ant,

    Here is the online document about the RTE Web Front-end API for your reference  API quick start  and  Front-end API for Rocket Terminal Emulator Web Edition

    For your question

    1:  Do you want to run your own javascript that can invoke the external application (like Notepad), then paste the clipboard text to it?

          Is this is case?  Javascript is running based on the browser which restricts interaction with external applications, so, it will be a big challenge.

    2:  Can you explain in more detail or give an example of this case,  Do you want to use Javascript to control different screens, like page down or page up?

Regards.



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------

Test



------------------------------
rony d
Rocket Forum Shared Account
------------------------------

Hi Qianchao, i would like to use JavaScript to extract data to a Txt or CSV file file. is there  JS object definitions, function parameters, or SDK documentation i can look at? thank you 



------------------------------
rony d
Rocket Forum Shared Account
------------------------------

Hi Rony,

    In the version of RTE web 10.2.1, there is new API function 'writeToFile'  that supports output the text/data  of a single or multiple terminal screens  to a Txt  file.

You can try this and leave a comment if anything I can help.



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------

Hi Rony,

    In the version of RTE web 10.2.1, there is new API function 'writeToFile'  that supports output the text/data  of a single or multiple terminal screens  to a Txt  file.

You can try this and leave a comment if anything I can help.



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------

Thank you for your reply. Where can I find the documentation for this API? 



------------------------------
rony d
Rocket Forum Shared Account
------------------------------

Hi Rony,

    In the version of RTE web 10.2.1, there is new API function 'writeToFile'  that supports output the text/data  of a single or multiple terminal screens  to a Txt  file.

You can try this and leave a comment if anything I can help.



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------

Qianchao,

Where can I find documentation regarding the new version of RTE 10.2.1.  Currently, we are running 10.2.0. The 'writeToFile' was not part of that release so there might be additional functions in the 10.2.1 release.

Thank you

AM



------------------------------
Anthony Mckenzie
analyst
Arizona Health Care Cost Cont.
------------------------------

Thank you for your reply. Where can I find the documentation for this API? 



------------------------------
rony d
Rocket Forum Shared Account
------------------------------

Hi Rony,

  There is no online documentation for client API, the API documentation is a part of the package and have been put into the release package.

After deploy the RTE web, refer the API use case URL like http://localhost:8543/ZLUX/plugins/com.rs.bzw/web/lib/js/doc/index.html



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------

Qianchao,

Where can I find documentation regarding the new version of RTE 10.2.1.  Currently, we are running 10.2.0. The 'writeToFile' was not part of that release so there might be additional functions in the 10.2.1 release.

Thank you

AM



------------------------------
Anthony Mckenzie
analyst
Arizona Health Care Cost Cont.
------------------------------

Hi Anthony,

  There is no online documentation for client API, the API documentation is a part of the package and have been put into the release package.

After deploy the RTE web, refer the API use case URL like http://localhost:8543/ZLUX/plugins/com.rs.bzw/web/lib/js/doc/index.html.

 So, for your case, if you don't have 10.2.1 package, maybe you can raise a customer case and ask the 10.2.1 package from our support team.



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------

Hi Anthony,

  There is no online documentation for client API, the API documentation is a part of the package and have been put into the release package.

After deploy the RTE web, refer the API use case URL like http://localhost:8543/ZLUX/plugins/com.rs.bzw/web/lib/js/doc/index.html.

 So, for your case, if you don't have 10.2.1 package, maybe you can raise a customer case and ask the 10.2.1 package from our support team.



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------

You have an invalid link in your reply.  



------------------------------
Anthony Mckenzie
analyst
Arizona Health Care Cost Cont.
------------------------------

You have an invalid link in your reply.  



------------------------------
Anthony Mckenzie
analyst
Arizona Health Care Cost Cont.
------------------------------

Sorry, try to replace the localhost:8543 in URL with your correct host name and port number.



------------------------------
Qianchao Pan
Senior Software Engineer • Bluezone Product Engineering
Rocket Internal - All Brands
------------------------------