Discuss Scratch
- benjabob
-
26 posts
Support backspace key
In the sensing section, there is a “key pressed” block, and backspace is not on the list of keys. I am making an email system, and I am going to impose a character limit on messages, maybe 250 or 500, and a character counter would be nice so that people could know how many characters their messages contain before they get an error message and lose their message. However, a character counter would be very impractical without a backspace key. Supporting the backspace key would be very easy and I am surprised it is not already supported!
<key [backspace] pressed?>
- DaSpudLord
-
1000+ posts
Support backspace key
Support. However, on Mac, the backspace key is actually called the delete key, so I'm not sure if that would cause any problems.
- alexphan
-
1000+ posts
Support backspace key
I support for
<key [backspace v] pressed?>for Windows and
<key [delete v] pressed?>for Mac.
- benjabob
-
26 posts
Support backspace key
I see the problem… I don't think that would be too hard to fix.
“If live gives you lemons, KEEP THEM, because hey, free lemons!”
<key [delete/backspace] pressed?>
“If live gives you lemons, KEEP THEM, because hey, free lemons!”
- Sheep_maker
-
1000+ posts
Support backspace key
Windows users (like me) have a delete button on their keyboard (on the Apple big keyboard they have a second delete button that does the same thing) which acts as a “forward-space.” I see the problem… I don't think that would be too hard to fix.<key [delete/backspace] pressed?>
“If live gives you lemons, KEEP THEM, because hey, free lemons!”
I think we have to assume that the user is using Windows (like how everyone is doing it) and maybe have an option to make the keys display as Apple. Or maybe the special key names could only apply to the Apple version of the offline editor.
And support for that and enter, another issue between Windows and Macs.
- benjabob
-
26 posts
Support backspace key
Windows users (like me) have a delete button on their keyboard (on the Apple big keyboard they have a second delete button that does the same thing) which acts as a “forward-space.” I see the problem… I don't think that would be too hard to fix.<key [delete/backspace] pressed?>
“If live gives you lemons, KEEP THEM, because hey, free lemons!”
I think we have to assume that the user is using Windows (like how everyone is doing it) and maybe have an option to make the keys display as Apple. Or maybe the special key names could only apply to the Apple version of the offline editor.
And support for that and enter, another issue between Windows and Macs.
To be honest I don't think that differences between Windows and Macs would matter all that much. I think JavaScript process backspace on Windows and delete on Macs as the same thing. I also don't think the enter thing would be a problem either. When I press return while inputting in Scratch on a mac, it stops the input, just like it does while pressing enter on a PC.
- Sheep_maker
-
1000+ posts
Support backspace key
The keys are considered the same, but how they are called is different (this is why “space” doesn't come up as an actual space in the dropdown, Scratch gives the name of the character if the user can't write it on paper).…
To be honest I don't think that differences between Windows and Macs would matter all that much. I think JavaScript process backspace on Windows and delete on Macs as the same thing. I also don't think the enter thing would be a problem either. When I press return while inputting in Scratch on a mac, it stops the input, just like it does while pressing enter on a PC.
- Ninkancho
-
500+ posts
Support backspace key
I've already discussed how non-standard Apple's insistence on the term “delete” for backspace is, so just call that “backspace”. “Enter” and “return” are more ambiguous, so using one or the other depending on the system could work as long as the terms always do the same thing.
- chexbox
-
100+ posts
Support backspace key
Use this :
<key [backspace v] pressed?>It is more often used. In the “Tips” help menu, there could be some sort of disclaimer. “Notice: on some keyboards, this key is labelled a ‘delete’ ”
- FloatingMuffins
-
1000+ posts
Support backspace key
Support. Can't see anything wrong with this.
- NewSitckiman001
-
30 posts
Support backspace key
How is that going to help Support. Can't see anything wrong with this.
- LuckyLucky7
-
1000+ posts
Support backspace key
Going to help with what? Scratch? This suggestion would add support for the backspace(on Windows) key and would create infinite possibilities for new kinds of projects.How is that going to help Support. Can't see anything wrong with this.
- DarthVader4Life
-
1000+ posts
Support backspace key
In the sensing section, there is a “key pressed” block, and backspace is not on the list of keys. I am making an email system, and I am going to impose a character limit on messages, maybe 250 or 500, and a character counter would be nice so that people could know how many characters their messages contain before they get an error message and lose their message. However, a character counter would be very impractical without a backspace key. Supporting the backspace key would be very easy and I am surprised it is not already supported!u need backspace to delete characters. I'm thinking it would activate the block every time u pressed backspace. if that happens, it might start some code and/or not do what the backspace key is supposed to.<key [backspace] pressed?>
Last edited by DarthVader4Life (Aug. 9, 2019 15:50:44)
- adsuri
-
1000+ posts
Support backspace key
If you've clicked out of the project or typing an answer, it won't activate as with all the keys.u need backspace to delete characters. I'm thinking it would activate the block every time u pressed backspace. if that happens, it might start some code and/or not do what the backspace key is supposed to. In the sensing section, there is a “key pressed” block, and backspace is not on the list of keys. I am making an email system, and I am going to impose a character limit on messages, maybe 250 or 500, and a character counter would be nice so that people could know how many characters their messages contain before they get an error message and lose their message. However, a character counter would be very impractical without a backspace key. Supporting the backspace key would be very easy and I am surprised it is not already supported!<key [backspace] pressed?>
Last edited by adsuri (Aug. 9, 2019 01:13:12)
- DarthVader4Life
-
1000+ posts
Support backspace key
Never mind…. If you've clicked out of the project or typing an answer, it won't activate as with all the keys.
Last edited by DarthVader4Life (May 21, 2021 01:16:51)
- MrFluffyPenguins
-
1000+ posts
Support backspace key
Support, but i think this is a duplicate. I dont have link.
- Ampara2
-
5 posts
Support backspace key
Support. I think keys like backspace, enter, and shift should all already be in scratch, they are such important inputs.
- efils
-
70 posts
Support backspace key
100% support. I need this for a terminal engine for a text adventure. One complication is that apparently, backspace in 3.0 deletes the last block you have clicked (which I think is stupid) unless you click anywhere on the script screen that is not a block (it even deletes if you're in fullscreen).
It can easily be fixed by removing that “feature,” though.
I think it would look like this:
It can easily be fixed by removing that “feature,” though.
I think it would look like this:
<key [backspace v] pressed?>
when [backspace v] key pressed
- mmnagelia
-
100+ posts
Support backspace key
Support. I need a backspace key for my OS I'm making, and I need a word processor. For that, I need the backspace, tab, enter, quotes, brackets, etc. keys.