can I set up a patch that automatically save a jpg image?
hi, experts
I am setting up a patch to save a jpg image on my desktop from the "jit.qt.grab" function . I am successfully set up a patch to save the image manually on the desktop. Now I like to set up a patch that automatically save the file without clicking any keyboard. However, when the action trigger the function called "write 30. jpeg normal" it will pop out a window to confirm the saving location. so, my question is that is there a way I can use a different function to skip this "manual" step? or there is a code?!
thank you so much for your help!!!
aichen
On 9/16/07, aichen wrote:
>
>
> hi, experts
> I am setting up a patch to save a jpg image on my desktop from the "
> jit.qt.grab" function . I am successfully set up a patch to save the image
> manually on the desktop. Now I like to set up a patch that automatically
> save the file without clicking any keyboard. However, when the action
> trigger the function called "write 30. jpeg normal" it will pop out a window
> to confirm the saving location. so, my question is that is there a way I can
> use a different function to skip this "manual" step? or there is a code?!
>
>
> thank you so much for your help!!!
>
> aichen
>
>
>
>
um..what does these numbers mean?!
but it wouldn't allow me to past, also I tried to put it on the Text Edit and save it with .pat file. it is not showing in the Max/MSP as well. am I doing anything wrong?!
hey, guys
thank you so much !!! I just update the latest version of Max/msp and it's working !!!!!!
yeah!! big hugs
aichen
hi Derek
could you give me a guide that how do I use this patch?!
I couldn't understand most of the objects in this sub_patch.
is this the sub_patch for the write message? or it's substution for the entire set up that I had.
thanks a lot!
aichen
try adding this to your patch.
change "image_name" in the sprintf to whatever you want to call the captures.
rather...
success !!!
thank you so much robtherich.
you save my life.
aichen
Is it possible to do this so it writes over the same file each time? I've tried but it doesn't do anything. Either that or get max to delete all files upon close?
Cheers
Andy
Ah. No worries. jit.fprint does that nicely anyway.
Cheers anyway.