Forum Discussion

amithsid's avatar
amithsid
Contributor
10 years ago
Solved

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...
  • Ryan_Moran's avatar
    10 years ago
    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');

    }