I regularly use this Custom Operation (below) to create dimmed icons. However, in Windows 7 this causes 'The Attempted operation failed with error code 0x80004005. Please verify that there is enough free memory and that the configuration of the operation is correct.
This is the exact same code that worked fine on my XP machine, before upgrading.
Perhaps you could check?
Thanks
MB
'CUSTOM OPERATION var image = Document.RasterImage; var sizeX = image.sizeX; var sizeY = image.sizeY; //Colours are Alpha (transparency), Blue, Green, Red //var color = 0xffffffff; // this is White var color = 0x00000000; //This is transparent for (x=0; x<sizeX; x ) for (y=0; y<sizeY; y ) if ((x y)&1) image.SetPixel(x, y, 0, 0, color);
Page views: 1170 Posts: 1 Someone seems to be replying right now. Wait for it...