Code: Select all
FileCopy, %dir%\%Sound%, %A_scriptdir%\bits
if !fileexist(A_scriptdir "\bits\" Sound)
{
FileSelectfile, Change, S1, %dir%, Select an mp3 sound for your mover (or cancel to skip sound unchanged), *.mp3
if !Errorlevel
{
msgbox, 4096, OK, %change%, %A_scriptdir%\bits\#moved.mp3, 1
;Filedelete, %A_scriptdir%\bits\#moved.mp3,
Filecopy, %Change%, %A_scriptdir%\bits\#moved.mp3, 1
Filecopy, %change%, %A_scriptdir%\bits, 1
}
}