TypeBlocking doesnt always produce a block

Adding back/forward slashes or hyphens also does the job for me.

Im going back to the basics, as i jumped into AI2 with a specific need and didnt learn the fundamentals.

App Inventor 2 Book: Create Your Own Android Apps sa far has been a good fast-paced tutorial and I've picked up a lot of texblocking teqniques within it so far.

can anyone tell me
after I TextBlock a Procedure into existence, can i keystroke into renaming it, without pointing the mouse?

Unfortunately, it doesn't seem like you can.

However, I did look through the website's HTML, and each block has an element called blocklyText (which is the editable name part).

<tspan><text class="blocklyText" y="12.5" text-anchor="start" x="0">=<tspan style="fill: rgb(63, 113, 181);"> ▾</tspan></text>

Perhaps you could request focus on the said element through a TamperMonkey script.

1 Like

that way above my paygrade lol, but it does give me insight and ideas for how to solve other issues

particularly the math drawer, ive not been able to get most of the operators to populate.

im still looking for typeblocking tips

a double quote will produce a text block that can easily be edited, typing text will make an empty one. If I need anything other than a blank it has been faster to start with a double quote.

numbers still give grief especially 1 and 10, the options are not easy to narrow down, unless you know the menu by heart, I guess.

does copy and paste blocks still work? I cannot find an option for it.

Either right click mouse and duplicate or use Ctrl+C and Ctrl+V

animation32

@dora_paz
I'm looking to paste the new block on the other side of the world... like scrolling down past 100 blocks then paste

backpacking it does the job but takes a few steps... still faster than dragging it down multiple lengths of the screen

on this note, is there a way to drag a block far, easier than drag, drop, scroll...repeat

a single quote will save you a keystroke...:wink:

1 Like

@TIMAI2 half the time a single quote give me no block and I have to do it again

Same with number 2, number 3 is better, number 5 almost always works 1 NEVER works lol, he is just lazy (or too tired from doing ALL the work, as the case may be)

We'll need to look into whether fixing this is possible. We use Google's Closure Library and its autocomplete object to perform the filtering. I don't know that we can have enough control over the affinity of the results to pop the numeric value up to the top. It seems like it should be an option to prioritize exact matches but off the top of my head I don't know.

for number 1, you can use a space first, then type 1 (or 10)

Another work around:
one
one

preceding 0 narrows to single result, and I cannot see a reason that is not sufficient
1 and to narrow selection but exact match is still at bottom, even with preceding space.



@ABG nice work! but still work, and I'm lazy lol

Great illustration ! I want o have skills like that when I grow up :stuck_out_tongue:

I've logged this as an issue. Maybe a prospective GSOC student will pick it up.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.