Self-Paced Reading Task error


Self-Paced Reading Task error

Author
Message
luca7
luca7
Partner Member
Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)

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




Dave
Dave
Supreme Being
Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)

Group: Administrators
Posts: 9.5K, Visits: 42K
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 (79 views, 30.00 KB)
luca7
luca7
Partner Member
Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)

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


Dave
Dave
Supreme Being
Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)Supreme Being (608K reputation)

Group: Administrators
Posts: 9.5K, Visits: 42K
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 = "";

luca7
luca7
Partner Member
Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)Partner Member (869 reputation)

Group: Forum Members
Posts: 25, Visits: 68
I'll do that. Thank you very much again for your help!
Luca


GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search