Discuss Scratch
- Discussion Forums
- » Suggestions
- » Copy to clipboard block
- Techno-CAT
-
Scratcher
1000+ posts
Copy to clipboard block
copy [] to clipboard
You can put text in there, you can put variables in there, you can put lists in there. It'd be a great idea especially for save codes, and useful for those on mobile and tablet who don't have access to keyboard copy and paste functions.
Yes, you can hold down on variable output, tap select all, hold down again and press select all and copy, but this inadvertedly picks up the sitemap, even when in fullscreen.
Last edited by Techno-CAT (April 8, 2021 08:55:58)
- PATSATDAT
-
Scratcher
1000+ posts
Copy to clipboard block
I made your scratchblocks better also there should be a cooldown becausecopy [] to clipboard ::control
You can put text in there, you can put variables in there, you can put lists in there. It'd be a great idea especially for save codes, and useful for those on mobile and tablet who don't have access to keyboard copy and paste functions.
Yes, you can hold down on variable output, tap select all, hold down again and press select all and copy, but this inadvertedly picks up the sitemap, even when in fullscreen.
forever
copy [] to clipboard ::control
end
- mybearworld
-
Scratcher
1000+ posts
Copy to clipboard block
copy [illegal things] to clipboard::control
Last edited by mybearworld (April 8, 2021 10:08:30)
- PATSATDAT
-
Scratcher
1000+ posts
Copy to clipboard block
removed
Last edited by PATSATDAT (April 8, 2021 10:13:08)
- Techno-CAT
-
Scratcher
1000+ posts
Copy to clipboard block
Right, have the user confirm they would like to copy to clip. Same could be said for forum links, profile pictures, forum posts, upload image in editor, etc.copy [illegal things] to clipboard::control
- banana439monkey
-
Scratcher
1000+ posts
Copy to clipboard block
err, that can result in inadvertent things being added, such as ads and other fun stuff. it can also be annoying to paste what you were expecting to be an actual piece of text/image and it's some random person's creation
Banana
Banana
- Chiroyce
-
Scratcher
1000+ posts
Copy to clipboard block
There will be a popup sayingcopy [illegal things] to clipboard::control
Do you want to copy “text” to your clipboard? (Yes / No / Report!)
You should also be able to report it if someone tries copying something bad to your clipboard, so the text and the project id will be sent to the ST.
- Maximouse
-
Scratcher
1000+ posts
Copy to clipboard block
Max character limit should be 2000That's smaller than even many save codes. Maybe 200,000?
- Chiroyce
-
Scratcher
1000+ posts
Copy to clipboard block
Max character limit should be 2000Why a max limit so small? The Clipboard isn't stored on RAM
- wvj
-
Scratcher
1000+ posts
Copy to clipboard block
Yes, that would be better.Max character limit should be 2000That's smaller than even many save codes. Maybe 200,000?
copy [] to clipboard
This block would be too long for very big level save codes.
- Techno-CAT
-
Scratcher
1000+ posts
Copy to clipboard block
HenceYes, that would be better.Max character limit should be 2000That's smaller than even many save codes. Maybe 200,000?copy [] to clipboard
This block would be too long for very big level save codes.
copy (item (1 v) of [list v] :: list) to clipboard
where item 1 of list is the save code
- Socialix
-
Scratcher
1000+ posts
Copy to clipboard block
If JavaScript has the power of accessing the current copied thing, there should be a
These blocks should be in Sensing too.
However, this could be abused to clear the clipboard history (a feature in Windows 10) so the user can't recover their clipboard history, since the clipboard history has a limit:
(current copied text ::sensing reporter)reporter block. If the current copied thing is an image, it outputs blank.
These blocks should be in Sensing too.
However, this could be abused to clear the clipboard history (a feature in Windows 10) so the user can't recover their clipboard history, since the clipboard history has a limit:
when green flag clicked
reset timer
set [clipboard text v] to (current copied text ::sensing reporter)
forever
set [varTimer v] to ((timer) + (0.1))
copy [LIKE, FAV, FOLLOW!!! OR ELSE YOU ARE NOT PLEASED WITH GOOD LUCK!!] to clipboard ::sensing
end
when [timer v] > (varTimer)
if <(clipboard text) = []> then
copy [AN IMAGE?????? OR NOTHING?????? USE YOUR CLIPBOARD FOR TEXT!!!!!] to clipboard ::sensing
else
copy (clipboard text) to clipboard ::sensing
end
Last edited by Socialix (April 27, 2021 08:24:11)
- Chiroyce
-
Scratcher
1000+ posts
Copy to clipboard block
If JavaScript has the power of accessing the current copied thing, there should be aNo, privacy issues. People might've copied personal data onto the local clipboard when scratch can access this and encode it into a cloud variable.(current copied text ::sensing reporter)reporter block. If the current copied thing is an image, it outputs blank.
- Socialix
-
Scratcher
1000+ posts
Copy to clipboard block
Oh, right. It was a bad idea to suggest the reporter.If JavaScript has the power of accessing the current copied thing, there should be aNo, privacy issues. People might've copied personal data onto the local clipboard when scratch can access this and encode it into a cloud variable.(current copied text ::sensing reporter)reporter block. If the current copied thing is an image, it outputs blank.
- Maximouse
-
Scratcher
1000+ posts
Copy to clipboard block
If isn't a bad idea if Scratch asks the user for permission every time the project wants to access the clipboard.Oh, right. It was a bad idea to suggest the reporter.If JavaScript has the power of accessing the current copied thing, there should be aNo, privacy issues. People might've copied personal data onto the local clipboard when scratch can access this and encode it into a cloud variable.(current copied text ::sensing reporter)reporter block. If the current copied thing is an image, it outputs blank.
- PATSATDAT
-
Scratcher
1000+ posts
Copy to clipboard block
what happens if the clipboard block is in a forever loop?If isn't a bad idea if Scratch asks the user for permission every time the project wants to access the clipboard.Oh, right. It was a bad idea to suggest the reporter.If JavaScript has the power of accessing the current copied thing, there should be aNo, privacy issues. People might've copied personal data onto the local clipboard when scratch can access this and encode it into a cloud variable.(current copied text ::sensing reporter)reporter block. If the current copied thing is an image, it outputs blank.
- Maximouse
-
Scratcher
1000+ posts
Copy to clipboard block
what happens if the clipboard block is in a forever loop?This isn't a problem if the popup doesn't block interaction with the page.
- dbates314
-
Scratcher
62 posts
Copy to clipboard block
no support, some people keep important things on their clipboard
Last edited by dbates314 (April 27, 2021 17:19:35)
- Discussion Forums
- » Suggestions
-
» Copy to clipboard block








