Community
    • Login

    portable Notepad++ with python scripts

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MaDillM
      MaDill
      last edited by

      I created some scripts with the “Python Script” plugin. For adding some shortcuts to them, I added via “Plugins” > “Python Plugin” > “Configuration” to the menu. The path to this py files are stored absolute. This breaks when I use my portable Notepad++ on other computers. Is there any other option to add shortcuts to python scripts with relative path?

      My scripts are in plugins\Config\PythonScript…

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @MaDill
        last edited by

        @MaDill

        Other than editing PythonScriptStartup.cnf, I don’t think so.
        For example instead of
        ITEM/C:\programs\notepad++\plugins\Config\PythonScript\scripts\lexer.py
        try
        ITEM/.\plugins\Config\PythonScript\scripts\lexer.py

        Seems to work.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 1
        • MaDillM
          MaDill
          last edited by

          @Claudia-Frank

          Thank you. It seems to work. There is a similar issue on github: https://github.com/bruderstein/PythonScript/issues/15

          I added this as a comment there.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors