Titel eines Songs umbennen

  • Ok, Danke!

    aber wie wende ich jetzt diese funktion an?
    ich habs so probiert:

    [autoit]

    _setID3Tag("C:\bla\bla.wma", "Title", "neuer titel")

    [/autoit]

    ist das so richtig?

    Edit: der "normale" Pfad stimmt, hab den mehrmals überprüft!

  • Hi,
    Fehlermeldung, oder benennt er die Datei einfach nur nicht um?

    /Edit:
    Das Problem hatte ich und die, die noch mitgemacht hatten, als es darum ging das Musikspiel zu scripten auch schon.

    [autoit]

    Func _DLLstartup($DLLpath = '')
    If $DLLpath = Default Or $DLLpath = '' Then $DLLpath = @ScriptDir & '\cddbcontrol.dll'
    ShellExecuteWait('regsvr32', '/s /i ' & $DLLpath, @WindowsDir, 'open', @SW_HIDE)
    EndFunc ;==>_DLLstartup

    [/autoit][autoit][/autoit][autoit]

    Func _DLLshutdown($DLLpath = '')
    If $DLLpath = Default Or $DLLpath = '' Then $DLLpath = @ScriptDir & '\cddbcontrol.dll'
    ShellExecuteWait('regsvr32', ' /s /u ' & $DLLpath, @WindowsDir, 'open', @SW_HIDE)
    EndFunc ;==>_DLLshutdown

    [/autoit]

    Die beiden Funtkionen sind falsch.
    Registriere die DLL mal von Hand also

    Start --> Ausführen und dann
    Regsvr32 "DLL_PATH\cddbcontrol.dll"

    /Edit2:
    Ich hab jetzt mal ein bisschen rumprobiert und hoffe, dass es so jetzt geht.
    Bevor du die DLL jetzt registrierst Tausche mal die 2 Funktionen mit denen aus:

    [autoit]

    Func _DLLstartup($DLLpath = '')
    If $DLLpath = Default Or $DLLpath = '' Then $DLLpath = @ScriptDir & '\cddbcontrol.dll'
    RunWait('regsvr32 /s ' & '"' & $DLLpath & '"')
    EndFunc ;==>_DLLstartup

    [/autoit][autoit][/autoit][autoit]

    Func _DLLshutdown($DLLpath = '')
    If $DLLpath = Default Or $DLLpath = '' Then $DLLpath = @ScriptDir & '\cddbcontrol.dll'
    RunWait('regsvr32 /u /s ' & '"' & $DLLpath & '"')
    EndFunc ;==>_DLLshutdown

    [/autoit]

    Dann sollte es eigentlich funtkionieren :)

    3 Mal editiert, zuletzt von anno2008 (12. Oktober 2008 um 19:22)