Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    portable Notepad++ with python scripts

    Help wanted · · · – – – · · ·
    2
    3
    2224
    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.
    • MaDill
      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 Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        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 0
        • MaDill
          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
          Copyright © 2014 NodeBB Forums | Contributors