Need help to get txt output

@beppe, thank you for your valuable reply to my last post.

I have a code to take AMI active screen - picture in any image output. i added "ExIMG" button on toolbar, on click system capture AMI active screen imag in *.jpg format.

Now, i want seniors help to get my logic output in notepad file , i looking *.js file for this and which call my logic set in my AFL. and open notepad with details.

This will be an x-mas gift for me. Thank you in advance.