Millisecond Forums

Extracting Codebook from Syntax

https://forums.millisecond.com/Topic30783.aspx

By SMCM - 2/10/2021

We are working with several different Inquisit tasks, and for our lab's sake are looking to extract the codebooks from the syntax (user manual) into a separate document (word or text file). Is there a way to do this, or do I need to manually copy everything into a document?

For reference, 'codebook' is in reference to the individual variables and their descriptions.
EX:
"blockcode, blocknum:                the name and number of the current block (built-in Inquisit variable)"


Thanks!
By Dave - 2/10/2021

SMCM - 2/10/2021
We are working with several different Inquisit tasks, and for our lab's sake are looking to extract the codebooks from the syntax (user manual) into a separate document (word or text file). Is there a way to do this, or do I need to manually copy everything into a document?

For reference, 'codebook' is in reference to the individual variables and their descriptions.
EX:
"blockcode, blocknum:                the name and number of the current block (built-in Inquisit variable)"


Thanks!

Inquisit script files (.iqx) are simple plain text files (encoding is UTF-8), so if you're fluent in Python or some other programming language, you could certainly write a quick script that automatically extracts the contents between the <usermanual> open and </usermanual> close tags and copies them into some separate text file.