Go Back   Gaming Gutter > Non-Gaming > Programming > Tutorials


Tutorials - Looking for programming tutorials to increase your knowledge? Do so here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» GG Stuff

Follow us on Twitter!

Get the GG toolbar today (for firefox only)
» Recent Threads
Go to first new post I am worth: 116,039,118...
03-19-2010 10:12 AM
Last post by Tsuriken
Today 12:28 PM
1 Replies, 33 Views
Go to first new post charging back a neopoint...
03-19-2010 07:33 PM
Last post by neoadeline
Today 11:37 AM
21 Replies, 175 Views
Ugly face hot body.
05-05-2009 04:24 PM
by `Kari
Last post by MeinKampfyChair
Today 11:30 AM
70 Replies, 1,837 Views
Go to first new post [S]Two Accounts for...
Today 10:30 AM
Last post by Driven Insane
Today 10:30 AM
0 Replies, 3 Views
Hey hey now! PotW...
03-19-2010 04:34 PM
Last post by Husky
Today 10:24 AM
25 Replies, 151 Views
Reply
 
LinkBack Thread Tools Display Modes

 Make your First Prog.
Old 05-09-2008, 05:29 PM   #1 (permalink)
Give me that Becky!

Male Cyrus is offline
 
Cyrus's Avatar
 
Join Date: Aug 2007
Location: 407, Florida.
Age: 18
Posts: 2,823
GPoints: 6,767
iTrader: 15 / 100%
Cyrus Is a Lord of AwesomenessCyrus Is a Lord of AwesomenessCyrus Is a Lord of AwesomenessCyrus Is a Lord of Awesomeness
Rep Power: 15
Make your First Prog.

This is an extremely basic guide. Autoit Programming. All knowledge acquired from Doctuh.

1) Okay so the first thing you need to do is download these programs in this order.


For the first one make sure you choose Editor

AutoIt v3 - Downloads

Choose the full download
http://www.autoitscript.com/autoit3/...beta-setup.exe

Just download this one
http://www.autoitscript.com/cgi-bin/...TE4AutoIt3.exe

2) Now go and open SciTE

3) Once you have opened SciTE, enter this code on line one

Code:
 $var = InputBox ("QUESTION!", "What is your name?")


4)
Now on the second line enter
Code:
MsgBox (0, "Your name is", $var)
5) Now click, File, Beta Run

6) Your program should Pop Up and you enter the answer! All done

CONGRATZ YOU MADE YOUR FIRST PROG

Updates

Security Question:

Code:
$passwd = InputBox("Security Check", "Enter your password.", "", "*")
$answer = InputBox("Question", "Where were you born?", "Planet Earth", "", _
    -1, -1, 0, 0)
    $value = InputBox("Testing", "Enter the 1 or 2 character code.", "", " M2")
    MsgBox(4096, "Correct", "This box will time out in 10 seconds", 10)
Closing Box (Choose Time):

Code:
$memory = InputBox("milliseconds left","how long to read text? Pick only a number and a good one.")


Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
send("This is a text that was created by autoit v3.0,{ENTER} a very good piece of work. now you have")
send("{ENTER}")
send($memory)
send("millaseconds to read this message.")
sleep($memory)
WinClose("Untitled - Notepad")
WinWaitActive("Notepad", "Do you want to save")
Send("!y")
winwaitactive("Save As")
send("hello.txt")
send("{ENTER}")
winwaitactive("Save As");overwrites the file if needed. Careful if you have a file name like this.
send("!y")
__________________
Im half as pretentious, twice as silly, and a quarter older than I appear.



  Reply With Quote

 
Old 05-09-2008, 06:54 PM   #2 (permalink)
In Purgatory

Male Doctor is offline
 
Join Date: Dec 2006
Location: Australia
Age: 18
Posts: 1,498
GPoints: 335
iTrader: 0 / 0%
Doctor Is a Party CaptainDoctor Is a Party Captain
Rep Power: 0
REP IN A BASKET.
  Reply With Quote

 
Old 05-13-2008, 06:36 PM   #3 (permalink)
Banned

Male Checker is offline
 
Join Date: Feb 2008
Posts: 2,646
GPoints: 1,628
iTrader: 8 / 100%
Checker - Total CelebrityChecker - Total CelebrityChecker - Total CelebrityChecker - Total CelebrityChecker - Total CelebrityChecker - Total Celebrity
Rep Power: 0
Or you can do something like
Code:
$passwd = InputBox("Security Check", "Enter your password.", "", "*")
$answer = InputBox("Question", "Where were you born?", "Planet Earth", "", _
    -1, -1, 0, 0)
    $value = InputBox("Testing", "Enter the 1 or 2 character code.", "", " M2")
    MsgBox(4096, "Correct", "This box will time out in 10 seconds", 10)
  Reply With Quote

 
Old 05-14-2008, 11:32 AM   #4 (permalink)
Give me that Becky!

Male Cyrus is offline
 
Cyrus's Avatar
 
Join Date: Aug 2007
Location: 407, Florida.
Age: 18
Posts: 2,823
GPoints: 6,767
iTrader: 15 / 100%
Cyrus Is a Lord of AwesomenessCyrus Is a Lord of AwesomenessCyrus Is a Lord of AwesomenessCyrus Is a Lord of Awesomeness
Rep Power: 15
Checkers, mind if I add that to the guide. I will just be adding more to it as I learn.
__________________
Im half as pretentious, twice as silly, and a quarter older than I appear.



  Reply With Quote

 
Old 05-14-2008, 02:06 PM   #5 (permalink)
Banned

Male Checker is offline
 
Join Date: Feb 2008
Posts: 2,646
GPoints: 1,628
iTrader: 8 / 100%
Checker - Total CelebrityChecker - Total CelebrityChecker - Total CelebrityChecker - Total CelebrityChecker - Total CelebrityChecker - Total Celebrity
Rep Power: 0
Quote:
Originally Posted by Cyrus the Virus View Post
Checkers, mind if I add that to the guide. I will just be adding more to it as I learn.
No, go ahead.
  Reply With Quote

 
Old 05-18-2008, 09:15 AM   #6 (permalink)
Full Member

Male president of corp is offline
 
president of corp's Avatar
 
Join Date: Nov 2007
Age: 20
Posts: 328
GPoints: 945
iTrader: 0 / 0%
president of corp Is Recognizable
Rep Power: 8
checkers, thank you, you have helped me make this code. (by experimenting)
Code:
$memory = InputBox("milliseconds left","how long to read text? Pick only a number and a good one.")


Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
send("This is a text that was created by autoit v3.0,{ENTER} a very good piece of work. now you have")
send("{ENTER}")
send($memory)
send("millaseconds to read this message.")
sleep($memory)
WinClose("Untitled - Notepad")
WinWaitActive("Notepad", "Do you want to save")
Send("!y")
winwaitactive("Save As")
send("hello.txt")
send("{ENTER}")
winwaitactive("Save As");overwrites the file if needed. Careful if you have a file name like this.
send("!y")
It give you a number timing. You pick the time, and before it closes, it will wait that much time. (good for my first "on my own" script. But only thanks to checkers part that I could make the time part.)
ps: Add it if you want.
__________________
adf.ly/11349/poc-money
  Reply With Quote

 
Old 05-22-2008, 06:54 AM   #7 (permalink)
Banned

Male Boots And Braces is offline
 
Join Date: May 2007
Posts: 575
GPoints: 327
iTrader: 2 / 100%
Boots And Braces Is Popular
Rep Power: 0
T_T

WOAH!

omg thanks gais...now ima try this from 8pm to 6am again this weekend! w00t!

+rep to you
  Reply With Quote

 
Old 05-22-2008, 11:59 AM   #8 (permalink)
Give me that Becky!

Male Cyrus is offline
 
Cyrus's Avatar
 
Join Date: Aug 2007
Location: 407, Florida.
Age: 18
Posts: 2,823
GPoints: 6,767
iTrader: 15 / 100%
Cyrus Is a Lord of AwesomenessCyrus Is a Lord of AwesomenessCyrus Is a Lord of AwesomenessCyrus Is a Lord of Awesomeness
Rep Power: 15
OK I am about to update it now =)
__________________
Im half as pretentious, twice as silly, and a quarter older than I appear.



  Reply With Quote

 
Old 05-22-2008, 10:01 PM   #9 (permalink)
Banned

Male Junkas is offline
 
Join Date: Nov 2006
Location: New Jersey
Age: 15
Posts: 1,060
GPoints: 480
iTrader: 0 / 0%
Junkas Is Amongst RoyaltyJunkas Is Amongst Royalty
Rep Power: 0
I may start working with autoit, My all purpose language would work with that first program like this

Code:
result = Dialog.Input("enter", "input:", "", MB_ICONQUESTION);
Dialog.Message("what you put in", result, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);

Last edited by Junkas; 05-22-2008 at 10:05 PM..
  Reply With Quote

 
Old 08-15-2008, 05:44 PM   #10 (permalink)
Junior Member

spawnfestis is offline
 
spawnfestis's Avatar
 
Join Date: Aug 2008
Posts: 10
GPoints: 49
iTrader: 0 / 0%
spawnfestis Is a New Face in Town
Rep Power: 0
Why do you encourage users to SCRIPT (yes, that's right, AutoIT is not programming)?
The language is shitty, the fact that it is a scripting language makes it irrelevant to programming, the fact that the points I've made are a hundred percent true, I see no actual reason for this to be here to begin with.

And no, even though this might look like a flame, you just need to be able to take critizism.
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBadvanced CMPS v3.1.0

All times are GMT -7. The time now is 01:31 PM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.18085694 seconds (100.00% PHP - 0% MySQL) with 21 queries