Antwort auf: mobilepickphoto

Startseite Foren Deutsches LiveCode-Forum mobilepickphoto Antwort auf: mobilepickphoto

#2322
baumi92
Teilnehmer

    Habe bis heute ein paar Emulatoren ausprobiert und muss leider feststellen, dass diese allesamt extrem langsam sind (vor allem „Andy“). Ich probiere es seither mit der 2. vorgeschlagenen Methode der IF funktion.

    Wenn ich die Lesson aus dem Internet durchgehe müsste mein Script nun so aussehen oder?

    on mouseup
    set the lockloc of the templateimage to true
    set the width of the templateimage to 350
    set the height of the templateimage to 200
    set the left of the templateimage to „10“
    set the top of the templateimage to „10“
    if the environment = „mobile“ then
    mobilePickPhoto „library“
    else
    answer file „beispiel“
    — bei diesem Script bin ich mir eben nicht sicher…
    end if
    end mouseup

    auf meinem Desktop befindet sich besagte Datei bzw kann ich eine Datei auswählen es passiert aber nichts. statt „Beispiel“ habe ich auch den Dateipfad probiert aber ich komme leider nicht weiter.

    ist „answer“ der richtige Befehl um Fotos zu importieren? bzw kann ich diese mit „templateimage“ bearbeiten? und mit „the result“ weiterverwenden?