Bonjour,
I have a problem with the use of <choice>, I want that the user select a file
with selectURL and if he choices Cancel, I use the current file.
I do something like this :
<sequence>
<choice>
<command name="selectFile"
parameter="openFileURL %d"/>
<get expression="%d"/>
</choice>
<set expression="%_" variable="NomFichier"
plainString="true"/>
<get expression="$NomFichier"/>
<set variable="Liste"
expression="join(document($NomFichier)//@AccrocheLien,' ')"/>
<get expression="$Liste"/>
<command name="pick" parameter="'Choisir AccrocheLien'
false %_"/>
<set expression="%_" variable="Accroche"
plainString="true"/>
</sequence>
but when I choice Cancel, the macro stops.
--
Cordialement,
Marc Courriel : Marc.Liste at free.fr
Post-Joint : <none>.