From: Ry Nohryb on
On May 7, 4:04 pm, SAM <stephanemoriaux.NoAd...(a)wanadoo.fr.invalid>
wrote:
> Le 5/3/10 2:18 PM, Ry Nohryb a écrit :
>
> > On May 2, 11:56 pm, DL <tatata9...(a)gmail.com> wrote:
> >> On May 2, 2:33 pm, Ry Nohryb <jo...(a)jorgechamorro.com> wrote:
>
> >>> On May 2, 5:07 pm, DL <tatata9...(a)gmail.com> wrote:
> >>>> Is there a way to trigger/minik the screen capture combo of "Ctrl +
> >>>> Alt + Print Scrn" keys with a javascript call something and export the
> >>>> result to an image file?
> >>> Yes, there's a way.
> >>> --
> >>> Jorge.
> >> How?  Jorge.
>
> > Attach a protocol to the app that captures your screen to a file.
> > Launch it with <a href="yourProtocol:whatever">TAKE A PHOTO OF THE
> > SCREEN</a>.
>
> How do I do that with Mac OS X ?
>
> (by curiousity)

No idea... :-) I'll look into it.
--
Jorge.
From: Ry Nohryb on
On May 7, 8:39 pm, Ry Nohryb <jo...(a)jorgechamorro.com> wrote:
> On May 7, 4:04 pm, SAM <stephanemoriaux.NoAd...(a)wanadoo.fr.invalid>
> wrote:
>
>
>
>
>
> > Le 5/3/10 2:18 PM, Ry Nohryb a écrit :
>
> > > On May 2, 11:56 pm, DL <tatata9...(a)gmail.com> wrote:
> > >> On May 2, 2:33 pm, Ry Nohryb <jo...(a)jorgechamorro.com> wrote:
>
> > >>> On May 2, 5:07 pm, DL <tatata9...(a)gmail.com> wrote:
> > >>>> Is there a way to trigger/minik the screen capture combo of "Ctrl +
> > >>>> Alt + Print Scrn" keys with a javascript call something and export the
> > >>>> result to an image file?
> > >>> Yes, there's a way.
> > >>> --
> > >>> Jorge.
> > >> How?  Jorge.
>
> > > Attach a protocol to the app that captures your screen to a file.
> > > Launch it with <a href="yourProtocol:whatever">TAKE A PHOTO OF THE
> > > SCREEN</a>.
>
> > How do I do that with Mac OS X ?
>
> > (by curiousity)
>
> No idea... :-) I'll look into it.
> --
> Jorge.

The app we'd need to launch is screencapture: type man screencapture
in the terminal, then screencapture /path/where/to/save/the/image.
--
Jorge.