import snapshot from card 1 of stack "stack name" ~Roger On Feb 19, 2013 4:48 PM, "Lars Brehmer" <larsbreh...@mac.com> wrote:
> I solved my self-induced problem, and it was indeed rather idiotic of me, > as I suspected. > > The iconic didn't work because in the stack inspector the decorations were > set to empty. I use a custom stack shape without the Mac or Windows > decorations, and I didn't realize that even when you don't use them. the > decorations can't be empty. I can't remember exactly, but I think that this > was different in Rev 2.8, which is why I was confused. > > One last thing that is driving me crazy is that "import snapshot" never > works for me in Windows. It works in the livecode IDE, but in standalones, > the snapshot is always of the desktop/wallpaper, not of the stack. > > > put 234,83,500,166 into zRect > put the windowId of stack "mainStack" into tWindow > import snapshot from rect zRect of window tWindow > > In the IDE this works fine. In a standalone the image is always of the > wallpaper behind the stack. I have found this problem in the forums, read > how people say it works just fine in Windows and followed every tip and > still it never has worked for me. Always the wallpaper. Please tell me this > isn't because of the decorations? > > Cheers, > > Lars > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode