amithsid
11 years agoContributor
Query related to Log.Picture()
Hello,
How to change the name of the picture thats gets generated when I use Log.Picture().
Consider the following JS code-
Log.Picture(Sys.Desktop, "Message Text", "Extended Message Text", pmHighest);
The picture produces has a default name as Picture1, how to change it?
Thank you,
Amith n g
How to change the name of the picture thats gets generated when I use Log.Picture().
Consider the following JS code-
Log.Picture(Sys.Desktop, "Message Text", "Extended Message Text", pmHighest);
The picture produces has a default name as Picture1, how to change it?
Thank you,
Amith n g
- I don't believe you can, but maybe the picture method and savetofile will give you a work around to whatever you are trying to accomplish with this.
function main(){
var myPicture = Sys.Desktop.Picture();
myPicture.SaveToFile('C:\\ThisImage.PNG');
}