afroman Posted October 20, 2008 Share Posted October 20, 2008 Basically i made a script that generates another script, but its the script thats being generated that seems to have the problem. I'm looking to splash the text so fast that its can be used as a subliminal message (i found a program that does the same and didnt want to pay so thought i would make my own), the problem is that i cant get the sleep time just right, anything above 1 millisecond is too long and obviously noticeable, anything below 1 and it seems that the text splashes at random and most of the time only the box appears. I know this is only a very small problem but is there anything i'm doing wrong? CODE ; example of generated script SplashTextOn("", "hello",82.5,40,-1,-1,5,"",24) Sleep(0.5) SplashOff() Sleep(2000) SplashTextOn("", "hello",82.5,40,-1,-1,5,"",24) Sleep(0.5) SplashOff() Sleep(2000) Link to comment Share on other sites More sharing options...
Minikori Posted October 20, 2008 Share Posted October 20, 2008 Basically i made a script that generates another script, but its the script thats being generated that seems to have the problem.I'm looking to splash the text so fast that its can be used as a subliminal message (i found a program that does the same and didnt want to pay so thought i would make my own), the problem is that i cant get the sleep time just right, anything above 1 millisecond is too long and obviously noticeable, anything below 1 and it seems that the text splashes at random and most of the time only the box appears.I know this is only a very small problem but is there anything i'm doing wrong?CODE; example of generated scriptSplashTextOn("", "hello",82.5,40,-1,-1,5,"",24)Sleep(0.5)SplashOff()Sleep(2000)SplashTextOn("", "hello",82.5,40,-1,-1,5,"",24)Sleep(0.5)SplashOff()Sleep(2000)Pretty sure Sleep() freaks out when using decimals. You could either try Sleep(1/2) or just not sleep at all. For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com Link to comment Share on other sites More sharing options...
afroman Posted October 20, 2008 Author Share Posted October 20, 2008 Thanks for the help, But i've just tested those out and Sleep (1/2) (aswell as non) has the same problem, popping up randomly and not loading quick enough... Link to comment Share on other sites More sharing options...
pintas Posted December 10, 2013 Share Posted December 10, 2013 It appears to be a lack of 'precision' of some sort. 10 miliseconds should be enough so you don't actually see the text but just a quick glimpse of a blur. I'm actually trying to make a subliminal message app to test with my co-workers to see if i can improve their performance, etc... So.... about reviving this (very) old thread... is there a way to get a flash a message on screen for 10ms without windows or gaining focus? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 10, 2013 Moderators Share Posted December 10, 2013 pintas,Please do not necro-post like this - open a new thread and link if you want to ask a question. I'm actually trying to make a subliminal message app to test with my co-workers to see if i can improve their performanceBut make it a question with which we would be prepared to help - that one is completely out of bounds. And so following that double whammy... <click>M23 pintas 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts