Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 5
»
How to copy/generate a list of all elements in a given script
How to copy/generate a list of all elements in a given script
Post Reply
Like
37
How to copy/generate a list of all elements in a given script
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
serge
serge
posted 5 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 7,
Visits: 13
Is there a way to copy (or save as a text file) the list of all elements used in a script, for instance as they appear on the right-hand panel (Alphabetic) of Inquisit Lab?
I'm trying to compare 2 complex scripts to identify and rename duplicate elements to use with <include>
Thanks!
Reply
Like
37
Dave
Dave
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
serge - Wednesday, February 27, 2019
Is there a way to copy (or save as a text file) the list of all elements used in a script, for instance as they appear on the right-hand panel (Alphabetic) of Inquisit Lab?
I'm trying to compare 2 complex scripts to identify and rename duplicate elements to use with <include>
Thanks!
You can do the following:
(1) Open the script in Inquisit Lab, then parse it (click the "Validate script" button).
(2) Click on the "Output" tab at the bottom:
There you'll find parsing result, which is a list of all the elements in the script, in the order they were parsed. The output can be selected and copied:
(3) Then you can paste the output into a text editor of your choosing, and you'll have your list of elements (example attached).
Alternatively or in addition, since Inquisit script files (*.iqx) are simple text files (not some binary format), you can use a simple diff tool (e.g. WinMerge under Windows;
http://winmerge.org/
) to compare the two (complex) scripts -- this will highlight any differences.
Attachments
exampleoutput.txt
(
284 views,
1.00 KB
)
Reply
Like
34
serge
serge
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 7,
Visits: 13
+
x
Dave - Wednesday, February 27, 2019
+
x
serge - Wednesday, February 27, 2019
Is there a way to copy (or save as a text file) the list of all elements used in a script, for instance as they appear on the right-hand panel (Alphabetic) of Inquisit Lab?
I'm trying to compare 2 complex scripts to identify and rename duplicate elements to use with <include>
Thanks!
You can do the following:
(1) Open the script in Inquisit Lab, then parse it (click the "Validate script" button).
(2) Click on the "Output" tab at the bottom:
There you'll find parsing result, which is a list of all the elements in the script, in the order they were parsed. The output can be selected and copied:
(3) Then you can paste the output into a text editor of your choosing, and you'll have your list of elements (example attached).
Alternatively or in addition, since Inquisit script files (*.iqx) are simple text files (not some binary format), you can use a simple diff tool (e.g. WinMerge under Windows;
http://winmerge.org/
) to compare the two (complex) scripts -- this will highlight any differences.
Thank you, Dave! The parsing option seems particularly straightforward.
Reply
Like
35
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
37
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search