Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 6:02 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Really very basic scripting for beginners chapter 6
PostPosted: April 20th, 2006, 11:53 am 
Offline

Joined: October 25th, 2004, 3:03 pm
Posts: 540
Location: Tyalgum Creek. Australia
Opus: Opus Pro Latest version 9.02 Build 16458
OS: Won 10
System: Asus laptop Intel Core i5 8 gig ram, big monitor, reading glasses
Hello everyone

This chapter does not discuss any new scripting commands. What this chapter does discuss is how to use the scripting commands we learned to created a timed multiple choice test.

If a scripting guru could have a look at this chapter and work out a way to either use a clock or ticker script command to count down a time limit to answer a question, then that would be terrific.

The problem is that the countdown clock must stop once the test candidate has answered a question.

I was unable to work out how to script a clock or ticker that could be stopped by a left mouse click action.

The timer mechanism used in this publication relies on a show() and hide() script in conjunction with an If and Else script. Using the If and Else script function solved the stop clock problem.

However, there has to be an easier way to add a timer faciility to tests and test questions and if anyone has ideas, please lets hear them! :D

Cheers

Graham


Attachments:
Multiple choice test lesson 6.zip [60.7 KiB]
Downloaded 1447 times
You want to learn how to script chapter 6.zip [243.69 KiB]
Downloaded 1423 times

_________________
Too much coffee can result in frequent toilet breaks!


For this message Graham Baglin has been thanked by : mackavi


Last edited by Graham Baglin on April 25th, 2007, 12:51 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject:
PostPosted: April 21st, 2006, 1:55 am 
Offline

Joined: October 26th, 2004, 1:26 pm
Posts: 262
Hi Graham,

I haven't had the chance to look at your pub yet, but see if the attached IMP helps. It has a 15 second timer in scripted and non-scripted versions.

(Edit: updated IMP file, as script on Page 2 ticker was incorrect)


Attachments:
File comment: Opus Pro XE 5.5
COUNT15.IMP [43 KiB]
Downloaded 1471 times

_________________
Cheers,
Steve


For this message Steve H has been thanked by : mackavi
Top
 Profile  
 
 Post subject:
PostPosted: April 21st, 2006, 2:36 am 
Offline

Joined: October 25th, 2004, 3:03 pm
Posts: 540
Location: Tyalgum Creek. Australia
Opus: Opus Pro Latest version 9.02 Build 16458
OS: Won 10
System: Asus laptop Intel Core i5 8 gig ram, big monitor, reading glasses
Thanks for your help Steve. Your publication is absolutely brilliant as usual!!!!!!!! The revolving arrow is fantastic.

Just looking at page 2 of your example, your work is absolutely fantastic.

Anyone who is interested in Chapter 6 should download your example Steve. I'll now do an update on chapter 6 and include the while loop.

Thank you very much

Cheers

Graham

_________________
Too much coffee can result in frequent toilet breaks!


For this message Graham Baglin has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group