Community
    • Login

    portable Notepad++ with python scripts

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.9k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors