Re: Parsing the content of the clipboardData["objects"] array

2010-07-20 Thread zryip theSlug
On Tue, Jul 20, 2010 at 6:20 PM, Mark Wieder  wrote:
> zryip-
>
> Tuesday, July 20, 2010, 6:36:46 AM, you wrote:
>
>> Ok I missed the start editing command.
>> I can't test it yet, but I suppose that the start editing group do
>> same as if I edit a group manually in the IDE.
>> So I have now to find a way to manage this behind the scene and let
>> the user only see the result of the paste in the group.
>
>
>> Thanks Mark 8-)
>
> NP. But beware of bug #2881 - don't say
>
> stop editing group 
>

Ok, Thanks for the warning ;)

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Parsing the content of the clipboardData["objects"] array

2010-07-20 Thread J. Landman Gay

On 7/20/10 11:20 AM, Mark Wieder wrote:

zryip-

Tuesday, July 20, 2010, 6:36:46 AM, you wrote:


Ok I missed the start editing command.
I can't test it yet, but I suppose that the start editing group do
same as if I edit a group manually in the IDE.
So I have now to find a way to manage this behind the scene and let
the user only see the result of the paste in the group.




Thanks Mark 8-)


NP. But beware of bug #2881 - don't say

stop editing group



Interesting bug. I see why it happens, though I agree it should probably 
be fixed. When editing a group, everything is moved to a temporary card 
and at that point there are no existant "groups" per se, just objects on 
the temp card. So "group" fails, but there is still a background in the 
stack.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Parsing the content of the clipboardData["objects"] array

2010-07-20 Thread Mark Wieder
zryip-

Tuesday, July 20, 2010, 6:36:46 AM, you wrote:

> Ok I missed the start editing command.
> I can't test it yet, but I suppose that the start editing group do
> same as if I edit a group manually in the IDE.
> So I have now to find a way to manage this behind the scene and let
> the user only see the result of the paste in the group.


> Thanks Mark 8-)

NP. But beware of bug #2881 - don't say

stop editing group 

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: Parsing the content of the clipboardData["objects"] array

2010-07-20 Thread zryip theSlug
On Tue, Jul 20, 2010 at 1:24 AM, Mark Wieder  wrote:
> zryip-
>
> Monday, July 19, 2010, 2:27:23 PM, you wrote:
>
>> 2) Even if I can force the paste in my palette (I have not tried to
>> set the palette as the default stack for example, but not sure that's
>> will change something due to the normal behavior), my objects will not
>> be created in the group, but probably somewhere in the stack.
>
> toplevel 
> start editing group 
> paste
> stop editing group
> palette 

It seems that we have to learn every day, and it's particulary true for me ;)

Ok I missed the start editing command.
I can't test it yet, but I suppose that the start editing group do
same as if I edit a group manually in the IDE.
So I have now to find a way to manage this behind the scene and let
the user only see the result of the paste in the group.


Thanks Mark 8-)

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Parsing the content of the clipboardData["objects"] array

2010-07-19 Thread Mark Wieder
zryip-

Monday, July 19, 2010, 2:27:23 PM, you wrote:

> 2) Even if I can force the paste in my palette (I have not tried to
> set the palette as the default stack for example, but not sure that's
> will change something due to the normal behavior), my objects will not
> be created in the group, but probably somewhere in the stack.

toplevel 
start editing group 
paste
stop editing group
palette 

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: Parsing the content of the clipboardData["objects"] array

2010-07-19 Thread zryip theSlug
On Mon, Jul 19, 2010 at 11:01 PM, Mark Wieder  wrote:
> zryip-
>
> Monday, July 19, 2010, 1:25:34 PM, you wrote:
>
>> Rebuild the controls nested in the clipboard data into a group located
>> on a palette.
>
> I take it the "paste" command won't work for you in this scenario?

No, duplicate selected objects works perfectly to duplicate objects
directly in the group.

However for the "paste" command I have two main problems:

1) The objects are pasted in the top editable window and not in the
palette. That's a normal behavior considering that you are not able to
do same by dropping objects in an not editable stack from the tool
palette.
2) Even if I can force the paste in my palette (I have not tried to
set the palette as the default stack for example, but not sure that's
will change something due to the normal behavior), my objects will not
be created in the group, but probably somewhere in the stack.

So I think that I have to create those objects by hand at the location I need.

And to clarify things about the content of the clipboard: the objects
in the clipboard could be one or more objects copied by an user and
paste in the palette group.

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Parsing the content of the clipboardData["objects"] array

2010-07-19 Thread Mark Wieder
zryip-

Monday, July 19, 2010, 1:25:34 PM, you wrote:

> Rebuild the controls nested in the clipboard data into a group located
> on a palette.

I take it the "paste" command won't work for you in this scenario?

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: Parsing the content of the clipboardData["objects"] array

2010-07-19 Thread zryip theSlug
On Mon, Jul 19, 2010 at 6:45 PM, Mark Wieder  wrote:
> zryip-
>
> Sunday, July 18, 2010, 12:43:59 AM, you wrote:
>
>> Can anyone have experience with the clipboardData["objects"] array and
>> could give some clues how is it internally structured, please?
>> I read in the doc: "one or more Revolution objects serialized into an
>> internal format" but I've found any entry about this internal format.
>
> It's an internal representation of the object data that's
> undocumented,subject to change at any time, and not much use anywhere
> else. What is it you're trying to do with the clipboard data?
>

Rebuild the controls nested in the clipboard data into a group located
on a palette.
So too risky and complicated with this method.

However I have now thought to other options, like trap the copy
shortcut in a front script, prepare my own format, give the hand to
the Rev's engine and do what I need with my internal data during the
paste.


Thanks for your replies Bob and Mark ;)


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Parsing the content of the clipboardData["objects"] array

2010-07-19 Thread Mark Wieder
zryip-

Sunday, July 18, 2010, 12:43:59 AM, you wrote:

> Can anyone have experience with the clipboardData["objects"] array and
> could give some clues how is it internally structured, please?
> I read in the doc: "one or more Revolution objects serialized into an
> internal format" but I've found any entry about this internal format.

It's an internal representation of the object data that's
undocumented,subject to change at any time, and not much use anywhere
else. What is it you're trying to do with the clipboard data?

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: Parsing the content of the clipboardData["objects"] array

2010-07-19 Thread Bob Sneidar
I wonder if the printkeys() function that comes with sqlYoga would be helpful 
here?

Bob


On Jul 18, 2010, at 12:43 AM, zryip theSlug wrote:

> Dear List,
> 
> Can anyone have experience with the clipboardData["objects"] array and
> could give some clues how is it internally structured, please?
> I read in the doc: "one or more Revolution objects serialized into an
> internal format" but I've found any entry about this internal format.
> 
> TIA.
> 
> 
> Regards,
> -- 
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc
> ___
> 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


Parsing the content of the clipboardData["objects"] array

2010-07-18 Thread zryip theSlug
Dear List,

Can anyone have experience with the clipboardData["objects"] array and
could give some clues how is it internally structured, please?
I read in the doc: "one or more Revolution objects serialized into an
internal format" but I've found any entry about this internal format.

TIA.


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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