Przedstawiam wam moja "Ksiazke telefoniczna" stworzona w autoit mysle ze sie spodoba acha i mozecie dac + uzytkownikowi non poniewarz pomogl mi w waznej kwesti ;]
KLIK ;]
jak cos zbieram ++
a i wszystkie numery sa zapisywane w plliku Telefony.txt
#include <ButtonConstants.au3>
#include <DateTimeConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Ks.Telefoniczna stworzona przez Zulikk'a", 560, 426, 192, 124)
$Edit1 = GUICtrlCreateEdit("Kontakty",270,10,260,350)
$Stan = GUICtrlCreateButton("Stan Kontaktow",270,360,259,61)
$np_Jan = GUICtrlCreateInput("np_Jan", 80, 32, 169, 21)
$np_Kowalski = GUICtrlCreateInput("np_Kowalski", 80, 56, 169, 21)
$np_2745384 = GUICtrlCreateInput("np_2745384", 80, 80, 169, 21)
$Label1 = GUICtrlCreateLabel("Imie", 8, 32, 23, 17)
$Label2 = GUICtrlCreateLabel("Nazwisko", 8, 56, 50, 17)
$Label3 = GUICtrlCreateLabel("Numer", 8, 80, 35, 17)
$Label4 = GUICtrlCreateLabel("Ksiazka Telefoniczna w Autoit", 0, 0, 254, 24)
GUICtrlSetFont(-1, 12, 800, 0, "MS Sans Serif")
$Wprowadz = GUICtrlCreateButton("Wprowadz dane", 0, 120, 259, 61, $WS_GROUP)
$Koniec = GUICtrlCreateButton("Koniec", 0, 180, 259, 61, $WS_GROUP)
$MonthCal1 = GUICtrlCreateMonthCal("2010/08/17", 0, 240, 263, 204)
$Pic1 = GUICtrlCreatePic("C:\Users\Win 7\Desktop\Tapeta pulpitu.bmp", -16, -8, 873, 449, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Case $Wprowadz
$a=GUICtrlRead($np_Jan)
$b=GUICtrlRead($np_Kowalski)
$c=GUICtrlRead($np_2745384)
$file = FileOpen("Telefony.txt", 1)
FileWrite($file, " "& $a)
FileWrite($file, " "& $
FileWrite($file, " "& $c)
FileWriteLine($file,"")
FileClose($file)
Case $Stan
$file = FileOpen("Telefony.txt", 0)
$tekst=FileRead($file)
GuiCtrlSetData($Edit1, $tekst)
Case $Koniec
Exit
EndSwitch
WEnd
Prosze oto kod i skanik
Skanik
plik ma trojana kij wie czemu komp byl skanowany przedwczoraj 3 razy