This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-09-09 17:38:19

cygene
Scratcher
Registered: 2011-05-31
Posts: 100+

Importing from Clipboard

More commonly referred to as copy-paste, shouldn't this have been part of Scratch since the beginning? Not just scripts, but also for the paint editor. If you made a picture from paint or another image editing software, would it be better just to copy-paste than to save the image and import it? Maybe I'm just uninformed, but I really want to do this.

Last edited by cygene (2011-09-09 17:38:28)


http://cygene.wikispaces.com/file/view/clip2.gif/242526033/clip2.gif

Offline

 

#2 2011-09-09 18:00:10

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Importing from Clipboard

I agree on the copy-pasting of images, but I'm not sure how it would work with scripts.  If you copy a script in Scratch, what would happen if you pasted it into another program, like Microsoft Word?  And what would happen if you copied some random text in another program and tried to paste it into Scratch?   hmm

Offline

 

#3 2011-09-09 18:29:20

cygene
Scratcher
Registered: 2011-05-31
Posts: 100+

Re: Importing from Clipboard

Greenatic wrote:

I agree on the copy-pasting of images, but I'm not sure how it would work with scripts.  If you copy a script in Scratch, what would happen if you pasted it into another program, like Microsoft Word?  And what would happen if you copied some random text in another program and tried to paste it into Scratch?   hmm

Scripts are already able to be duplicated (press the button)


http://cygene.wikispaces.com/file/view/clip2.gif/242526033/clip2.gif

Offline

 

#4 2011-09-09 18:34:24

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Importing from Clipboard

cygene wrote:

Greenatic wrote:

I agree on the copy-pasting of images, but I'm not sure how it would work with scripts.  If you copy a script in Scratch, what would happen if you pasted it into another program, like Microsoft Word?  And what would happen if you copied some random text in another program and tried to paste it into Scratch?   hmm

Scripts are already able to be duplicated (press the button)

I don't think you understand what I'm saying.  When you duplicate a script it only duplicates inside of Scratch.  But the clipboard is available to all programs.  What would happen when another program reads Scratch script data, or Scratch reads data from another program?

Offline

 

#5 2011-09-09 18:36:19

cygene
Scratcher
Registered: 2011-05-31
Posts: 100+

Re: Importing from Clipboard

Greenatic wrote:

cygene wrote:

Greenatic wrote:

I agree on the copy-pasting of images, but I'm not sure how it would work with scripts.  If you copy a script in Scratch, what would happen if you pasted it into another program, like Microsoft Word?  And what would happen if you copied some random text in another program and tried to paste it into Scratch?   hmm

Scripts are already able to be duplicated (press the button)

I don't think you understand what I'm saying.  When you duplicate a script it only duplicates inside of Scratch.  But the clipboard is available to all programs.  What would happen when another program reads Scratch script data, or Scratch reads data from another program?

Answer, they can't. It just results in a bunch of unreadable characters. Try right clicking a project and open with notepad. That's what it would look like.


http://cygene.wikispaces.com/file/view/clip2.gif/242526033/clip2.gif

Offline

 

#6 2011-09-09 18:48:12

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Importing from Clipboard

cygene wrote:

Greenatic wrote:

cygene wrote:


Scripts are already able to be duplicated (press the button)

I don't think you understand what I'm saying.  When you duplicate a script it only duplicates inside of Scratch.  But the clipboard is available to all programs.  What would happen when another program reads Scratch script data, or Scratch reads data from another program?

Answer, they can't. It just results in a bunch of unreadable characters. Try right clicking a project and open with notepad. That's what it would look like.

OK, that answers the first one.  But what about the second?

Offline

 

#7 2011-09-09 19:34:25

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: Importing from Clipboard

Greenatic wrote:

cygene wrote:

Greenatic wrote:

I don't think you understand what I'm saying.  When you duplicate a script it only duplicates inside of Scratch.  But the clipboard is available to all programs.  What would happen when another program reads Scratch script data, or Scratch reads data from another program?

Answer, they can't. It just results in a bunch of unreadable characters. Try right clicking a project and open with notepad. That's what it would look like.

OK, that answers the first one.  But what about the second?

Maybe there would be a filter to block out text that doesn't include blocks?

And also, a lot of the beginning stuff in notepad is readable.

Last edited by laptop97 (2011-09-09 19:34:52)

Offline

 

#8 2011-09-09 19:48:15

cygene
Scratcher
Registered: 2011-05-31
Posts: 100+

Re: Importing from Clipboard

Greenatic wrote:

cygene wrote:

Greenatic wrote:


I don't think you understand what I'm saying.  When you duplicate a script it only duplicates inside of Scratch.  But the clipboard is available to all programs.  What would happen when another program reads Scratch script data, or Scratch reads data from another program?

Answer, they can't. It just results in a bunch of unreadable characters. Try right clicking a project and open with notepad. That's what it would look like.

OK, that answers the first one.  But what about the second?

Maybe, if it was text, scratch would make it a comment, and if it was music, it would save it as a sound file in the project, and if a picture, it would make it into a new costume


http://cygene.wikispaces.com/file/view/clip2.gif/242526033/clip2.gif

Offline

 

#9 2011-09-09 20:08:55

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Importing from Clipboard

Just so you know, you can paste text in the clipboard into scripts. Just click in the box to enter the text and hit Ctrl + V.  smile

It would be nice to have better copy + paste in the paint editor, but it's not that hard to save an image, and it's better for backup purposes anyway.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#10 2011-09-09 22:53:48

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Importing from Clipboard

Harakou wrote:

Just so you know, you can paste text in the clipboard into scripts. Just click in the box to enter the text and hit Ctrl + V.  smile

It would be nice to have better copy + paste in the paint editor, but it's not that hard to save an image, and it's better for backup purposes anyway.

I think what was intended was to copy whole scripts, not just arguments.

Offline

 

Board footer