
Dasttann777
Active Members-
Posts
57 -
Joined
-
Last visited
About Dasttann777
- Birthday 08/03/1997
Profile Information
-
WWW
http://https://sites.google.com/site/dasttanntheprogrammer
-
Interests
Programming!!!
Dasttann777's Achievements

Wayfarer (2/7)
0
Reputation
-
A thank you to the dev staff and the community
Dasttann777 replied to Gonk's topic in AutoIt General Help and Support
I feel exactly the same way, thankyou guys, you taught me to program! -
Lol I can Write basic functions, I am not that new, I was just wondering....
-
So you guys are saying I should rebuild my script? I am new to this, so help is appreciated. :)
-
My Dad wants me to make it, as he runs a business and needs to get his contacts together.
-
So I am making a program that will read all of the text files specified, and return all email addresses found and put them in a different text file, I got a good headstart and I am working quite well, but I have run into a slight problem, What is wrong here: #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $Email = "@" #Region ### START Koda GUI section ### Form=C:\Users\Isaiah Business\Desktop\Email Finder\Koda.kxf $FileFinder = GUICreate("FileFinder", 615, 421, -1, -1) GUISetIcon("C:\Windows\System32\imageres.dll", -29) $FFText = GUICtrlCreateLabel("File Finder", 8, 8, 130, 36) GUICtrlSetFont(-1, 20, 400, 0, "MS Sans Serif") $Progress1 = GUICtrlCreateProgress(0, 144, 617, 17) $LFE = GUICtrlCreateButton("Look for Email", 128, 80, 321, 49) $Help = GUICtrlCreateButton("Help", 528, 8, 81, 33) $ChooseLoc = GUICtrlCreateButton("Choose Location", 152, 48, 273, 33) $FI = GUICtrlCreateInput("File",250,200,200,20) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $ChooseLoc MsgBox(0,"","Choose where you want the Data to be stored, Must be Text Files") $FileSelect = FileOpenDialog("Choose your file:" , "Desktop","Text files (*.txt)") MsgBox(0,"Now...","Press the Start button") Case $LFE $FSF = FileSelectFolder("Choose your folder: ","",4,"") GUICtrlSetData($FI,$FSF) MsgBox(0,"Choose your files:","Choose your file." & @CRLF & "You can multi select files") $FileSelect2 = FileOpenDialog("Select File",$FSF,"All(*.*)",4,"") $FileRead = FileRead($FileSelect2) If $FileRead = $Email Then FileWriteLine($FileSelect, $FileRead) EndIf EndSwitch WEnd First of all press the "Choose Location", and then click search for email.
-
My Dad has asked me to create a program that will scan and read all documents on the whole computer, and then write in a separate file all of the email addreses that were found in the files. I am wondering, should I use Autoit, which I am more comfortable using, or C++, which is a little harder, but has a lot more help in this criteria. So, what do you think?
-
Dasttann777 reacted to a post in a topic: Help me with a BOT for a Facebook Game
-
Is it Multiplatform?
-
I didnt mean to come across rude, but I was more just wondering.
-
What is C++ used for? How do you make a game like WoW? Everyone says that is not good to make gui's with C++, but Guis are my favorite! What can it do, seeing that Most Software requires a User Interface for the User?
-
Try out SharpDevelop, it is free, and whilst not as user friendly as MS, it is still a handy piece of Software. Hope I helped
-
You should learn C++ first, as it is actually quite easy to get the basics, Here is a series of tutorials that helped:
-
Helllo Again! I am trying to make a "Font" Function, but all of my attempts have failed! Here is my code: ;Includes #include <GUIConstants.au3> #include <GuiStatusBar.au3> #include <WinAPI.au3> #include <ButtonConstants.au3> #include <GuiScrollBars.au3> #include <GuiEdit.au3> #include <Misc.au3> #include <Clipboard.au3> #NoTrayIcon Opt("TrayMenuMode", 1) ;Beggining SOund Beep(32767,100) Beep(15000,100) Beep(7500,100) Beep(5000,100) Beep(2500,100) ;Gui Creation $Form1 = GUICreate("Hunterpad", 1112, 561, 147, 112) $cEdit = GUICtrlCreateEdit("", 0, 32, 1361, 673) GUICtrlSetData(-1, "") GUICtrlCreateLabel(StringLen($cEdit),50,10) $File = GUICtrlCreateMenu("&File") $New = GUICtrlCreateMenuItem("New", $File) $MenuItem4 = GUICtrlCreateMenuItem("Save", $File) $MenuItem5 = GUICtrlCreateMenuItem("Save As...", $File) $Save = GUICtrlCreateMenuItem("Open", $File) $MenuItem7 = GUICtrlCreateMenuItem("Print", $File) $MenuItem6 = GUICtrlCreateMenuItem("Exit", $File) $MenuItem1 = GUICtrlCreateMenu("&Edit") $MenuItem8 = GUICtrlCreateMenuItem("Undo (Press Ctrl-Z)", $MenuItem1) $MenuItem9 = GUICtrlCreateMenuItem("Redo (Press Ctrl-Y)", $MenuItem1) $MenuItem3 = GUICtrlCreateMenu("&Help") $About = GUICtrlCreateMenuItem("About...", $MenuItem3) $HTU = GUICtrlCreateMenuItem("&Help ", $MenuItem3) $HTML = GUICtrlCreateButton("&Html",20,5) $Pin1 = GUICtrlCreateButton("Rusty Trap",100,5) $Release = GUICtrlCreateButton("Release Rusty",160,5) $Find = GUICtrlCreateButton("Find",240,5) $Find_and_Replace = GUICtrlCreateButton("Find and Replace",280,5) $Font = GUICtrlCreateButton("Font..",380,5) $context = GUICtrlCreateContextMenu($cEdit) $CB = _ClipBoard_Open($cEdit) $TT = TrayTip("Welcome!", "Hunterpad is Fun and Easy to Use!", 10,1) $SB = _GUIScrollBars_Init($cEdit) $SB1 = _GUIScrollBars_EnableScrollBar($cEdit) _GUICtrlStatusBar_Create($form1) Break(1) GUISetState(@SW_SHOW) Local $sSaved_Edit = "" While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $Find _GuiCtrlEdit_Find($cEdit,False) Case $Find_and_Replace _GuiCtrlEdit_Find($cEdit,True) Case $HTML _GUICtrlEdit_InsertText($cEdit,"<html><head></head><body></body></html>") Case $Pin1 $PinI = InputBox("Rusty Trap", "Have a small snippet, that you do not want to lose, but need to temporarily store? Copy and Paste the Text into here, you can reuse it with the Release Rusty Button! ") ClipPut($Pin1) TrayTip("Clipboard","Copied",5) Case $New GUICtrlSetData($cEdit, "") ; Empty the control Case $GUI_EVENT_CLOSE Exit Case $Release $var = GUICtrlRead($cEdit) GUICtrlSetData($cEdit, $var & @LF & $PinI) Case $Release GUICtrlSetData($cEdit,$PinI) Case $Save $FileOpen = FileOpenDialog("", "", "Html Documents(* .html)|Text Documents(*.txt)|All(*.*)") $FileRead = FileRead($FileOpen) Send($FileRead) Case $MenuItem7 $sPrintFile = "c:image.png" Case $HTU MsgBox(0, "Help", "Hunterpad is easy to use, and very basic. ||Change Notes: 1.0 - Hunterpad Released Here are the current Hotkeys: Ctrl-Z - Undo Ctrl-Y - Redo") Case $About MsgBox(0, "About", "Made by Dasttann_Software Designer_Website Builder_Computer Fanatic>>>>>>>>>>>Hunter Version: 1.0>>>>>>>>>>>>>>") Case $MenuItem6 Exit Case $MenuItem4 ; Get current content of edit control $sCurrent_Edit = GUICtrlRead($cEdit) ; Has it changed? If $sCurrent_Edit <> $sSaved_Edit Then ; Get a filename to save to $sFile = FileSaveDialog("Save", "C:", "All(*.*)", 16, "untitled") ; Open a file overwriting any existing one $hFile = FileOpen($sFile, 2) ; Write the file with the current data FileWrite($hFile, $sCurrent_Edit) ; Close the file FileClose($hFile) ; Store the current content for future comparisons $sSaved_Edit = $sCurrent_Edit EndIf ;###### Case $Font;############# $FS = _ChooseFont();# Case $FS;###################### GUICtrlSetFont($cEdit, $FS);##### EndSwitch WEnd
-
That is perfect! Thankyou so much!
-
How to Make Ruler Guidelines
Dasttann777 replied to Dasttann777's topic in AutoIt GUI Help and Support
yeah thats perfect!