Craige, thanks for your reply and kindness!
At first, I want to show you two simple JSL examples:
without //!
//Save this JSL to desktop, and double click the JSL, you will find it will pop out, //but directly generate a new datatable, unless you manually click run button
newtable();
with //!
//!
newtable();
//Save this JSL to desktop, and double click the JSL, you will find it will directly //generate a new data table.
The advantage of with //! is no need to click run button to run the JSL, so I take this way as a part of report automation system.
Secondly, I want to briefly clarify the process of this system again.
- Send mail with specific subject to me from users
- Mail will pass a mail item object to Python via VBA
- Python will be run and call JSL with //! to generate JMP plots and do other stuffs
- Python generated report and reply the mail with the report as attachment.
Ideally, this system should be perfect because the whole process is completely automation, but the point is this system runs on my PC, if someone send the mail with specific subject to me, the system will be activated and perform the above process, and if I am working at the same time and press CTRL+C/V to do some works, it will directly interrupt the JSL running, so it really has a huge risk when I am working and someone send the mail to me at the same time, thus I want to know how I can replace CTRL with other buttons to interrupt JSL. At least so far I think the only way to solve this issue is replace it after evaluated the whole process