 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Sun Mar 23, 2008 8:34 pm Post subject: something that looks like gmail's spell check |
|
|
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
|
Posted: Sun Mar 23, 2008 8:43 pm Post subject: |
|
|
All I know is that I can't read anything of your yellow text, or I would hurt my eyes
Highlighting what? A text in a browser, in your own AHK Gui? What for? _________________ (sorry, homesite offline atm) |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Mar 23, 2008 11:02 pm Post subject: |
|
|
| daonlyfreez wrote: | All I know is that I can't read anything of your yellow text, or I would hurt my eyes
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
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
|
Posted: Sun Mar 23, 2008 11:35 pm Post subject: |
|
|
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 |
|
 |
Guest
|
Posted: Mon Mar 24, 2008 11:53 am Post subject: |
|
|
| 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 ), 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
|
Posted: Mon Mar 24, 2008 12:19 pm Post subject: |
|
|
| 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
|
Posted: Mon Mar 24, 2008 12:22 pm Post subject: |
|
|
| A modified ISense ... |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Mar 24, 2008 1:32 pm Post subject: |
|
|
| 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
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
|
Posted: Mon Mar 24, 2008 1:44 pm Post subject: |
|
|
| 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.  |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|