Hello,
I tried to write a macro-command which searches for a file in several
subfolders.
This is my current macro:
<cfg:command name="holen">
<cfg:macro>
<cfg:sequence>
<cfg:command name="prompt" parameter="'Zu suchende
Judikatennummer...' 'Judikatennummer:'"/>
<cfg:set variable="judnum" expression="%_" plainString="true"/>
<cfg:get expression="$judnum"/>
<cfg:command name="XXE.open"
parameter="file:///H:/judikatur/%_.xml"/>
</cfg:sequence>
</cfg:macro>
</cfg:command>
At the moment the file will be opened, if it is located at
H:/judikatur/. But - needless to say - not if it is located at
H:/judikatur/ar/ or H:/judikatur/str/ (There will be more subfolders
than these two!).
Is it possible to sift through different subfolders and, if the searched
file is found, to open it at XML-Mind?
Kind regards,
Monika