milano88 Posted February 10, 2011 Share Posted February 10, 2011 (edited) Merhaba Arakaşlar ! Şimdi ben bir klasöre 1 tane ses dosyası ve 1 tane exe ekledim bu 2 dosyayı aşağıdaki kodla aynı zamanda çalıştırdım yani 1 ses 2 exe 3 komut dosyası komut dosyası klasördeki dosyaları veya yanındaki dosyaları algılayıp çalıştırıyor fakat ben bu 3 dosyayı tek dosya halinde getirip exe yapmak istiyorum nası yapabilirim? winrar ile sfx yapıyorum fakat koşede açılan exe bozuk gibi çıkıyor kullandığım kod şu [code]#NoTrayIcon SoundPlay(".\son.wav",0) Run(".\son.exe") Sleep(2500) Exit[/code] Edited February 10, 2011 by milano88 Quote Link to comment Share on other sites More sharing options...
blackman12 Posted February 10, 2011 Share Posted February 10, 2011 bu dosyaları fileinstall ile autoit exesine ekleyebilirsin. Quote Link to comment Share on other sites More sharing options...
milano88 Posted February 10, 2011 Author Share Posted February 10, 2011 hocam nerde yanlış yapıyorum bu şekilde mi olması lazım [code]$b = True If $b = True Then FileInstall("C:\son.exe", "C:\son.wav"), "C:\ddd.exe") Run("ddd.exe") Exit [/code] Quote Link to comment Share on other sites More sharing options...
blue_life Posted February 10, 2011 Share Posted February 10, 2011 Evet aynen @blackman12'ye katılıyorum... [codebox]#NoTrayIcon #include <File.au3> Global $Sound_File = _TempFile(@TempDir,"~",".wav") Global $Run_File = _TempFile() FileInstall("son.wav",$Sound_File) SoundPlay($Sound_File,0) FileInstall("Son.exe",$Run_File) RunWait($Run_File) Sleep(1500) FileDelete($Run_File) FileDelete($Sound_File) Exit[/codebox] Quote Link to comment Share on other sites More sharing options...
milano88 Posted February 10, 2011 Author Share Posted February 10, 2011 sorun çözülmüştür arkadaşlar 2 nizede kolay gelsin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.