Andrew Beckett
Senior Fellow
Offline
Life, don't talk to me about Life...
Posts: 1742
Bracknell, UK
|
Well, you could get the window ID as a string, but it's not going to help you because it is not the X window ID. For example:
window->windowNum will return the window number.
The best solution is to make sure you're using Wavescan rather than AWD as your waveform tool. Then you can use:
hardCopyOptions(?hcOutputFile "waveform.png") hardCopy()
If the filename has the suffix .png, .tif, .tiff or .bmp then a bitmap image will get created from the window contents (the same as File->Save As Image menu).
Regards,
Andrew.
|