Jump to content

Autıit'ile Dosya Birleştirme


milano88
 Share

Recommended Posts

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 by milano88
Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...