Sign in to follow this  
Followers 0
afroman

Not sure why this isnt working properly

5 posts in this topic

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)

Share this post


Link to post
Share on other sites



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)

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

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

pintas,

Please do not necro-post like this - open a new thread and link if you want to ask a question. :naughty:

 

I'm actually trying to make a subliminal message app to test with my co-workers to see if i can improve their performance

But make it a question with which we would be prepared to help - that one is completely out of bounds. :naughty:

And so following that double whammy... <click>

M23

1 person likes this

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0