Create Alert in Terminal Window with Script NOT with Alert()

 

Is there a way to create an Alert thru script that shows in the Terminal Window, that is it would mimic Alert Editor?
I don't want to use Alert().  Instead I want to be able to access the list of Alerts (using a script) on the Alerts Tab in Terminal Window and then if whatever conditions are met, create an Alert on the Alerts Tab.

 

 Terminal Window 

 

Alert Editor 

 
Only with WINAPI call.
 
angevoyageur:
Only with WINAPI call.

I woud like to have an example code.. if some one know.. kindly help me..

with thanks and Regards

Reason: