import snapshot from larger than screen stack???

Andre Garzia andre at andregarzia.com
Thu Sep 29 14:22:49 EDT 2011


Scott,

Thanks for answering. I am trying to capture a very tall RevBrowser window.
The revBrowserSnapshot command never worked for me, so I decided to use
global coordinates to import the snapshot from the area occupied by the
RevBrowser window. The stack is large enough and the are no scrollbars or
anything like that. The command below will capture a blank screen here.

damn, should be easy if revbrowsersnapshot just worked as advertised.

andre

On Thu, Sep 29, 2011 at 3:07 PM, Scott Rossi <scott at tactilemedia.com> wrote:

> Andre, would this work for you?
>
> on mouseUp
>   import snapshot from rect (rect of cd 1 of <stack to capture>) of cd 1 of
> <stack to capture>
> end mouseUp
>
> (note line wrap)
>
> Note to RunRev: statements like the above continue to fail when run from
> the
> message box.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
>
>
>
> Recently, Andre Garzia wrote:
>
> > Folks,
> >
> > I have a large stack that I want a snapshot, when I use the import
> snapshot
> > command, it clips on the screen borders... so if my stack is 1000 pixels
> > high and the screen is only 500 pixels high, the screenshot will feature
> > only the first 500px.
> >
> > any clue? Can we capture stuff off screen?
> >
> > Andre
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the Use-livecode mailing list