using batch to branch to other scripts non randomly


Author
Message
troyh
troyh
Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)
Group: Forum Members
Posts: 38, Visits: 190
Hello, I found an old script that did this like so

<parameters>
/ id = 0
</parameters>

<values>
/ id_selected = 0
</values>

<batch select>
/ file = "pracprac.iqx"
/ file = "1.2_5d62ecf0163.iqx"
/ file = "1.2_5e0fe5cc2fc.iqx"
/ file = "1.2_5ca616e03.iqx"
/ file = "1.2_5923e1de6944f.iqx"
/ file = "1.2_5f47f430ebf.iqx"
/ file = "1.2_5c3fa8e18c.iqx"
/ file = "1.2_5feb9213e14.iqx"
/ file = "1.2_59f110d1be.iqx"
/ file = "1.2_5efb35574b.iqx"
/ file = "1.2_59daaf5de5.iqx"
/ file = "1.2_5e23164bff2.iqx"



/ onscriptend = [
  if (batch.select.currentscript == "pracprac.iqx")
  {
   parameters.id = values.id_selected;
  }
]
</batch>


but Inquisit says my /onexptbegin = [ if (parameters.id != 1) script.abort(false) is an invalid identifier.


Attachments
batch.iqx (191 views, 612 bytes)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search