Basic "Hello World" Snippet ; Not For Use Purposes

By Back2Life on Jan 11, 2011

Hello all Hawkee citizens. It is I, here to bring you a snippet of a programming language called AppleScript.

This is for display purposes only and should be used only to get people into the hang of using AppleScript.

display dialog "Hello World!" 
-- Gives you a simple "Hello World!" box with an OK and Cancel buttons.
-- or
display alert "Hello World!"  
-- Gives you a windows with only an OK button.
-- or
say "Hello World!" 
-- Ah ha, this is where it gets fun. Using say means that it will not display text, but it will speak them for you. Sort of like Microsoft Sam's function in Windows.
-- and
-- Lines starting with two hyphens are simply comments to be made in the script, they do not effect anything at all.

Comments

Sign in to comment.
Hawkee   -  Jan 12, 2011

Back2Life, it would be good if you added some code of your own. Adding comments doesn't mean you changed the code itself. I'm sure you can make some very simple modifications to make everybody happy and to give this some meaning.

 Respond  
sunslayer   -  Jan 11, 2011

imo atleast its not mirc, in the last week there have been like 3 or 4 different pass gens. ripped or not diversity is nice...

 Respond  
Back2Life   -  Jan 11, 2011

I see what you did there! :D

 Respond  
Jethro   -  Jan 11, 2011

Back2life wrote:> I bet you want it. It's mushroom this time. <:You need to go easy on the mushrooms...:P

 Respond  
Breanna   -  Jan 11, 2011

LOL

 Respond  
Back2Life   -  Jan 11, 2011

:< I know.

 Respond  
napa182   -  Jan 11, 2011

you are a lost cause....enough said.

 Respond  
Back2Life   -  Jan 11, 2011

It says 25% of it must be mine, and it is. I edited the little -- comments which make up a fair ammount of the snippet, napa. =)

 Respond  
napa182   -  Jan 11, 2011

adding comments in it does not mean you are following hawkees rules
try making 25% of the code ur self an not the comments.

 Respond  
Back2Life   -  Jan 11, 2011

Napa, how do you not realize I am only trying to make no sense at all to avoid taking criticism and offenses? There is basically no way to explain this in another way, but I did steal this and made it follow Hawkee's guidelines. I admit it, now I won't discuss this any more. :X

 Respond  
napa182   -  Jan 11, 2011

Back2Life Said:

n all seriousness, it was stolen from Wikipedia, and I'm a thief. But I edited it to follow Hawkee's rules, maybe I'm a lazy, annoying idiot, eh?
um you said it not I

 Respond  
Back2Life   -  Jan 11, 2011

Exactly, Napa. I bet you want it. It's mushroom this time. <:

In all seriousness, it was stolen from Wikipedia, and I'm a thief. But I edited it to follow Hawkee's rules, maybe I'm a lazy, annoying idiot, eh?

 Respond  
napa182   -  Jan 11, 2011

Back2Life Said:

Napa, I'm having pizza for dinner tonight.

um lolwut...

 Respond  
Back2Life   -  Jan 11, 2011

Napa, I'm having pizza for dinner tonight.

 Respond  
Breanna   -  Jan 11, 2011

When you rip it off something your suppost to put it in the description to give credit to them

 Respond  
napa182   -  Jan 11, 2011

Oh My well then you added ur own comments to it so it sure makes it ur lil bit of code.

ffs ur thinking is just sad... enough said.

 Respond  
Back2Life   -  Jan 11, 2011

I added my own comments to it, it is at least 25% mine I would say. There is nothing wrong with it. :>

 Respond  
napa182   -  Jan 11, 2011

napa182 Said:
[quote]lmao @ you added ur own comments to it....

So you thought you would start it off by adding a ripped snippet from
Wikipedia? =/[/quote]
Back2Life Said:

Sure, why not?

um just sad....

 Respond  
Back2Life   -  Jan 11, 2011

kkk <:

lmao @ you added ur own comments to it....

So you thought you would start it off by adding a ripped snippet from
Wikipedia? =/
Sure, why not?

 Respond  
napa182   -  Jan 11, 2011

^^^^^^^^^^^^^^LMFAO^^^^^^^^^^^^^^^^^

 Respond  
Jethro   -  Jan 11, 2011

Ok then, fair enough...Image

 Respond  
napa182   -  Jan 11, 2011

lmao @ you added ur own comments to it....

So you thought you would start it off by adding a ripped snippet from
Wikipedia? =/

 Respond  
Back2Life   -  Jan 11, 2011

Jethro_, haha. I know it has no use in Windows, and I know I copied most of it from Wikipedia, but I did add my own comments so some of it is mine. This really isn't to be used, but to just teach basic commands and get the feel of it. Wikipedia does a better job with more scripts, I know, bust just thought I would start off the AppleScript section with something.

And Jethro_, not everyone uses Windows, and it is pretty obvious it won't be of use since it is called AppleScript. Not everyone on Hawkee is using Windows. I use both operating systems, and Ubuntu at times. Just saying.

 Respond  
Jethro   -  Jan 11, 2011

macs-rock, the above example can be found at wikipedia.com

 Respond  
macs-rock   -  Jan 11, 2011

this is a cool script thanks :)

 Respond  
Jethro   -  Jan 11, 2011

This has no use for people who use Windows.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.