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

#1 2009-11-16 19:58:32

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Sensing the Backspace key

Scratch can sense every letter, number on the keyboard, but it's missing a few keys that are essential for projects that use text without the ask key, such as the newest project chosen by the whiz, can't delete text without the backspace/delete button, it'd be usefull if Scratch could sense the key


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

#2 2009-11-16 19:59:05

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: Sensing the Backspace key

I wish it had all sorts of other keys.


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

#3 2009-11-16 23:03:41

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Sensing the Backspace key

enter, control, alt, tab, insert...


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#4 2009-11-16 23:47:51

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Sensing the Backspace key

I was a bit more ambitious... here's my suggestion More for the [When ___ key pressed] and <if key ___ pressed> blocks.

My topic post (here so I don't have to explain everything again):

I'd normally say that this isn't really neccessary (you'd think "When are you going to need the semicolon?"), but there are some uses for it.

1. Word processors. In real word processors, you push keys and the characters appear. But the only things you can do on Scratch for that are the letters, numbers, and space. Very lacking for Scratch word processors (and the Backspace is a button you click!).

2. Learn-to-type programs. You won't be able to use the Shift key, and only use the  letters, numbers, and space. I know that you could use the ask block, but it isn't the same. And Scratch can't sense capitalized letters from lowercase letters with the ask block.

3. Programming languages. Instead of using the chatbar to enter in code, you could use the block. And it looks nicer and it's more realistic.

Not much, but it would really be nice.

What do I want added? Well, all the characters I want available are:

"abcdefghijklmnopqrstuvqxyz1234567890!@#$%^&*()`~-_=+[{]}\|;:'",<.>/?  and Enter"

Last edited by Jonathanpb (2009-11-16 23:48:23)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#5 2009-11-17 00:02:40

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Sensing the Backspace key

I agree. We should have many more keys than what's availible,


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#6 2009-11-17 01:29:00

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Sensing the Backspace key

As usual. Suggested many times. Supported many times...  tongue


Hai.

Offline

 

#7 2009-11-17 13:10:21

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Sensing the Backspace key

I think this many keys would get confusing in a pop-up menu...maybe there should be a couple of options for selecting a key in a 'when key pressed' hat or 'is key pressed' block; a way to capture a keystroke (ie, 'when [ctrl+alt+delete] is pressed') and a popup, similar to the note selector on the sound blocks, that shows a virtual keyboard and allows you to select a key. It would also be nice if we could drop a reporter into these blocks (ie 'when (variable) is pressed') that could contain a key name or an ASCII keycode.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#8 2009-11-17 14:55:43

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Sensing the Backspace key

I think that there should definately be all of the ASCII characters. This is because alt keys would be a bit overboard.


http://i.imgur.com/WBkM2QQ.png

Offline

 

#9 2009-11-20 20:37:53

illusionist
Retired Community Moderator
Registered: 2008-07-02
Posts: 1000+

Re: Sensing the Backspace key

Shift, and Backspace would be great additions.  smile


http://i.imgur.com/8LX1NrV.png

Offline

 

#10 2009-11-20 20:52:51

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Sensing the Backspace key

Ctrl/command too!


Hai.

Offline

 

#11 2009-11-20 22:54:11

scratch_yoshi
Scratcher
Registered: 2009-06-12
Posts: 1000+

Re: Sensing the Backspace key

fullmoon wrote:

It would also be nice if we could drop a reporter into these blocks (ie 'when (variable) is pressed') that could contain a key name or an ASCII keycode.

Yeah, a person may want to make a game with customizable controls. I agree with you.


Retired from Scratch, but just the language itself. Not the forums.

Offline

 

#12 2009-11-20 23:43:05

boinoinoi
Scratcher
Registered: 2007-06-05
Posts: 500+

Re: Sensing the Backspace key

Really the only other keys we'd need would be:

` - = [ ] \ ; ' , . / and shift.

Ctrl and Alt aren't on all computers, and all the other standard symbols can then be done with:

When [ key ] key pressed
If < shift > key pressed

and

< < key [ key ] pressed > and < key [ shift ] pressed > >


http://i30.tinypic.com/335fpxx.jpg
"Boinoinoi is the only person on the forums that I expect to be wearing a monocle all the time behind that screen, so I'm sure being as classy as he is, he knows what he's doing"        http://myfastcounter.com/count.php?c_style=88&amp;id=1284259111http://myfastcounter.com/count.php?c_style=88&amp;id=1286068127

Offline

 

Board footer