» Site Navigation | | | » Advertisement | | | » Recent Threads | | | | | | | | | | | |  |  | Make your First Prog. |  |
05-09-2008, 05:29 PM
|
#1 (permalink)
| | i put on fuh mah city.
Cyrus is offline
Join Date: Aug 2007 Location: Florida. Age: 15 Posts: 1,850 Rep Power: 8 | 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") | |
| |  |
05-09-2008, 06:54 PM
|
#2 (permalink)
| | In Prigatory
Doctor is offline
Join Date: Dec 2006 Location: Australia Age: 16 Posts: 1,481 Rep Power: 0 | REP IN A BASKET. | |
| |  | |  |
05-13-2008, 06:36 PM
|
#3 (permalink)
| | Absolute Overlord
Checkers is offline
Join Date: Feb 2008 Location: Rome Age: 18 Posts: 965 Rep Power: 5 | 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)
__________________ Quote:
Originally Posted by nomhak Its because I am a woman. |
, In allen drei Fällen und für die meisten Menschen, wirft das Problem des Leidens
kein schwieriges Problem überhaupt auf:
ein hat eine
Weltabbildung, in der Leiden seinen
Platz hat, eine Weltabbildung,
die in Betracht leiden nimmt. “ „ Der Zustand benennt sein
eigenes Gewalttätigkeitgesetz,
aber das des einzelnen crime.“ "Whoever moet vrij maken vrij zal zijn.
De vrijheid is geen feegift om in een man
overlapping te vallen. Wat is vrijheid?
Om de wil te hebben om voor
zijn zelf verantwoordelijk te zijn." | |
| |  |
05-14-2008, 11:32 AM
|
#4 (permalink)
| | i put on fuh mah city.
Cyrus is offline
Join Date: Aug 2007 Location: Florida. Age: 15 Posts: 1,850 Rep Power: 8 | Checkers, mind if I add that to the guide. I will just be adding more to it as I learn. | |
| |
05-14-2008, 02:06 PM
|
#5 (permalink)
| | Absolute Overlord
Checkers is offline
Join Date: Feb 2008 Location: Rome Age: 18 Posts: 965 Rep Power: 5 | Quote:
Originally Posted by Cyrus the Virus Checkers, mind if I add that to the guide. I will just be adding more to it as I learn. | No, go ahead.
__________________ Quote:
Originally Posted by nomhak Its because I am a woman. |
, In allen drei Fällen und für die meisten Menschen, wirft das Problem des Leidens
kein schwieriges Problem überhaupt auf:
ein hat eine
Weltabbildung, in der Leiden seinen
Platz hat, eine Weltabbildung,
die in Betracht leiden nimmt. “ „ Der Zustand benennt sein
eigenes Gewalttätigkeitgesetz,
aber das des einzelnen crime.“ "Whoever moet vrij maken vrij zal zijn.
De vrijheid is geen feegift om in een man
overlapping te vallen. Wat is vrijheid?
Om de wil te hebben om voor
zijn zelf verantwoordelijk te zijn." | |
| |  | |  |
05-18-2008, 09:15 AM
|
#6 (permalink)
| | shutup when your talking!
president of corp is offline
Join Date: Nov 2007 Age: 18 Posts: 303 Rep Power: 3 | 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.
__________________ Backdoor games: the place to get referrals and make $$$ on sites.
| |
| |  |
05-22-2008, 06:54 AM
|
#7 (permalink)
| | Banned
Boots And Braces is offline
Join Date: May 2007 Posts: 599 Rep Power: 0 | T_T
WOAH!
omg thanks gais...now ima try this from 8pm to 6am again this weekend! w00t!
+rep to you | |
| |
05-22-2008, 11:59 AM
|
#8 (permalink)
| | i put on fuh mah city.
Cyrus is offline
Join Date: Aug 2007 Location: Florida. Age: 15 Posts: 1,850 Rep Power: 8 | OK I am about to update it now =) | |
| |
05-22-2008, 10:01 PM
|
#9 (permalink)
| | КГБ навсегда
Blacknite is offline
Join Date: Nov 2006 Location: New Jersey Age: 13 Posts: 945 Rep Power: 8 | 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 Blacknite; 05-22-2008 at 10:05 PM.
| |
| |  | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |