Code: Alles auswählen
SUB Link_oeffnen_1
    DIM oDoc AS OBJECT
    DIM oDrawpage AS OBJECT
    DIM oForm AS OBJECT
    DIM oFeld AS OBJECT
    DIM oShell AS OBJECT
    DIM stFeld AS STRING
    oDoc = thisComponent
    oDrawpage = oDoc.Drawpage
    oForm = oDrawpage.Forms.getByName("MainForm")
    oFeld = oForm.getByName("play 1")
    stFeld = oFeld.Text
    IF stFeld = "" THEN
    EXIT SUB
    END IF
REM	stFeld = convertToUrl(stFeld)
	shell("/usr/bin/mpg321", 1,stFeld)
END SUBAudiodatei wird ohne Verzögerung (unsichbar) abgespielt. Mache ich das REM weg ist kein Ton zu hören. ???