
alien13
Active Members-
Posts
73 -
Joined
-
Last visited
About alien13
- Birthday 03/23/1991
Profile Information
-
Location
Australia
-
WWW
http://www.alien13.com
Recent Profile Visitors
398 profile views
alien13's Achievements

Wayfarer (2/7)
0
Reputation
-
http://msdn.microsoft.com/en-us/library/aa733974.aspx <<< Theres a guide from MSDN. When I started out I learnt the basics of C++ before going on to Visual C++ but it is up to you. As stated there is quite a bit to learn, hell, you learn more and more as you go along. The best thing for me is when I come up with a program that I want to make I plan it all and work out what I am going to do then when the time comes to program that certain feature I research up on it when the time comes. Some links for C++ if you are interested: http://www.cprogramming.com/begin.html http://www.cplusplus.com/doc/tutorial/ -alien13
-
I like it but so what if one person has a problem with it. Not everyone will support your program. How many haters do you think M$ have? Do they just go "Oh noe, john doe doesn't like windows vista. Lets remove it from all stores." Just my opinion Keep up the good work, hope to see new versions soon!
-
I've been learning C++ for a little while now and have collected a few good resources: http://www.cprogramming.com/tutorial/lesson1.html http://www.cppreference.com/index.html http://www.functionx.com/vcnet/index.htm http://www.netcore2k.net/articles/pointers Hope they help you out with your C++ journey! alien13
-
@Nahuel - Ok, I will have a look at that function! I'm not using TCP functions to do this just simple writing to a text file and the editbox and reading it back. I suppose I could look at doing it with TCP functions, but not sure if it would work too well at school. Thanks @n3nE - You mean like: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_outfile=DPS Chat.exe #AutoIt3Wrapper_Compression=4 #AutoIt3Wrapper_UseAnsi=y #AutoIt3Wrapper_Allow_Decompile=n #AutoIt3Wrapper_Res_Description=DPS Chat #AutoIt3Wrapper_Res_Fileversion=0.0.0.2 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #AutoIt3Wrapper_Res_LegalCopyright=DPS - All rights reserved! #AutoIt3Wrapper_Res_Language=3081 #AutoIt3Wrapper_Run_Tidy=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <GUIConstants.au3> Global $Msg, $Field AdlibEnable("_Update", 1000) $Time = @HOUR & ":" & @MIN & ":" & @SEC $ReadTxt = FileRead(@ScriptDir & "\Text.txt") $UF = GUICreate("User Dialog", 251, 93) $UserName = GUICtrlCreateInput("", 8, 32, 233, 21) $OK = GUICtrlCreateButton("OK", 166, 64, 75, 25, 0) $Label1 = GUICtrlCreateLabel("Enter Username", 8, 12, 77, 17) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $OK GUISetState(@SW_HIDE, $UF) _Chat() EndSwitch WEnd Func _Chat() $Main = GUICreate("Chat", 328, 405) $Msg = GUICtrlCreateEdit($ReadTxt, 8, 8, 305, 257, BitOR($GUI_SS_DEFAULT_EDIT, $ES_WANTRETURN, $ES_READONLY, $ES_AUTOVSCROLL), $WS_EX_TRANSPARENT) $Field = GUICtrlCreateEdit("", 8, 272, 305, 97, $ES_WANTRETURN) $Send = GUICtrlCreateButton("Send", 112, 374, 75, 25, 0) GUICtrlSetState(-1, $GUI_DISABLE) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Send If GUICtrlRead($Field) = "" Then MsgBox(0, "Error!", "You didn't type a msg!") Else GUICtrlSetData($Msg, "(" & $Time & ") " & GUICtrlRead($UserName) & " says: " & GUICtrlRead($Field) & @CRLF, 0) FileWrite(@ScriptDir & "\Text.txt", "(" & $Time & ") " & GUICtrlRead($UserName) & " says: " & GUICtrlRead($Field) & @CRLF) GUICtrlSetData($Field, "") GUICtrlSetState($Send, $GUI_DISABLE) EndIf EndSwitch If GUICtrlRead($Field) = "" Then Else GUICtrlSetState($Send, $GUI_ENABLE) EndIf WEnd EndFunc ;==>_Chat Func _Update() $ReadTxt1 = FileRead(@ScriptDir & "\Text.txt") GUICtrlSetData($Msg, $ReadTxt1) EndFunc ;==>_Update Not sure how to stop the flashing atm, just got home from work, and am tired atm.. alien13
-
Hey, I made a chat program today at school for me and my friends to use via the network. I finished it off just then, but, when it autoscrolls the edit box and it updates it moves back to the top instead of to the bottom, is there a way to fix this? Here is the code: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_outfile=DPS Chat.exe #AutoIt3Wrapper_Compression=4 #AutoIt3Wrapper_UseAnsi=y #AutoIt3Wrapper_Allow_Decompile=n #AutoIt3Wrapper_Res_Description=DPS Chat #AutoIt3Wrapper_Res_Fileversion=0.0.0.2 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #AutoIt3Wrapper_Res_LegalCopyright=DPS - All rights reserved! #AutoIt3Wrapper_Res_Language=3081 #AutoIt3Wrapper_Run_Tidy=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <GUIConstants.au3> Global $Msg, $Field AdlibEnable("_Update", 1000) $Time = @HOUR & ":" & @MIN & ":" & @SEC $ReadTxt = FileRead(@ScriptDir & "\Text.txt") $UF = GUICreate("User Dialog", 251, 93) $UserName = GUICtrlCreateInput("", 8, 32, 233, 21) $OK = GUICtrlCreateButton("OK", 166, 64, 75, 25, 0) $Label1 = GUICtrlCreateLabel("Enter Username", 8, 12, 77, 17) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $OK GUISetState(@SW_HIDE, $UF) _Chat() EndSwitch WEnd Func _Chat() $Main = GUICreate("Chat", 328, 405) $Msg = GUICtrlCreateEdit($ReadTxt, 8, 8, 305, 257, BitOR($GUI_SS_DEFAULT_EDIT, $ES_WANTRETURN, $ES_READONLY, $ES_AUTOVSCROLL), $WS_EX_TRANSPARENT) $Field = GUICtrlCreateEdit("", 8, 272, 305, 97, $ES_WANTRETURN) $Send = GUICtrlCreateButton("Send", 112, 374, 75, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Send If GUICtrlRead($Field) = "" Then MsgBox(0, "Error!", "You didn't type a msg!") Else GUICtrlSetData($Msg, "(" & $Time & ") " & GUICtrlRead($UserName) & " says: " & GUICtrlRead($Field) & @CRLF, 0) FileWrite(@ScriptDir & "\Text.txt", "(" & $Time & ") " & GUICtrlRead($UserName) & " says: " & GUICtrlRead($Field) & @CRLF) GUICtrlSetData($Field, "") EndIf EndSwitch WEnd EndFunc ;==>_Chat Func _Update() $ReadTxt1 = FileRead(@ScriptDir & "\Text.txt") GUICtrlSetData($Msg, $ReadTxt1) EndFunc ;==>_Update I have to go to work, so im in a hurry, hope this makes sense. Just fill up the edit box with messages and wait to see what I mean. Thanks, alien13
-
Hey, Glad you guys like it! Here is my updated script (did it a few hours after first post) for you to have a look at.. thanks for the suggestions aswell! Func _Wallpaper() $WPs = IniRead($Ini, "Settings", "Background", "") $WallpaperMain = GUICreate("A13 Shell - Wallpaper Selector", 367, 406) $WallpaperList = GUICtrlCreateList($WPs, 16, 208, 334, 159, $WS_VSCROLL) $WallpaperPreview = GUICtrlCreatePic($WPs, 70, 16, 260, 177, BitOR($SS_NOTIFY, $WS_GROUP, $WS_CLIPSIBLINGS)) $Browse = GUICtrlCreateButton("Browse", 8, 368, 65, 25, 0) $Preview = GUICtrlCreateButton("Preview", 78, 368, 65, 25, 0) $Save = GUICtrlCreateButton("Save", 150, 368, 65, 25, 0) $Delete = GUICtrlCreateButton("Delete", 222, 368, 65, 25, 0) $Cancel = GUICtrlCreateButton("Cancel", 294, 368, 65, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE GUIDelete($WallpaperMain) ExitLoop Case $Browse $SelectWP = FileOpenDialog("Please select an image(s) to add to the list.", @DesktopDir, "Images (*.jpg;*.bmp)", 1) _GUICtrlListAddItem($WallpaperList, $SelectWP) GUICtrlDelete($WallpaperPreview) $WallpaperPreview = GUICtrlCreatePic($SelectWP, 50, 16, 257, 177, BitOR($SS_NOTIFY, $WS_GROUP, $WS_CLIPSIBLINGS)) Case $Preview GUICtrlDelete($WallpaperPreview) $NewPic = _GUICtrlListGetText($WallpaperList, _GUICtrlListSelectedIndex($WallpaperList)) $WallpaperPreview = GUICtrlCreatePic($NewPic, 50, 16, 257, 177, BitOR($SS_NOTIFY, $WS_GROUP, $WS_CLIPSIBLINGS)) Case $Save $GetPic = _GUICtrlListGetText($WallpaperList, _GUICtrlListSelectedIndex($WallpaperList)) $SaveBkGrnd = IniWrite($Ini, "Settings", "Background", $GetPic) $SetBkGrnd = GUICtrlSetImage($BkGrnd, $GetPic) Case $Delete $GetPc = _GUICtrlListSelectedIndex($WallpaperList) _GUICtrlListDeleteItem($WallpaperList, $GetPc) GUICtrlDelete($WallpaperPreview) Case $Cancel GUIDelete($WallpaperMain) ExitLoop EndSwitch WEnd EndFunc ;==>_Wallpaper Added the delete function ~thanks Piano_Man~ and I am looking into the preview on click~ alien13
-
Well, I actually made and released this before the competition (at least before I knew about it) but I don't mind too much, as this is only a small thing, if they give credit to me for it, then it is ok. ^Hope that makes sense(Just woke up) alien13
-
Hey, I decided to make a wallpaper selector for users who are making a shell that allows the user to have a wallpaper. This allows you to open a file(s) and preview files then save them as the background.. I'm not 100% sure if this will work as I haven't look at any shells that use wallpapers so, *Fingers crossed*. Here is a screenshot and the attached script in action: Hopefully a shell maker will find this useful! alien13 ~Feel free to help improve this script~ Wallpaper_Chooser.au3
-
Cool. Sure, any ideas would be great. I'm working on a possible second level atm, but I'm not sure if I will use it.. alien13
-
OShell [Version 1.7] *new menu* *u choose password*
alien13 replied to ashley's topic in AutoIt Example Scripts
Cool. Glad you made it full screen. Also, here is an extra feature.. It will ask if you want to exit or not when you click shutdown.. But you can enable/disable it through Start>System>General Settings. Good for people who like to have conf. before doing it. Also, a feature for you to poss. try. Option to add apps to the start menu.. User selects the app and it gets added to the start menu. alien13 ShellOS.au3 -
Hmm. Thats strange. Have you tried it using the commands to get the password? alien13
-
Hide non autoit windows with guisetstate()?
alien13 replied to Mast3rpyr0's topic in AutoIt General Help and Support
I'm not sure if this is what you want but: WinSetState("Untitled -", "", @SW_HIDE) That will hide notepad. You could adjust that to your needs and use @SW_SHOW to reshow if needed. alien13 -
Hi, Ok, so I wanted to make a game/simulation. I decided on a hacking kind of game after talking with a friend. It hasn't turned out how I would have really liked it to, but, I like the way I have done it in the end and am happy with the result. It may not be a ~real~ hacking kind of game but... oh well.. There is always room for improvement! About "Command" Ok, So the name of the game is "Command". Why? Well its because the game is set in a "Command Prompt" setting. You progress through the levels using the instructions given. The First Level was really a test for me to see what I could achieve in this kind of environment. It isn't too hard if you think about it. Don't Look at the source without at least trying it first because you will immediately know what to do I have attached the Source and Compiled exe. If you have any comments or would like to help improve the script, feel free to do so! alien13 Command.au3 Command.exe
-
OShell [Version 1.7] *new menu* *u choose password*
alien13 replied to ashley's topic in AutoIt Example Scripts
This is cool. I don't really have any suggestions apart from having it save the background color like so -(attached script)-. Good work! alein13 ShellOS.au3 -
This is pretty cool. Having the programs open inside of the main window would be pretty good.. Here is an example of how it would look.. It isn't perfect, only took 5 seconds to quickly edit it to work. You don't have to use it as it is only a suggestion. alien13 New_AutoIt_v3_Script.au3