AW: how to store imagedata in a custom property?

2008-07-08 Thread Tiemo Hollmann TB
Hi Viktoras,
thanks for your approach, that's what I was heading for and now with the
text of the image (Scotts hint) it works also with an array perfect.
Tiemo
> 
> but ctrl+z is a single step undo, isn't it? I haven't done this with
> imagedata, but for text changes in fields I store the text of field in
> an array 'undooArray' before each space, enter, return, backspace,
> delete, dot, comma, colon, paste, copy, cut, insert (or any other action
> of context menu) in that field. Then I can undo or redo as many times as
> I like by adding or subtracting from current key of the array. E.g. undo
> as put undooArray[currentKey - 1] into fld myField; redo as put
> undooArray[currentKey + 1]. Only available memory sets the limit.
> 
> best wishes!
> Viktoras

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: how to store imagedata in a custom property?

2008-07-08 Thread Tiemo Hollmann TB
Thanks Scott, that works perfect, I don't know why it didn't worked with
imagedata at my 2.9.
Tiemo

> 
> 
> What you describe above works for me here in 2.9.
> 
> One other thing you might try.  Instead of storing the imageData, store
> the
> text of the image.
> 
>   set the undo1 of img "foo" to the text of img "foo"
> 
> Then, to restore the image:
> 
>   set the text of img "foo" to the undo1 of img 1
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AW: AW: how to store imagedata in a custom property?

2008-07-07 Thread Noel

I figured it meant Answer Within :)  Guess I wasn't that far off!

 - Noel

At 12:30 PM 7/7/2008, you wrote:

Björnke von Gierke wrote:

On 7 Jul 2008, at 18:58, J. Landman Gay wrote:


By the way, what is "AW:" in the subject line?

It's German for "Re:", and an abbreviation of "Antwort" which means "Answer".


Thank you! It was a mystery to me, now solved. 
:) I love that we have so many bilingual people on this list.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe 
and manage your subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AW: AW: how to store imagedata in a custom property?

2008-07-07 Thread J. Landman Gay

Björnke von Gierke wrote:

On 7 Jul 2008, at 18:58, J. Landman Gay wrote:


By the way, what is "AW:" in the subject line?


It's German for "Re:", and an abbreviation of "Antwort" which means 
"Answer".


Thank you! It was a mystery to me, now solved. :) I love that we have so 
many bilingual people on this list.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AW: AW: how to store imagedata in a custom property?

2008-07-07 Thread Björnke von Gierke

On 7 Jul 2008, at 18:58, J. Landman Gay wrote:


By the way, what is "AW:" in the subject line?


It's German for "Re:", and an abbreviation of "Antwort" which means  
"Answer".



--

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev";

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to store imagedata in a custom property?

2008-07-07 Thread viktoras didziulis
but ctrl+z is a single step undo, isn't it? I haven't done this with 
imagedata, but for text changes in fields I store the text of field in 
an array 'undooArray' before each space, enter, return, backspace, 
delete, dot, comma, colon, paste, copy, cut, insert (or any other action 
of context menu) in that field. Then I can undo or redo as many times as 
I like by adding or subtracting from current key of the array. E.g. undo 
as put undooArray[currentKey - 1] into fld myField; redo as put 
undooArray[currentKey + 1]. Only available memory sets the limit.


best wishes!
Viktoras

J. Landman Gay wrote:

Tiemo Hollmann TB wrote:
I want to provide my user a undo function in the standalone with the 
brush

tool, not while developing.


In that case you may need to write a commandKey handler that traps for 
"z" and issues the "undo" command. If you have menus with that 
keyboard shortcut, they should work too.


By the way, what is "AW:" in the subject line?



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to store imagedata in a custom property?

2008-07-07 Thread Scott Rossi
Recently, Tiemo Hollmann TB wrote:

> I would like to make my
> own "undo" for painting actions with storing different states of the image
> in custom properties, like:
> 
> set the undo1 of img "foo" to the imagedata of img "foo"
> 
> but when trying to restore the imagedata out of the custom property undo1
> 
> set the imagedata of img "foo" to the undo1 of img "foo"
> 
> just nothing happens.


What you describe above works for me here in 2.9.

One other thing you might try.  Instead of storing the imageData, store the
text of the image.

  set the undo1 of img "foo" to the text of img "foo"

Then, to restore the image:

  set the text of img "foo" to the undo1 of img 1

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AW: AW: how to store imagedata in a custom property?

2008-07-07 Thread J. Landman Gay

Tiemo Hollmann TB wrote:

I want to provide my user a undo function in the standalone with the brush
tool, not while developing.


In that case you may need to write a commandKey handler that traps for 
"z" and issues the "undo" command. If you have menus with that keyboard 
shortcut, they should work too.


By the way, what is "AW:" in the subject line?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: AW: how to store imagedata in a custom property?

2008-07-07 Thread Tiemo Hollmann TB
I want to provide my user a undo function in the standalone with the brush
tool, not while developing.
Tiemo


> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von J. Landman Gay
> Gesendet: Montag, 7. Juli 2008 18:29
> An: How to use Revolution
> Betreff: Re: AW: how to store imagedata in a custom property?
> 
> Tiemo Hollmann TB wrote:
> > Hi Jacqueline,
> > the plain "undo" doesn't work with the brush tool (as my experience and
> as
> > the docs say)
> > How do you do an undo for a painting with the brush tool?
> 
> I just type Cmd-Z and undo happens.
> 
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AW: how to store imagedata in a custom property?

2008-07-07 Thread J. Landman Gay

Tiemo Hollmann TB wrote:

Hi Jacqueline,
the plain "undo" doesn't work with the brush tool (as my experience and as
the docs say)
How do you do an undo for a painting with the brush tool?


I just type Cmd-Z and undo happens.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: how to store imagedata in a custom property?

2008-07-07 Thread Tiemo Hollmann TB
Hi Jacqueline,
the plain "undo" doesn't work with the brush tool (as my experience and as
the docs say)
How do you do an undo for a painting with the brush tool?
Thanks
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von J. Landman Gay
> Gesendet: Montag, 7. Juli 2008 18:04
> An: How to use Revolution
> Betreff: Re: how to store imagedata in a custom property?
> 
> Tiemo Hollmann TB wrote:
> > Hello,
> >
> > cause you can't undo actions with the paint tool, I would like to make
> my
> > own "undo" for painting actions with storing different states of the
> image
> > in custom properties, like:
> 
> I undo painting actions all the time. What doesn't work?
> 
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to store imagedata in a custom property?

2008-07-07 Thread J. Landman Gay

Tiemo Hollmann TB wrote:

Hello,

cause you can't undo actions with the paint tool, I would like to make my
own "undo" for painting actions with storing different states of the image
in custom properties, like:


I undo painting actions all the time. What doesn't work?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how to store imagedata in a custom property?

2008-07-07 Thread Tiemo Hollmann TB
Hello,

cause you can't undo actions with the paint tool, I would like to make my
own "undo" for painting actions with storing different states of the image
in custom properties, like:

set the undo1 of img "foo" to the imagedata of img "foo"

but when trying to restore the imagedata out of the custom property undo1

set the imagedata of img "foo" to the undo1 of img "foo"

just nothing happens.

Is this a scripting fault or how can I store imagedata in a custom property?

Thanks for any help

Tiemo

 

 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution