Discuss Scratch

mathematicteacher
Teacher
7 posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

Hello Scratch users;

How can I get Scratch code into a pdf format? I teach coding to students, I write a new Scratch program and now I want to put my coding to a Word or Adobe document. Then I can write a description to students or write a book on how the code works. What do authors do when they write books? How do to get the code into a document.?
Any help would be greatly appreciated.

Thank you; Michael
scratchykit5743
Scratcher
1000+ posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

as an experienced scratcher, as i know, you cannot do it via a file thing, but you can screenshot a picture of coding you have done, crop it so it only shows the code (if desired), and put it in.
Fupicat
Scratcher
1000+ posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

Scratch doesn't have this funcionality. You'd have to screenshot the blocks and paste the image into your document.
vkpatil
Scratcher
100+ posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

You will probably have to screenshot, like everyone else said.
mathematicteacher
Teacher
7 posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

Thank you all for the reply!. This really stinks for teachers that we can print the code to Adobe or Word. Hopefully I can ask am author from many of the books I have on Scratch to help me..

I Greatly appreciate your responses. Have a great dayand stay safe form the Corona virus..

Michael
mathematicteacher
Teacher
7 posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

scratchykit5743 wrote:

as an experienced scratcher, as i know, you cannot do it via a file thing, but you can screenshot a picture of coding you have done, crop it so it only shows the code (if desired), and put it in.
Thank you very much! I hope that someday I anyone can get a block and copy and paste them. It would make life easier.
mathematicteacher
Teacher
7 posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

Fupicat wrote:

Scratch doesn't have this funcionality. You'd have to screenshot the blocks and paste the image into your document.
Thank you for your reply. I greatly appreciate your comments and time.
mathematicteacher
Teacher
7 posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

scratchykit5743 wrote:

as an experienced scratcher, as i know, you cannot do it via a file thing, but you can screenshot a picture of coding you have done, crop it so it only shows the code (if desired), and put it in.
Thank you scratchykit5743. I see you like Raspberry PI coding. Are you on a site? I have been working on Arduino Uno mostly but have used Raspberry pi 3.
I greatly appreciate your comments and time.
mathematicteacher
Teacher
7 posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

move () steps
turn cw () degrees
move () steps

Fupicat wrote:

Scratch doesn't have this funcionality. You'd have to screenshot the blocks and paste the image into your document.

Thank you for your reply. I greatly appreciate your comments and time.
SausageMcSauce
Scratcher
1000+ posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

mathematicteacher wrote:

scratchykit5743 wrote:

as an experienced scratcher, as i know, you cannot do it via a file thing, but you can screenshot a picture of coding you have done, crop it so it only shows the code (if desired), and put it in.
Thank you scratchykit5743. I see you like Raspberry PI coding. Are you on a site? I have been working on Arduino Uno mostly but have used Raspberry pi 3.
I greatly appreciate your comments and time.

That was part of the poster's signature, not part of the post.

Last edited by SausageMcSauce (April 19, 2020 09:39:02)

yelmongui
New Scratcher
1 post

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

My code is really long and when i took multiple screenshots to put in a google slide it was horrible quality and couldn't read any of it. Anyone have any tips to get all the code in a single pdf?
Fupicat
Scratcher
1000+ posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

yelmongui wrote:

My code is really long and when i took multiple screenshots to put in a google slide it was horrible quality and couldn't read any of it. Anyone have any tips to get all the code in a single pdf?
There is another option, but you have to type in all your code manually: the scratchblock plugin website.
You can use it by typing in all the blocks you want with scratchblock syntax.
Then you can export everything as a PNG, or, if you want the highest possible quality, export as SVG.
If you are not familiar with scratchblock syntax, it looks like this:
define dance (speed)
set [dist v] to ((speed) * (distance to [mouse-pointer v]))
repeat until <(timer) > [10]>
move (dist) steps
next costume
play note (pick random (40) to (100)) for (0.5) beats
say [Wow! Scratch scripts on the Wiki!]
end
--Explosion--
Scratcher
1000+ posts

How can I get Scratch code into a pdf? I teach coding, I want to share my coding to student in a Word or Adobe document.

Fupicat wrote:

yelmongui wrote:

My code is really long and when i took multiple screenshots to put in a google slide it was horrible quality and couldn't read any of it. Anyone have any tips to get all the code in a single pdf?
There is another option, but you have to type in all your code manually: the scratchblock plugin website.
You can use it by typing in all the blocks you want with scratchblock syntax.
Then you can export everything as a PNG, or, if you want the highest possible quality, export as SVG.
If you are not familiar with scratchblock syntax, it looks like this:
define dance (speed)
set [dist v] to ((speed) * (distance to [mouse-pointer v]))
repeat until <(timer) > [10]>
move (dist) steps
next costume
play note (pick random (40) to (100)) for (0.5) beats
say [Wow! Scratch scripts on the Wiki!]
end
You can also use the scratchblocks converter there which converts a scratch project to scratchblocks, however this only works with scratch 2.0 and earlier projects.

Powered by DjangoBB