website logo
Auteur
avatar
Sergius

Forum » » Logiciel » » [Résolu] - Scripts Arexx perdus pour piloter ANR depuis PolyOrga


Post� : 31-03-2010 21:07 icone du post

Citation : JaMiGa 
-----------------------------------------
A vrai dire, PolyNET ou PolyOrganiser c'est pareil, peut importe.

Non, c'est pas pareil.

Alors, après avoir lu le guide, voilà ce que ça pourrait donner:


/**/
if ~show('Ports','AMINETRADIO.1') then do
    address command
        'run <>NIL: chemin_vers_aminetradio'
    'waitforport AMINETRADIO.1'
end
if show('Ports','AMINETRADIO.1') then do
        address 'AMINETRADIO.1'
        'PLAY NAME="http://radio.rim952.fr:8000/stream.mp3"'
        'SAVETODISK'
end


Ca devrait fonctionner, je ne peux pas tester lÃ, et dtf j'ai viré ce plantogène qu'est ANR.
Pour l'arrêt je te laisse chercher .

-----------------------------------------
Fin de citation

Je comprends très bien le sens du code à partir du deuxième if, mais je ne comprends pas à quoi sert le premier if.
Amigalement

Cet article provient de Meta-MorphOS
https://www.meta-morphos.org/viewtopic.php?topic=490&forum=53