Nodes status at startup

Home Forums cherrytree Nodes status at startup

This topic contains 24 replies, has 4 voices, and was last updated by  Klaas Vaak 1 month ago.

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #124764

    Klaas Vaak
    Member

    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?

    • This reply was modified 1 month ago by  Klaas Vaak.
    #124766

    eureka
    Member

    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.

    #124767

    Klaas Vaak
    Member

    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.

    #124768

    eureka
    Member

    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.

    • This reply was modified 1 month ago by  eureka.
    #124770

    Klaas Vaak
    Member

    OK Eureka, that is fine. I’ll await your next post.
    Cheers for now πŸ™‚

    #124771

    Klaas Vaak
    Member

    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.

    #124772

    eureka
    Member

    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.

    #124773

    Klaas Vaak
    Member

    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.

    #124774

    eureka
    Member

    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 …

    https://autohotkey.com/board/topic/5531-sort-clipboard-contents/

    ..

    Another approach would be to use python script in concert with AHK.

    • This reply was modified 1 month ago by  eureka.
    #124776

    Klaas Vaak
    Member

    Thanks once again for your help!! πŸ™‚

Viewing 10 posts - 16 through 25 (of 25 total)

You must be logged in to reply to this topic.