Dj Demir Posted June 5, 2010 Share Posted June 5, 2010 selamun aleykum arkadaşlar son günlerde fazla soru soruyorum ama sevdim ben AutoIt'i öğrenmeye niyetlisiz ama bazen takiliyorum işte sormak lazim neyse geçelim konuya ) AutoIt'te herhangi bir yere png veya animasyonlu gif ekleme gibi bir şansımız var herhalde ama ben bilmiyorum denedim biraz ama o iki resim türünü ekleyemedim ne yapmamız lazım onları eklemek için Link to comment Share on other sites More sharing options...
djonur007 Posted June 5, 2010 Share Posted June 5, 2010 öyle bir çalışma için ayrı bir udf gerekir. udf'yi autoit forumunda görmüştüm. orda bulabilirsin. nasıl kullanıldığı udf'yi indirdiğin yerde yazıyordur. kolay gelsin. Link to comment Share on other sites More sharing options...
Dj Demir Posted June 5, 2010 Author Share Posted June 5, 2010 özür dilerim ama UDF'nin ne olduğunu bilmiyorum acemiyim daha pek kavramları bilmiyorum üstelik ingilizce de yok pek fazla forumdan nasıl indirip nasıl anlayacağımı bilemedim Link to comment Share on other sites More sharing options...
djonur007 Posted June 5, 2010 Share Posted June 5, 2010 aşağıdaki siteye üye ol. verdiğim linke git. 1'inci postun sonunda ek dosya var onu pc'ne indir. Ortadada bazı kodlar var onları bir *.au3 dosyasına yapıştır. indirdiğin ek ile *.au3 dosyasını aynı klasöre koy. ve *.au3'ü çalıştır. Please register to see this content. Link to comment Share on other sites More sharing options...
Dj Demir Posted June 5, 2010 Author Share Posted June 5, 2010 eskiden o forumda bir şey görmüştüm insallah o değil çünkü onu kurcalamıştım ama anlamamıştım deneyip sonucu yazarım ilgin için teşekkürler bu arada Link to comment Share on other sites More sharing options...
Dj Demir Posted June 5, 2010 Author Share Posted June 5, 2010 tamam gördüm de o ek dosyayı yapamadım ama çok fazla kalabalık içi anlayamadım Link to comment Share on other sites More sharing options...
blackman12 Posted June 6, 2010 Share Posted June 6, 2010 Png kullanımı Autoitin yardım sayfasında var.GDIPlus.au3 ile png ye tam destek alabilirsiniz.Gif ise Guictrlcreateimage ile oluşturulur ama oynatılmaz.Oynatılmasını istiyorsanız Ani.au3 gibi ekstra bir UDF ye ihtiyacınız var. Link to comment Share on other sites More sharing options...
Dj Demir Posted June 6, 2010 Author Share Posted June 6, 2010 dediğim gibi baya yeniyim UDF ne onu bile bilmiyorum . bir yerden bi dosya indirmiştim önceden , onda gif oynatilabiliyordu . GDIPlus.au3 dosyasını include ediyoruz sanırım onu include ettikten sonra ne yapmak lazim aradığımı bulamadım help dosyasında EDIT:Klavye Hatası Link to comment Share on other sites More sharing options...
Dj Demir Posted June 7, 2010 Author Share Posted June 7, 2010 aslında gif o kadar onemli değil ama png'ye çok ihtiyacım var AutoIT'in help dosyasında var doğrudur. hatta examples klasöründe bile var ama ben onu düzenleyemedim:( yapiyorum birşeyler ama olmuyor Link to comment Share on other sites More sharing options...
Dj Demir Posted June 8, 2010 Author Share Posted June 8, 2010 hala kimse yardım edemiyor mu ? Link to comment Share on other sites More sharing options...
Dj Demir Posted June 9, 2010 Author Share Posted June 9, 2010 sorunumu çözdüm . sonunda yazdım birşeyler ama bu seferde arka plana bir reng tonu atinca GUI çalışmıyor bile hata vermiyor ama ekrana da gelmiyor Peki ben arka plana reng tonu atmayacaksam PNG koymamin ne anlami kaliyor AutoIT mi biraz eksik yoksa ben mi bilmeden konuşuyorum yok mu bilen bir hocam . Link to comment Share on other sites More sharing options...
blackman12 Posted June 9, 2010 Share Posted June 9, 2010 Sen bi şu kodlarını koy bakim buraya. birde flood yapma. Link to comment Share on other sites More sharing options...
Dj Demir Posted June 10, 2010 Author Share Posted June 10, 2010 #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <GDIPLUS.au3> #NoTrayIcon $hGUI = GUICreate("Form1", 505, 584, 189, 120) ;~ GUISetBkColor(-1, 0x054554) _GDIPlus_Startup() $hImage = _GDIPlus_ImageLoadFromFile("J:\My App\Deneme\Logo.png") $hGraphic = _GDIPlus_GraphicsCreateFromHWND($hGUI) GUIRegisterMsg($WM_PAINT, "MY_WM_PAINT") GUISetState() ; Loop until user exits do until GUIGetMsg() = $GUI_EVENT_CLOSE ; Clean up resources _GDIPlus_GraphicsDispose($hGraphic) _GDIPlus_ImageDispose($hImage) _GDIPlus_ShutDown() ; Draw PNG image Func MY_WM_PAINT($hWnd, $Msg, $wParam, $lParam) _WinAPI_RedrawWindow($hGUI, 0, 0, $RDW_UPDATENOW) _GDIPlus_GraphicsDrawImage($hGraphic, $hImage, 0, 0) _WinAPI_RedrawWindow($hGUI, 0, 0, $RDW_VALIDATE) Return $GUI_RUNDEFMSG EndFunc While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd png Dosyasının yolu belli zaten . bakıp incelersen bana hak verirsin arka planın rengini değiştiğimde komple yok oluyor Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.