AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

something that looks like gmail's spell check

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sun Mar 23, 2008 8:34 pm    Post subject: something that looks like gmail's spell check Reply with quote

so when you spell-check in gmail you get back text where some random words are highlihgted, and if you click on them you get osme options. how could I do the same thing? I've highlighted some random words to let you know how I'd like it to look....
Thanks if anyone has any ideas!
Back to top
daonlyfreez



Joined: 16 Mar 2005
Posts: 755
Location: Berlin

PostPosted: Sun Mar 23, 2008 8:43 pm    Post subject: Reply with quote

All I know is that I can't read anything of your yellow text, or I would hurt my eyes Confused

Highlighting what? A text in a browser, in your own AHK Gui? What for?
_________________
(sorry, homesite offline atm)
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Mar 23, 2008 11:02 pm    Post subject: Reply with quote

daonlyfreez wrote:
All I know is that I can't read anything of your yellow text, or I would hurt my eyes Confused

Highlighting what? A text in a browser, in your own AHK Gui? What for?


I was thinking in an AHK gui. I'm sorry I didn't preview, but not being registered, I can't change the colors to something readable Sad

If you highlight it with your mouse you should be able to read it.

Maybe a moderator could change the color to a readable one...
Back to top
daonlyfreez



Joined: 16 Mar 2005
Posts: 755
Location: Berlin

PostPosted: Sun Mar 23, 2008 11:35 pm    Post subject: Reply with quote

I don't think you can select multiple text parts in an Edit control. Maybe you could try searching for RTF/IE control on the forum, even though I'm quite sure they don't support multi select/highlight either. You can try to do like your browser does it, highlighting with setting the background color/css in an IE control.

It all depends on what exactly you are trying to do.
_________________
(sorry, homesite offline atm)
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Mar 24, 2008 11:53 am    Post subject: Reply with quote

daonlyfreez wrote:
I don't think you can select multiple text parts in an Edit control. Maybe you could try searching for RTF/IE control on the forum, even though I'm quite sure they don't support multi select/highlight either. You can try to do like your browser does it, highlighting with setting the background color/css in an IE control.

It all depends on what exactly you are trying to do.



so multi highlihgt just means multi colored. What I want is very simple, imagine just a dictionary. so you have text like this one,w ith some words in red (for readability Smile Smile Smile ), and when you click on them, you get them in spanish. Say. So, how would I do that?
Back to top
n-l-i-d
Guest





PostPosted: Mon Mar 24, 2008 12:19 pm    Post subject: Reply with quote

Quote:
What I want is very simple, imagine just a dictionary. so you have text like this one,w ith some words in red (for readability ), and when you click on them, you get them in spanish. Say. So, how would I do that?


Create a html file for it? It's not difficult to generate a html page with what you describe. It depends on if you want this on existing text where you code the translations yourself, or do you want this on random text.

Take a look at the IE COM control. You could use it to get/set words from it's contents, search for a translation on some site, and return the result to the control.
Back to top
BoBoĻ
Guest





PostPosted: Mon Mar 24, 2008 12:22 pm    Post subject: Reply with quote

A modified ISense ...
Back to top
Guest






PostPosted: Mon Mar 24, 2008 1:32 pm    Post subject: Reply with quote

n-l-i-d wrote:
Quote:
What I want is very simple, imagine just a dictionary. so you have text like this one,w ith some words in red (for readability ), and when you click on them, you get them in spanish. Say. So, how would I do that?


Create a html file for it? It's not difficult to generate a html page with what you describe. It depends on if you want this on existing text where you code the translations yourself, or do you want this on random text.

Take a look at the IE COM control. You could use it to get/set words from it's contents, search for a translation on some site, and return the result to the control.


Unfortunately I don't know javascript Sad

If it's really so simple, could you do it?

This isn't about live translations, I'd like to present a page with words that I *know* will be difficuld, so I will handcode a "glossary" but I wanted to do it in the way I showed above.

could you help me out a little?
Back to top
BoBoĻ
Guest





PostPosted: Mon Mar 24, 2008 1:44 pm    Post subject: Reply with quote

Quote:
If it's really so simple, could you do it?
I can't see anyone else except yourself who claimed that it's a simple task. Check out ISense (as said already). Yes, you've to search the forum for it. Good luck. Cool
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group