sercanalis Posted December 22, 2008 Share Posted December 22, 2008 Merhabalar Başlık Açıklamasındanda anlaşıldığı gibi Autoit İle Dosya Kopyalama Varolan Dosyayı Değiştirme gibi işlemler yapmak istiyorum forum sitesinde baya gezindim . Yapmakta olduğum otomatik kurulum paketi son derece güzel çalışıyor. son işlemleri ise varolan exenin güncelini ekletmek bu işlemi sessiz sedasız yaptırmak . ve bazı dosyarı hedef klasöre aktarmak . yardımcı olursanız sevinirim Link to comment Share on other sites More sharing options...
blackman12 Posted December 22, 2008 Share Posted December 22, 2008 FileMove("kaynak","hedef",1) sondaki 1 üzerine yazdırmak için.Aynı şey FileCopy içinde geçerli Link to comment Share on other sites More sharing options...
morning Posted December 22, 2008 Share Posted December 22, 2008 Çok iyi bilmiyorum AutoIti ama umarım yardımcı olur. FileCopy(@ScriptDir & "dosya adı", "hedef klasör",1)[/CODE] benden önce birileri davranmış.Neyse. Link to comment Share on other sites More sharing options...
sercanalis Posted December 22, 2008 Author Share Posted December 22, 2008 çok teşekkür ederim . bu kadar hızlı ceplarınız için . hemen deniyecem . Link to comment Share on other sites More sharing options...
isaavcı Posted June 10, 2010 Share Posted June 10, 2010 FileCopy(@ScriptDir & "isa", "C:\",1) ============================== FileCopy("isa","C:\",1) her ikisindede kopyalama yapmadı hocam Link to comment Share on other sites More sharing options...
blackman12 Posted June 10, 2010 Share Posted June 10, 2010 Ben olsam bende kopyalamam şu kodla...İnsan bi açıp help dosyasından örneğe bakar ya. Link to comment Share on other sites More sharing options...
isaavcı Posted June 11, 2010 Share Posted June 11, 2010 hocam acemi kuş bu kadar öter idare et. şu şekilde yaptım tamam ister tek ister dosyalı kopyalama tamamdır DirCreate("C:\isa") FileCopy("1.txt", "C:\isa\") ====================== hocam amsdeki gibi sayfa1 sayfa2 gibi işlem yapabilirmiyiz yani bir buton tıkla sayfa2 ye tıkla sayfa1 nasıl geliriz =============== şunu buldum #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 218, 102, 192, 124) $Button1 = GUICtrlCreateButton("Button1", 32, 40, 129, 33) $Form1 = GUICreate("Form2", 218, 102, 192, 124) $Button1 = GUICtrlCreateButton("Button1", 32, 40, 129, 33) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit case $button1 $form2 = GUICreate("Form2", 218, 102, 192, 124) GUISetState() EndSwitch WEnd ================ fakat form iki boş çıkıyor sifirdan kodadan iki form oluşturuyorum butonlu fakat kodları al dedinmi sadece formun birini görüyor yardımcı olursanız sevinirim. Link to comment Share on other sites More sharing options...
blackman12 Posted June 11, 2010 Share Posted June 11, 2010 case $button1 $form2 = GUICreate("Form2", 218, 102, 192, 124) GUISetState()[/CODE] çünkü öyle yapmasını istemişsin diğer öğeleri guigetstate den önce guicreateten sonraki bölüme yazıcaksın. Link to comment Share on other sites More sharing options...
blue_life Posted June 11, 2010 Share Posted June 11, 2010 Aynı pencerede birden fazla gui için basit bir örnek... Global $With = 500 Global $Height = 200 Global $Form1 = GUICreate("Form1", $With, $Height,-1,-1) GUISetState(@SW_SHOW) ;======================================= Global $Form2 = GUICreate("",$With, $Height,0,0,0x40000000,-1,$Form1) GUICtrlCreateLabel("Gui1", 10, 10, 50, 17) GUICtrlSetFont(-1,12, 800, 0, "MS Sans Serif") $Button1 = GUICtrlCreateButton("Ileri", 10, 150, 75, 25) GUISetState(@SW_SHOW,$Form2) ;======================================= Global $Form3 = GUICreate("",$With, $Height,0,0,0x40000000,-1,$Form1) GUICtrlCreateLabel("Gui2", 10, 10, 50, 17) GUICtrlSetFont(-1,12, 800, 0, "MS Sans Serif") $Button2 = GUICtrlCreateButton("Geri", 10, 150, 75, 25) $Button3 = GUICtrlCreateButton("Ileri", 100, 150, 75, 25) ;======================================= Global $Form4 = GUICreate("",$With, $Height,0,0,0x40000000,-1,$Form1) GUICtrlCreateLabel("Gui3", 10, 10, 50, 17) GUICtrlSetFont(-1,12, 800, 0, "MS Sans Serif") $Button4 = GUICtrlCreateButton("Geri", 10, 150, 75, 25) ;======================================= GUISwitch($Form1) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit Case $Button1 GUISetState(@SW_SHOW,$Form3) GUISetState(@SW_HIDE,$Form2) Case $Button2 GUISetState(@SW_HIDE,$Form3) GUISetState(@SW_SHOW,$Form2) Case $Button3 GUISetState(@SW_HIDE,$Form3) GUISetState(@SW_SHOW,$Form4) Case $Button4 GUISetState(@SW_SHOW,$Form3) GUISetState(@SW_HIDE,$Form4) EndSwitch WEnd[/CODE] Link to comment Share on other sites More sharing options...
djonur007 Posted June 11, 2010 Share Posted June 11, 2010 FileCopy(@ScriptDir & "isa", "C:\",1) ============================== FileCopy("isa","C:\",1) her ikisindede kopyalama yapmadı hocam & işaretinden sonra \ kullanmalısın.yani ===> [@scriptdir & "\isa"] Link to comment Share on other sites More sharing options...
isaavcı Posted June 12, 2010 Share Posted June 12, 2010 sevgili hocalarım her birinize teşekkür ederim bir bilgi aldım bitmedi yenilerini istiyorum sizden. bir veri tabanı veya ini textle nasıl çalışırız ve bu verilerle nasıl dört işlemi yaptırabiliriz #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 447, 193, 125) $Input1 = GUICtrlCreateInput("Input1", 72, 40, 153, 21) $Input2 = GUICtrlCreateInput("Input2", 72, 72, 153, 21) $Input3 = GUICtrlCreateInput("Input3", 72, 104, 153, 21) $Label1 = GUICtrlCreateLabel("üçüde değerini veri bankası veya iniden alacak", 240, 40, 226, 17) $Label2 = GUICtrlCreateLabel("aynı zamanda değerlerini bir input toplayacak", 240, 64, 215, 17) $Button1 = GUICtrlCreateButton("kaydet butonu ilgili kaynağa kaydedecek", 240, 112, 275, 25, 0) $Button2 = GUICtrlCreateButton("sıfırla sil buton ", 240, 152, 257, 25, 0) $Group1 = GUICtrlCreateGroup("Group1", 40, 192, 577, 241) $ad = GUICtrlCreateInput("ad", 136, 248, 321, 21) $soyad = GUICtrlCreateInput("soyad", 136, 280, 321, 21) $Button3 = GUICtrlCreateButton("kaydet dedikmi ilgili sayfaya veri bankasına bağlanacak", 136, 320, 321, 41, 0) GUICtrlCreateGroup("", -99, -99, 1, 1) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd yukarıdaki formda olduğu gibi girişti isim kaydedeceğiz kaydet dedikmi veri bankasına kaydedilecek ve bizi ilgili sayfaya yonlendirecek. ilgili sayfada input1-2-3 degerlerini veritabanından alacak + benim girdiğim değerleri kaydecek gerektiğinde sileceğim ve onlarca formdan oluşan bir çalışma nasıl yapabilirim. biliyorum sizler için çok karışık içinden çıkılmayacak bir şey değil tek sorun çok şeymi istedim bilmiyorum ama istedim yardımlarınızı bekliyorum. ========================= benim avatarımda Uyarı: (40%) yazıyor bu ne demektir yani beni birileri uyarmışmı bu ne demek çünkü kimseye sataşmadım kimseye söz hakkı doğurak bir şeyler yapmadım ilgili arkadaşlardan bilgi alabilirmiyim. çünkü kendimi azılı bir suçlu gibi hissettim. Link to comment Share on other sites More sharing options...
Bilinchard Posted June 12, 2010 Share Posted June 12, 2010 benim avatarımda Uyarı: (40%) yazıyor bu ne demektir yani beni birileri uyarmışmı bu ne demek çünkü kimseye sataşmadım kimseye söz hakkı doğurak bir şeyler yapmadım ilgili arkadaşlardan bilgi alabilirmiyim. çünkü kendimi azılı bir suçlu gibi hissettim. Elimizde bir IQ ölçer yokki arkadaş... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.