Community
    • Login

    Python script plugin does't show my script after save it

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 2.0k 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.
    • Hellena CrainicuH Offline
      Hellena Crainicu
      last edited by

      I made a Python script, I save it as newpython.py in c:\Program Files\Notepad++\plugins\PythonScript\scripts\.

      Now, I want to run it, but cannot find it…

      10635153-8df2-46f9-b06d-d5389a83e06f-image.png https://snipboard.io/lNdVp5.jpg

      1 Reply Last reply Reply Quote 0
      • Hellena CrainicuH Offline
        Hellena Crainicu
        last edited by

        I find the answer. I must use the Installed Version of Notepad++, not the Portable Version as to work.

        1 Reply Last reply Reply Quote 0
        • Alan KilbornA Online
          Alan Kilborn
          last edited by

          I must use the Installed Version of Notepad++, not the Portable Version as to work.

          Lest other readers of this thread believe it, it is not true.

          I made a Python script

          Well, how exactly did you do this?

          If you did Plugins > Python Script > New Script, and give your script a name and some lines of code, after you Save it for the first time you can go to Plugins > Python Script > Scripts and it will be shown there.

          However, if you create a new .py file in the ...\plugins\Config\PythonScript\scripts\ folder in some other way, it will not show up in the menus until after you restart Notepad++.

          Using the New Script method, there’s an automatic way for the plugin to know to modify the menus right away. Using any other method – how could it know? At startup of N++ (and thus the plugin), it scans the scripts folder to build the menus the initial time, so it finds all existing scripts at that time.

          1 Reply Last reply Reply Quote 3

          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