Bilder&Buttons

  • ich möchte das wenn ich button1 antippe das dann das hier in kraft gesetzt wird

    $pfad_zum_bild = "b.jpg"
    $Ziel_pfad_zum_bild = @TempDir & "\abc.jpg"
    FileInstall($pfad_zum_bild, $Ziel_pfad_zum_bild)
    $trans = 0
    $Sleep = 1500

    SplashImageOnCenter("0", $Ziel_pfad_zum_bild, 512, 234, 1)
    While $trans <> 255
    WinSetTrans("0", "", $trans)
    $trans = $trans + 1
    Sleep($Sleep / 255)
    WEnd

    Sleep(1500)
    SplashOff()
    FileDelete($Ziel_pfad_zum_bild)
    Func SplashImageOnCenter($title, $file, $width, $heigh, $opt)
    SplashImageOn($title, $file, $width, $heigh, @DesktopWidth / 2 - $width / 2, @DesktopHeight / 2 - $heigh / 2, $opt)
    EndFunc ;==>SplashImageOnCenter


    bitte um schnelle und hilfreiche antworten

    Einmal editiert, zuletzt von crime (1. September 2011 um 19:51)