Sound files, Crashing, and Windows 7 (not as catchy as sun, sea and sangria) Update??

Michiel Spape Michiel.Spape at nottingham.ac.uk
Wed Mar 23 10:01:56 UTC 2011


Hi,
I agree with David - it's pretty likely that the screensavers states are polled changed between XP and Vista, so it presumably just detects it incorrectly. Since the refreshclocktest is just an .es, I suppose you can easily hack it... Yes, checked now. The inline "powercheck" executes several functions, which you find, in turn, in the User script are, and which return true or false depending on the check, e.g.:

Function IsScreenSaverEnabled() As Boolean
                'Default
                IsScreenSaverEnabled = False
                Dim strActive As String
                strActive = Rct_Registry_QueryValueString(RCT_REGISTRY_HKEY_CURRENT_USER, "Control Panel\\Desktop", "ScreenSaveActive")
                'Should represent a string integer
                If IsNumeric(strActive) Then
                                'If not zero, then screen saver is on
                                If CLng(strActive) <> 0 Then IsScreenSaverEnabled = True
                End If
End Function

... so you can see, it's not exactly the best way to have this script working in later OS'es, since it just polls the registry. Suppose there's not even this key in the registry (pretty likely), then chances are, you won't get far.

But all that, if you don't like programming, or, like me, only have so many minutes, you could of course, safely ignore. See the experiment, and where it fails:
"It has been determined..."
But, don't skip the small print!
"Press the letter P key to enable simulating mouse responses.  This is only recommended if your network policies do not permit adjusting your power or screen saver settings."
And press P instead. Voila, it continues.

Also possible, in the inline:
"If Not bFail Then Goto PowerCheckPassLabel"
Change this to:
"If bFail Then Goto PowerCheckPassLabel"

Also works.
Best,
Mich


Michiel Spapé
Research Fellow
Perception & Action group
University of Nottingham
School of Psychology
www.cognitology.eu

From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Lidia Suarez
Sent: 23 March 2011 02:50
To: e-prime at googlegroups.com
Subject: Re: Sound files, Crashing, and Windows 7 (not as catchy as sun, sea and sangria) Update??

Hi all,

Thanks for your replies. I will keep you informed about PST's reply as soon as I get it. I agree with David's reply:
"I suspect however that Microsoft changed how programs can detect Standby/Hibernate functions and RefreshClockTest has not kept up with the change"

 Just to summarise:
I am testing Eprime2 Prof (no Eprime 1.2). The RefreshClockTest needs to be run with the anti-virus, screensaver, standby, and hibernated functions off. Otherwise, a message prompts you to turn them off before continuing. If I turn off these on XP, RefreshClockTest works. If I turn these on Vista, RefreshClockTest ask me again to turn them off (when they are already turned off) and it cannot proceed with the test (this is different to David's case, who can proceed with the test). The same happened when I tried Windows 7. Eprime2 comes with the same manual than Eprime1.2...(no more information about new OS such as Vista).

Thanks. Let's see what PST says...


--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20110323/058446d6/attachment.htm>


More information about the Eprime mailing list