22 January 2018 at 17:09 #124764
OK, that makes sense. So this is what I envisage:
!x:: run, C:\Program Files (x86)\CherryTree\bin\cherrytree.exe
But then I don’t know how to put in that next step, which is
+^L (i.e. Shift+CTRL+L)
and to end the script. Any suggestions?
22 January 2018 at 17:25 #124766
- This reply was modified 4 months ago by Klaas Vaak.
There is one twist. I shutdown PC and rebooted and preference now seems to kick in.
I have not seen Giuseppe visit this forum for some time. He might be busy developing next release.22 January 2018 at 17:38 #124767
So that means it works on Linux, good for you if you use the feature, but it does not solve the issue for me on Windows.22 January 2018 at 17:48 #124768
I’ll look at it when I next startup Windows 10 but there have been a number of threads recently discussing Windows wiping the shared Linux partition table during an upgrade. That is not helpful. I have to first take a backup of partition table as an insurance.
So I can’t try AHK at this moment.
22 January 2018 at 17:52 #124770
- This reply was modified 4 months ago by eureka.
OK Eureka, that is fine. I’ll await your next post.
Cheers for now 🙂24 January 2018 at 09:37 #124771
Hey Eureka, just wanted to let you know that I now have an AHK script that does exactly what you suggested 🙂 So, many thanks for suggesting for a solution that seems so obvious but that I was not able to come up with.24 January 2018 at 11:13 #124772
Good that this basic idea worked for you.
I take the view that we cannot expect any updates to the current generation of CherryTree and so in the interim, while we wait for Giuseppe’s development, we must engineer work arounds by using external tools such as AHK and others.
For example scripts can be created to search through CherryTree data.
I’m working on integrating CherryTree with other tools.24 January 2018 at 12:02 #124773
Yes, he seems to be pretty tied up with that porting activity.
BTW, is there a way to sort text within a node alphabetically? I have not found anything in the manual, nor in the menu. This is off-topic, so maybe I should open a new thread.24 January 2018 at 15:35 #124774
I’m back in Windows.
I have not had a need to sort contents of node page.
I could not find a native process for sorting.
But as an exercise I would extend your AHK script to
navigate to your node page
then using hotkey .. run these steps in AHK …
select all text in node page
cut content into clipboard
apply sort text in clipboard
paste back sorted text into node page.
I searched and found this guide …
Another approach would be to use python script in concert with AHK.
24 January 2018 at 16:51 #124776
- This reply was modified 3 months, 4 weeks ago by eureka.
Thanks once again for your help!! 🙂
You must be logged in to reply to this topic.