Sunaj Posted March 2, 2008 Share Posted March 2, 2008 Hi, I've been trying to create a script to help out with meditation through visual brain entrainment and binaural sound (last point not touched upon in this post). But.. I cannot by any means seem to get around the tearing/flickering that occurs frequently when changing the background color from white to black or black to white. Any clever ideas on fixing this?! All help is appreciated #include <GUIConstants.au3> GUICreate ("My GUI") GUISetState() ; Run the GUI until user closes via traymenu While 1 Sleep(200) GUISetBkColor (0x000000) Sleep(200) GUISetBkColor (0xFFFFFF) $msg = GUIGetMsg() WendP.S. I used the the data from http://www.neoseeker.com/Hardware/faqs/kb/21,54.html to calculate that a 5 Hz rhythm (low Theta) would require a change of the background color every 200ms [list=1][*]Generic way to detect full path to default browser, List/ListView Events Using GuiRegisterMsg (detect doubleclick and much more)[*]Using dllcall for full control over fileopendialog, Make DirMove act somewhat normally (by circumventing it...)[*]Avoid problems with "&" (chr(38)) in code, Change desktop maximized area/workspace (fx to make deskbar type app)[*]Change focus behavior when buttons are clicked to work closer to 'standard windows' app[*](Context) Menus With Timed Tooltips, Fast Loops & Operators in AU3[*]Clipboard UDF, A clipboard change notification udf[/list] Link to comment Share on other sites More sharing options...
Squirrely1 Posted March 3, 2008 Share Posted March 3, 2008 Those of us from the western world have been instructed to avoid the practices of alchemy and sorcery, which is what your script is attempting, so I won't recommend that you try stretching an image using GUICtrlSetImage in place of GUISetBkColor. Das Häschen benutzt Radar Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now