Saving/importing custom controls to/from file

Terry Judd tsj at unimelb.edu.au
Tue Nov 9 00:15:36 EST 2010


On 9/11/10 1:29 PM, "J. Landman Gay" <jacque at hyperactivesw.com> wrote:

> On 11/8/10 4:31 PM, Monte Goulding wrote:
>>> Yep - several times to make sure - and I checked the clipboard in
>>> between.
>> 
>> Great, I wonder how it might best be used. I'm not sure there's a
>> massive advantage to this over saving a custom control on a stack and
>> just copying the control from the stack.
> 
> I bet it started when RR added the ability to copy/paste objects between
> different instances of Rev. I make use of that a lot.
> 
> It does seem like there should be a use for storing a single control all
> by itself. I just can't think what.

You've gotta like the simplicity of...

set the clipboardData["objects"] to url ("binfile:"&myFilePath)

Terry...

--
Dr Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Melbourne Medical School
The University of Melbourne





More information about the use-livecode mailing list