[Squeakland] Copying from one project to another?

Mark Engelberg mark.engelberg at gmail.com
Tue Oct 25 10:18:06 PDT 2005


Sounds like there's lots of good options, but I'm particularly curious
to know more about the last option, because it makes me realize that I
don't have a complete mental model of how projects "link" to one
another, or are loaded when one is already resident in memory.

Okay, let's say I'm working in a project (we'll call it Project A),
and I realize that I want to get a copy of a car that I used in
another project (we'll call it Project B).  So naturally, I did a find
project, and called up Project B.

But then I was inside of Project B, trying to look for a way to get
the object out of Project B and into Project A.  Eventually, I clicked
on "Prev Project" and found myself back in Project A.  Interestingly,
I discovered a little window depicting Project B in the upper-left
corner of Project A.  To me, this indicated that Project B had in some
sense been loaded "inside of" Project A, rather than as a completely
separate entity.  If I were to save Project A at this point, would
Project B be saved as well, or would it only save a "link" from
Project A to Project B?

Anyway, next I tried to try drag the car out of the little image of
Project B, into Project A, but none of the objects were clickable.

So, it sounds like you're saying that there's no way to drag something
"out" of a link between projects (without using an intermediary like
buffer or supplies), but you CAN drop something into a link.

If that's the case, I'm guessing I would have had to do something like this:
I'm in Project A, and realize I want something from Project B.
I do a "find" to summon up Project B.
The I do a "find" to summon up Project A, so that I have a link back
to Project A.
Then, I drop the object through the link to project A.
Then, I go through to project A, and delete the link to Project B, and
publish to save.

Does that sound right?

--Mark Engelberg

On 10/25/05, Scott Wallace <scott.wallace at squeakland.org> wrote:
> Hi, Mark,
>
> Here are a few options for copying objects from project to project:
>
> (1)  Drag the object into the Supplies bin.  You can then drag a
> fresh copy of it out from Supplies into any project any time you wish.
>
> (2)  Use "copy to paste buffer" ("copy & print" branch of an object's
> halo menu) to put a copy of the object into a special, invisible
> place called the "paste buffer."   Then, to get a fresh copy in any
> project, bring up the desktop menu (shift-esc) and choose "new morph"
> ... "from paste buffer."
>
> (3)  You can also "park" your object in a "shared flap" such as the
> "Squeak" flap obtainable from the standard developers' variant of
> flaps -- or create your *own* shared flap, which can then be accessed
> from any project.
>
> (4)  You can also send a copy of any object to any project by simply
> using drag-and-drop.  Drag the desired object over the project's
> icon, and drop it; when you see the message "GOT IT!" you'll know
> that the object has been copied to the other project; enter that
> project and you'll see the copy there.
>
> Cheers,
>
>   -- Scott
>
> At 6:12 PM -0700 10/24/05, Mark Engelberg wrote:
> >How do I copy an object from one project to another?
> >
> >Thanks,
> >
> >Mark
>



More information about the Squeakland mailing list