x001z Posted November 12, 2011 Share Posted November 12, 2011 (edited) I want to hide words from a text loaded from a txt file or a word doc,... what i need to do is:Show the first two words and hide the rest, wait a second and then hide this words and show the next two words, and so on.Ex.1.-This is an example text2.-This is an example text3.-This is an example text4.-This is an example textDoes any body can point me to the right direction?The file loaded could contain several pages, I was thinking to use a edit control but i don't find how to do this, any ideas?Thanks in advance!. Edited November 18, 2011 by x001z Link to comment Share on other sites More sharing options...
czardas Posted November 12, 2011 Share Posted November 12, 2011 (edited) An idea using edit control! You could set the text colour to the background of the edit control. Then walk through the text by selecting the text you wish to be visible. I once did something similar to this, highlighting every word with a sleep delay, and the effect was most pleasing. It should also be possible to set the edit control background to the same colour as the highlight background which surrounds the selected text. This should make everything invisible (except the actual highlighted letters) including the.selection background (although I haven't actually tried it). Edit1 I should have thought of this first. You may find using a Rich Edit control to be more suitable since there are more colour options, although you will have to experiment with that. The text selection method makes scrolling the text into view easier. Edit2 Spelling Edited November 13, 2011 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
x001z Posted November 16, 2011 Author Share Posted November 16, 2011 @Czardas thx for the idea that could work but there is no way to hide/unhide, change the color of a specific words? Link to comment Share on other sites More sharing options...
JohnOne Posted November 16, 2011 Share Posted November 16, 2011 @Czardas thx for the idea that could work but there is no way to hide/unhide, change the color of a specific words?If you use a richedit control you might find a solution.hint: _GUICtrlRichEdit_* AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
x001z Posted November 18, 2011 Author Share Posted November 18, 2011 Sorry, I have to double check to see the exact functions sorry for bother you again. Thanks both. 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