When editing a note with the SimplyHTML text editor, I'd like to change the color of some words like the words "manager roles" below:
Currently, I have to do it manually as follow:
- highlight the text
- select the Text Color icon
- choose a color
- press ok (or enter)
This is very time consuming, especially when I have a lot of words I need to change color.
I am looking for a faster way, which allows me to do something like this:
- highlight the text
- press a hot key
and voilà, the job's done.
Is there any way to achieve this in Freeplane?
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When editing a note with the SimplyHTML text editor, I'd like to change
the color of some words like the words "manager roles" below:
[image: text_highlight]
Currently, I have to do it manually as follow:
- highlight the text
- select the Text Color icon
- choose a color
- press ok (or enter)
This is very time consuming, especially when I have a lot of words I need
to change color.
I am looking for a faster way, which allows me to do something like this:
- highlight the text
- press a hot key
and voilà, the job's done.
Is there any way to achieve this in Freeplane?
Thanks for pointing me to a useful thread. I will continue the discussion there.
FYI, I've already found a temporary solution: use AutoIt to perform the task. This solution satisfies my requirement but it is kind of ugly. I still prefer a built-in solution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Several months ago I did something automatic formatting with a keyboard
shortcut and the inline editing of the node (versus SimplyHTML). The trick
was to use a script with Java Robot.
Java Robot performs like AoutoIt, but without leaving Freeplane. It should
be less ugly and cumbersome. But you need to know some basic scripting,
which could be your case or not.
I don't find the thread, so i leave you my script in case it helps. You may
consider to use only inline editing of the nodes (versus SimplyHTML), and
the java.awt.Robot class to automate things.
But be aware this solution has it limitations...
here goes de script...
Thanks for pointing me to a useful thread. I will continue the discussion
there.
FYI, I've already found a temporary solution: use AutoIt to perform the
task. This solution satisfies my requirement but it is kind of ugly. I
still prefer a built-in solution.
Hi guys,
When editing a note with the SimplyHTML text editor, I'd like to change the color of some words like the words "manager roles" below:
Currently, I have to do it manually as follow:
- highlight the text
- select the Text Color icon
- choose a color
- press ok (or enter)
This is very time consuming, especially when I have a lot of words I need to change color.
I am looking for a faster way, which allows me to do something like this:
- highlight the text
- press a hot key
and voilà, the job's done.
Is there any way to achieve this in Freeplane?
Thank you.
You should check this thread from 3 years ago....
https://sourceforge.net/p/freeplane/discussion/758437/thread/ee90a70c/
We are still trying to see with Dimitry whether we can do something about
it...
2014-12-18 15:29 GMT+01:00 Robertonisola robertonisola@users.sf.net:
Thanks for pointing me to a useful thread. I will continue the discussion there.
FYI, I've already found a temporary solution: use AutoIt to perform the task. This solution satisfies my requirement but it is kind of ugly. I still prefer a built-in solution.
Robertonisola...
Several months ago I did something automatic formatting with a keyboard
shortcut and the inline editing of the node (versus SimplyHTML). The trick
was to use a script with Java Robot.
Java Robot performs like AoutoIt, but without leaving Freeplane. It should
be less ugly and cumbersome. But you need to know some basic scripting,
which could be your case or not.
I don't find the thread, so i leave you my script in case it helps. You may
consider to use only inline editing of the nodes (versus SimplyHTML), and
the java.awt.Robot class to automate things.
But be aware this solution has it limitations...
here goes de script...
import java.awt.FlowLayout;
import java.awt.Robot;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
r.delay(300)
r.keyPress(KeyEvent.VK_CONTROL)
r.keyPress(KeyEvent.VK_E)
r.keyRelease(KeyEvent.VK_E)
r.keyRelease(KeyEvent.VK_CONTROL)
r.keyPress(KeyEvent.VK_ALT)
r.keyPress(KeyEvent.VK_NUMPAD0)
r.keyRelease(KeyEvent.VK_NUMPAD0)
r.keyPress(KeyEvent.VK_NUMPAD9)
r.keyRelease(KeyEvent.VK_NUMPAD9)
r.keyPress(KeyEvent.VK_NUMPAD1)
r.keyRelease(KeyEvent.VK_NUMPAD1)
r.keyRelease(KeyEvent.VK_ALT)
r.keyPress(KeyEvent.VK_ALT)
r.keyPress(KeyEvent.VK_NUMPAD0)
r.keyRelease(KeyEvent.VK_NUMPAD0)
r.keyPress(KeyEvent.VK_NUMPAD9)
r.keyRelease(KeyEvent.VK_NUMPAD9)
r.keyPress(KeyEvent.VK_NUMPAD3)
r.keyRelease(KeyEvent.VK_NUMPAD3)
r.keyRelease(KeyEvent.VK_ALT)
r.keyPress(KeyEvent.VK_CONTROL)
r.keyPress(KeyEvent.VK_K)
r.keyRelease(KeyEvent.VK_K)
r.keyRelease(KeyEvent.VK_CONTROL)
r.keyPress(KeyEvent.VK_SPACE)
r.keyPress(KeyEvent.VK_LEFT);
r.keyRelease(KeyEvent.VK_LEFT);
r.keyPress(KeyEvent.VK_LEFT);
r.keyRelease(KeyEvent.VK_LEFT);
2014-12-18 19:37 GMT+01:00 Robertonisola robertonisola@users.sf.net: