Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 5
»
RE: Self-Paced Reading Task error
Self-Paced Reading Task error
Post Reply
Like
39
Self-Paced Reading Task error
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
luca7
luca7
posted 6 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 25,
Visits: 68
Hello,
I'm back on a self-paced reading task that I run last year and it emerged a new issue.
As illustrated in the picture below, the script incorrectly adds dashes to the end of the sentence. The extra dashes appear once the end of the sentence is reached.
This error can be replicated both offline (downloading the script here
https://www.millisecond.com/download/library/selfpacedreading/
and running it using the latest version of Inquisit lab 5) or online clicking "run test online" at the same web address.
Hope there is an easy solution!
Thank you for your help.
Luca
Reply
Like
39
Dave
Dave
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
luca7 - Tuesday, December 25, 2018
Hello,
I'm back on a self-paced reading task that I run last year and it emerged a new issue.
As illustrated in the picture below, the script incorrectly adds dashes to the end of the sentence. The extra dashes appear once the end of the sentence is reached.
This error can be replicated both offline (downloading the script here
https://www.millisecond.com/download/library/selfpacedreading/
and running it using the latest version of Inquisit lab 5) or online clicking "run test online" at the same web address.
Hope there is an easy solution!
Thank you for your help.
Luca
Thanks for pointing out the issue. Fixed in the attached revision.
Attachments
selfpacedreading.iqx
(
411 views,
30.00 KB
)
Reply
Like
35
luca7
luca7
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 25,
Visits: 68
thank you very much!
Could you please indicate what you changed, so I can modify my version of the task?
Luca
Reply
Like
37
Dave
Dave
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
luca7 - Wednesday, December 26, 2018
thank you very much!
Could you please indicate what you changed, so I can modify my version of the task?
Luca
In your script's <expressions> element, replace the existing /getpostwindow expression with
/ getpostwindow = if(abs(length(values.inputstring-values.winend))!=0) {values.postwindowstring = substring(values.maskstring,
values.winend, abs(length(values.inputstring)-values.winend))} else values.postwindowstring = "";
and replace the existing /getpostwindowhl expression with
/ getpostwindowhl = if(abs(length(values.inputstring-values.winend))!=0) {values.postwindowstringhl = substring(values.maskstringhl,
values.winend, abs(length(values.inputstring)-values.winend))} else values.postwindowstringhl = "";
Reply
Like
33
luca7
luca7
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 25,
Visits: 68
I'll do that. Thank you very much again for your help!
Luca
Reply
Like
38
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
39
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search