Using AutoHotkey for research (psych)

Get help with using AutoHotkey and its commands and hotkeys
mic22
Posts: 2
Joined: 16 Sep 2019, 03:33

Using AutoHotkey for research (psych)

22 Jun 2020, 02:23

Hi, I am a psychology masters student and I am thinking about doing some subliminal research. I want to investigate whether AutoHotkey would let me do things I want to do.

I want to show pictures on screen for a split second. I have a 120 Hz monitor.

I tried SplashImage with Sleep, but it takes a value in miliseconds, and as a result If I set it to 10 ms it should approx. display it for the duration of 1 monitor refresh. But because the value in ms isn't synchronized with the refreshes of the screen sometimes the image doesn't appear or appears for longer. Is there a way to be sure that the image is displayed for one monitor refresh and only one refresh?

Also can I make it random, in this way:
someone is using the computer to do some usual work, searching google, looking into docx files etc. and in between window switches I would throw an image for 10ms (one refresh).
The idea is to minimize the risk of them noticing what is on the image. Humans can detect even 120 hz if the visual stimulation is low, that is why I need to throw the image when the user expects the screen to change drastically and doesn't pay attention.

Thanks in advance for help!
BoBo
Posts: 3766
Joined: 13 May 2014, 17:15

Re: Using AutoHotkey for research (psych)

22 Jun 2020, 04:14

Interesting challenge! No idea if this can be handled in a (hardware) synchronized fashion using AHK?
Probably related stuff ...
https://www.testufo.com (check out the different options within its headers DDL)
https://www.testufo.com/scanout (WARNING!)
https://www.vsynctester.com/
https://www.vsynctester.com/howtocomputevsync.html :?:

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], blured, boiler, hasantr, mikeyww, Smile_, sobuj53, SOTE, Xsawers and 51 guests