Community
    • Login

    Can I specify a hotkey for each of my pythonscripts?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 1.6k Views 2 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.
    • 古旮古 Offline
      古旮
      last edited by

      I am using Python Script 1.0.8.0.
      For now, I can only specify a hotkey for Run Previous Script, which means, if I have more than 1 script, I can’t invoke those scripts one after another.
      I’ve tried to record macro and run the script. Couldn’t record it.
      Is it possible to specify a hotkey for each script?

      Eko palypseE 1 Reply Last reply Reply Quote 0
      • Eko palypseE Offline
        Eko palypse @古旮
        last edited by Eko palypse

        @古旮

        yes, if you mean shortcut you can do this by using the pythonscript configuration menu and adding the scripts to the menu item list.
        Once done, restart notepad++ and goto Run->ModifyShortcut…->PluginsCommands and add your preferred shortcut.

        Just for info - the current pythonscript plugin version is 1.3.0

        Eko

        1 Reply Last reply Reply Quote 4
        • Scott SumnerS Offline
          Scott Sumner
          last edited by Scott Sumner

          Nothing at all wrong with @Eko-palypse 's response, but sometimes pictures help. :-)

          Drop down the Plugins -> Pythonscript menu and pick “Configuration”:

          Imgur

          After choosing “Configuration” you will see this window appear:

          Imgur

          "Add"ing your script to the “Menu items”, this gives Shortcut Mapper the ability to see it (after a Notepad++ restart). Then invoke Shortcut Mapper and you can keymap your “added” scripts on the Plugin commands tab there:

          Imgur

          1 Reply Last reply Reply Quote 5
          • Eko palypseE Offline
            Eko palypse
            last edited by

            I’m too lazy for those things :-D

            Eko

            1 Reply Last reply Reply Quote 2
            • 古旮古 Offline
              古旮
              last edited by

              Thanks for your help! Really appreciate it!

              1 Reply Last reply Reply Quote 1

              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