Connecting Several Scripts


Author
Message
Connorrr
Connorrr
Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)
Group: Forum Members
Posts: 28, Visits: 164
Hi,
   I am completely new to Inquist and I was wondering if it is possible to "link" scripts together, so once one script ends then next one automatically begins?  Ideally this would upload the results as we progress through.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
Yes, this is perfectly possible. You'll want to use the <batch> element to do that. I.e., create a script that contains

<batch>
/ file = "a.iqx"
/ file = "b.iqx"
/ file = "c.iqx"
</batch>

call it e.g. "batch.iqx" and place it alongside the regular scripts (a, b and c in the above example). Running batch.iqx will administer script a, followed by script b, followed by script c.

This also works on the web: batch.iqx is the file you register as your active web script. You then upload the "actual scripts" (a, b, c) in the next step along with any other files (images, etc.) those scripts require / rely on.

You will find <batch> functionality covered in the "How to Combine Multiple Scripts" and "Running Sequences of Inquisit Scripts and Other Applications" topics in the documentation's how-to section, as well as in the language reference topic for the <batch> element.

Hope this helps.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search