How to make a new block [open Browser with URL []]

Your browser needs java to view projects. Click here to install Java.

user_icon billyedward shared it 7 months, 2 weeks ago
user_icon Based on billyedward's project
267 views, 2 taggers, 8 people love it, 42 downloads, in 1 gallery
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
ChazxChasr ChazxChasr 3 days, 12 hours ago

you wont go to jail.

billyedward billyedward 12 hours, 57 minutes ago

I don't plan to.

ChazxChasr ChazxChasr 3 days, 12 hours ago

how do i set the size to 10,000?

billyedward billyedward 12 hours, 57 minutes ago

using the set size to () block

ChazxChasr ChazxChasr 3 days, 12 hours ago

wats an extenaion? is it that thing like a url at the top?

billyedward billyedward 12 hours, 58 minutes ago

It is the part that follows the dot in a filename; and it defines the type. Ie: word files end in .doc, scratch files end in .sb

ChazxChasr ChazxChasr 3 days, 12 hours ago

what do you mean by "open the browser with URL []] in it." how do I do that

billyedward billyedward 12 hours, 59 minutes ago

you type a URL into the box, and the block will, well, open a browser onto that webpage.

olls olls 1 week, 4 days ago

were do you get lots of text?

billyedward billyedward 1 week, 3 days ago

Take any file. (A long one, preferably, and that is .doc, .exe, .xls, .ppt, or any image or sound file). Change the extenaion to .html. Now double-click it: A whole bunch of random stuff will show in your browser. Hit CTRL+A, then CTRL+C, and it is copied, ready for pasting. Now you can change the extension of that file back to what it was.

(view all replies)
ChazxChasr ChazxChasr 1 week, 5 days ago

Its not working. I took a move block out, typed random things and crazy things, and "the red box" did not come up. im using 1.4 . why isnt it working?

billyedward billyedward 1 week, 5 days ago

The one described is a 1.3 only bug. The 1.4 one I've found is to make a 1 pixel costume, and set the size to 10,000. Then, switch it to a big costume.

(view all replies)
Crusher44 Crusher44 1 month, 2 weeks ago

would you go to jail for hacking for blocks?

billyedward billyedward 1 month, 2 weeks ago

No. Scratch is considered open source. As long as you give credit, but do not infringe copyright, you're fine.

andy8515 andy8515 2 months, 2 weeks ago

So Tornatajo was true...

billyedward billyedward 2 months, 2 weeks ago

???

DarthPickley DarthPickley 2 months, 2 weeks ago

in general, I guess I am mostly thinking of making it sort of like Javascript, except for easier, sort of like having lots of different properties, and stuff, but in Javascript, it isn't designed to be like "When Flag clicked:{ forever { }", like for creating an actual program. I haven't programmed in Java yet, though... I want to try that out...

chazmaniandevel chazmaniandevel 2 months, 2 weeks ago

I'm trying Java Script too but I'm not very good at it because I'm used to C. Any suggestions?

(view all replies)
billyedward billyedward 2 months, 2 weeks ago

Yes, I am getting many of my ideas from other programming languages, javascript as one. I am also working on a javascript player.

(view all replies)
DarthPickley DarthPickley 2 months, 2 weeks ago

and for color vars... {set [color1^] to red:(0) green:(50) blue:(80)} {set [color1^] to color:(50) brightness:(40) greyness:(20)} and stuff like that... ([red^] of [color1^]) <touching color (color1)> etc. that would be cool.

DarthPickley DarthPickley 2 months, 2 weeks ago

you are going to add a stretch effect, right? and a "greyness effect" and "pen greynes" (aka opposite of saturation)... also I think most of the things in Jens' BYOB are good but I want more blocks in the image effects category... including color variables {set [color1^] to grab x:(0) y:(0) of [screen^]}

billyedward billyedward 2 months, 2 weeks ago

Yes, these are in high demand. I am working on a function tab (with scripts, costumes, and sounds) which will add BYOB type functionality.

Astrosurf Astrosurf 2 months, 4 weeks ago

I don't know what i did... i try to open another scratch window and a menu says "squeak cannot locate the changes file named scratch.changes. please check that the file is named properly and is in the same directory as the image." and the window is black. Help! i am pretty much lost about the whole source code/hacking thing...

the_programmer the_programmer 2 months, 3 weeks ago

Try this: Left-click on the scratch icon (the one that opens scratch), and click on properties. Then, in 'target' Paste this in ""C:\Program Files\Scratch\Scratch.exe" "Bureau:\Rowan\scratch.image". If all else fails, Try downloading scratch again.

the_programmer the_programmer 2 months, 4 weeks ago

Is it possible for a <sound [] is heard>? It would be cool!

billyedward billyedward 2 months, 2 weeks ago

Very possible. I don't quite see how it would be very useful, though. I'll make it if anyone else thinks I should!

(view all replies)
samurai768 samurai768 3 months, 1 week ago

Maybe you should work for scratch, and help them make better versions of scratch!

billyedward billyedward 2 months, 2 weeks ago

Well that is something I would like to do... However, they seem not to be looking for new members right now.

Paddle2See Paddle2See* 3 months, 1 week ago

Very cool stuff! Amazing!

Markyparky Markyparky 3 months, 3 weeks ago

Hey! you should make a <If [] spoken> which senses if you say a certain word through you microphone!

billyedward billyedward 2 months, 2 weeks ago

That would be cool... however, because of how it will have to work, it may slow streak down. I will look into it.

Leer10 Leer10 3 months, 2 weeks ago

You would need a voice recognizer though...

(view all replies)
TimeFreeze TimeFreeze 3 months, 3 weeks ago

oh... And I'm pretty sure this method doesn't work for 1.4...

billyedward billyedward 2 months, 2 weeks ago

I can't say I've tested it, but it should... I will test it now.

(view all replies)
TimeFreeze TimeFreeze 3 months, 3 weeks ago

But cool new block :)

TimeFreeze TimeFreeze 3 months, 3 weeks ago

oh come on! You copied my way to get into the source code! Or not... But I came up with that idea first :(. I have a project that was shared 8 months ago with that idea.

billyedward billyedward 2 months, 2 weeks ago

Actually, I got it from Jens' project... But great minds think alike, I guess!

(view all replies)
rubiks_cube_guy238 rubiks_cube_guy238 4 months ago

I can't get it to run a program, and I don't use a mac.

billyedward billyedward 4 months ago

This only works with scratchplugin.dll... Do you have this? Also, will it open a website? And finally, which version of windows are you runnning? I should be able to determine the problem given the above.

(view all replies)
terminator68 terminator68 4 months, 2 weeks ago

And is this done in Streak, or scratch?

billyedward billyedward 4 months, 1 week ago

This feature is included in Streak 0.2, which is not out yet. You can follow the steps to add it to streak 0.1, or to any version of scratch.

terminator68 terminator68 4 months, 2 weeks ago

Um,could you make a tutorial for scratch 1.4?

billyedward billyedward 4 months, 1 week ago

It is exactly the same process... except that you need to find a new way to get the red walkback box.

terminator68 terminator68 4 months, 2 weeks ago

I put quite some stuff in the first section, but then, it froze, and CLOSED itself!!

billyedward billyedward 4 months, 1 week ago

Was it exactly what was shown in the project? Even if it wasn't, that shouldn't happen... But I'll need to know more to try and help you.

terminator68 terminator68 4 months, 2 weeks ago

Does it make a new window with the URL, or does it make a new tab?

billyedward billyedward 4 months, 1 week ago

It depends on your browser. With Google chrome, it makes a new window if there are none open already, and a new tab otherwise.

(view all replies)
mathematics mathematics 4 months, 2 weeks ago

Does this work in Scratch 1.4?

billyedward billyedward 4 months, 2 weeks ago

Yes. Of course, you will have to do it separately again to the 1.4 image, but that's no real problem.

All4one All4one 4 months, 3 weeks ago

C'mon, c'mon, please don't hack.

billyedward billyedward 4 months, 3 weeks ago

The team released the open-source version for that purpose- so as others could make their ow scratch n versions, too!

(view all replies)
Cerebrus Cerebrus 5 months, 2 weeks ago

I can't figure out ow to get the URL block

billyedward billyedward 5 months, 2 weeks ago

to save, you right click on the text in the browser (you will see a red box around it) and click 'accept.'

(view all replies)
billyedward billyedward 5 months, 2 weeks ago

What do you mean by 'to get'? If you put the class definition where it was in the tutorial, it will be at the bottom of sensing.

(view all replies)
AnimationMan AnimationMan 5 months, 3 weeks ago

I don't get it...

billyedward billyedward 5 months, 2 weeks ago

What part stumps you?

(view all replies)
mathematics mathematics 5 months, 3 weeks ago

I made it! but ... how to save?

billyedward billyedward 5 months, 3 weeks ago

click the gray background, then on 'save.'

the_programmer the_programmer 5 months, 4 weeks ago

If Xaviaz gets enought love-its, he will make the game, so love-it! (link to project)

TheoMarr TheoMarr 5 months, 2 weeks ago

He's not intrested

the_programmer the_programmer 6 months, 1 week ago

here's an idea, sure positive () and sure negative ()!

billyedward billyedward 6 months, 1 week ago

I've decided to incorporate the negation function into the unary function block of Streak v(1.3)0.2. Thanks for the idea.

the_programmer the_programmer 7 months ago

uuuummmm... THEY ALLREADY HAVE THE SCRIPT FO POINT TOWARDS X Y!!!!! WHY HAVENT THEY DONE IT ALLREADY?!?!?! P.S. the script is in "PointToXy" I think...

billyedward billyedward 7 months ago

Ps. it is pointToX:y:

(view all replies)
billyedward billyedward 7 months ago

yes, I know. That is why it is so easy to just make a block to access this function!

mina mina 7 months, 2 weeks ago

Thanks! I'll try it out (on a mac).

billyedward billyedward 5 months, 3 weeks ago

Any news?

the_programmer the_programmer 7 months, 2 weeks ago

hey! I've been waiting 6 and a half hours, whers my reply?

billyedward billyedward 7 months, 2 weeks ago

P.s. We must live in different time zones, because I was in school/sleeping when both comments were left! (and I am NOT a morning person, so I don't check comments in the morning).

(view all replies)
billyedward billyedward 7 months, 2 weeks ago

It is right below.

the_programmer the_programmer 7 months, 2 weeks ago

In a comment, could you show the function of a block that does 0-'number'?

billyedward billyedward 7 months ago

I have been thinking about that block... Personally I think it is rather redundant, but here's what I'll do: Sometime down the road (like, the release of v0.2 or 0.3) I will add it to the unary function block. so as you would use ([negation] of (###)).

(view all replies)
billyedward billyedward 7 months, 2 weeks ago

You can also use ((###)*(-1)).

(view all replies)
billyedward billyedward 7 months, 2 weeks ago

Do you mean 0 minus a number? If that is what you mean, than the function of a block to do this would be, in the class side: ('- %n' #r #zeroMinus:). The function would look like: <1st line> zeroMinus: t1 <2nd line> ^ t1 negated. <end> This tells scratch to report the negation of the number. However, I find ((0)-(###)) to work just fine for my purposes.

(view all replies)
the_programmer the_programmer 7 months, 2 weeks ago

thanks you are AWESOME!!! I hope the programming language comes soon!

billyedward billyedward 5 months, 3 weeks ago

It did... yesterday was the official launch day of v(1.3.1)0.1.

(view all replies)
Please Wait...