Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • S

      Is it possible to scroll up/down with middle-click ? And/or move other view separator left/right ?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      38 Views
      PeterJonesP

      @shodanx2 said in Is it possible to scroll up/down with middle-click ? And/or move other view separator left/right ?:

      I wanted to move the “other view” separator with more ease

      Left click and drag isn’t easy enough for you?

    • S

      Open container folder in cmd but as a toolbar button ?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      137 Views
      S

      Hello

      Thank you for the responses !

      @Ekopalypse

      I have tried this method

      After installing PythonScript, it was unclear where I could add the script

      open_containing_folder_in_cmd.py

      I tried
      C:\Users\user\AppData\Roaming\Notepad++ (no)
      C:\Users\user\AppData\Roaming\Notepad++\plugins (no)
      C:\Program Files\Notepad++\plugins\PythonScript\scripts (maybe)

      It still wouldn’t appear, until restart (this should, auto refresh I believe, when you open configuration at least ?)

      It appeared in the menu

      0ac210cc-ad88-4800-87c7-58a74d503428-image.png

      But not in the configuration page

      322dddaa-81f2-486f-a484-d2097340a938-image.png

      Click on Plugins->Python Script-> Scripts -> open_containing_folder_in_cmd.py
      Did open cmd.exe in the right location

      Ah ok, from clicking the “new” script button

      The path is
      C:\Users\user\AppData\Roaming\Notepad++\plugins\config\PythonScript\scripts
      The folder was not created during installation apparently !

      Now it does appear !

      cd365908-f84e-46cf-8ff8-9ae887336bc6-image.png

      And yes this works !

      493bdea5-d298-4f7b-869c-b2918b47ebf8-image.png

      Thanks !

      @PeterJones

      Thanks for this suggestion

      I gave this a try as well

      ab026774-25a1-450d-8212-b4bc999595d7-image.png

      Then I edited

      C:\Users\user\AppData\Roaming\Notepad++\plugins\config\CustomizeToolbar.btn

      I pasted your suggested command
      changed the file to a screenshot of the cmd.exe icon I took
      I also added you suggested extra space fix

      File,Open Containing Folder,cmd,,fRgHGCzWpi.png,fRgHGCzWpi.png,fRgHGCzWpi.png View,Show Symbol,Show All Characters,,Icons\allChars.bmp,Icons\allChars_off.ico,Icons\allChars_off_dark.ico

      This did not work yet

      I used webservice
      https://www.icoconverter.com/
      To create a .ico file
      with these settings
      c7397a0a-1735-44fc-a70e-b4b6e891d909-image.png

      and I downloaded the 3 files from the github issues

      https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/icons/standard/toolbar/allChars.bmp
      https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/icons/light/toolbar/regular/allChars_off.ico
      https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/icons/dark/toolbar/regular/allChars_off.ico

      And I placed them in folder

      C:\Users\user\AppData\Roaming\Notepad++\plugins\config\Icons

      Restarted notepad++

      The icon appears and works but the icon is wrong

      f9a8a675-ab97-4ff9-931f-bb7bc7497520-image.png

      I tried these settings

      a95b67a9-69de-4527-9a06-aa6cbbbac32f-image.png

      Also does not work

      0c0e31a7-ed98-4597-a728-94df39b63ab7-image.png

      also no

      d5274fe9-e9c7-422b-b35b-93844462b236-image.png

      also no ???

      Oh wait

      File,Open Containing Folder,cmd,,cmd.ico,cmd.ico,cmd.ico

      should have been

      File,Open Containing Folder,cmd,,Icons\cmd.ico,Icons\cmd.ico,Icons\cmd.ico

      Icon has disappeared !

      54d68466-f8bd-4877-803e-82916cc556ec-image.png

      ok, instead move the file to C:\Users\user\AppData\Roaming\Notepad++\plugins\config
      51f48583-924a-4e0b-be1d-9df87f8909a3-image.png

      change it back to

      File,Open Containing Folder,cmd,,cmd.ico,cmd.ico,cmd.ico

      restart npp

      icon is back, but still question mark

      580fc2d1-b691-4081-916b-935a9805cdce-image.png

      Maybe the file is not 16x16 256 colours ?

      b7aa94fa-7748-42b8-8e51-49e507acb631-image.png

      Looks like it is as specified

      Maybe something is wrong with the file …

      e0b2e4e5-7210-4687-881d-69eebba78699-image.png

      I’m not good enough to mentally decode this, looks normal

      Hmm

      https://en.wikipedia.org/wiki/ICO_(file_format)

      0x02 idType is 1 , which is ICO good
      0x04 idCount is 1, just 1 image
      0x06 ICONDIRENTRY struct

      bWidth is 10 , which is width 16
      bHeight is 10, which is width 16
      bColorCount 0. does not use a pallette
      wPlanes is 1, has color plane , whatever that is, 0 is black and white ?
      wBitCount, it is 8 bit per pixel
      dwBytesInRes, 1384 bytes ?? idk

      …
      onion.bmp,onion.ico,onion.ico

      ah wait you have BMP in there ??

      2f4a2017-f18f-4b16-af27-0fa951d8d002-image.png

      File,Open Containing Folder,cmd,,cmd.bmp,cmd.ico,cmd.ico

      restart

      72f5b447-bfe2-46c1-a8b4-fc22137f42ad-image.png

      woohoo !

      Wow, I was about ready to give up there !

      Thanks both of you, I will go with the CustomizeToolbar plugin as it give me that distinctive icon !

    • Min LiuM

      Freezing when pasting large amount of text between quotes or heredoc (language PHP)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      52 Views
      Alan KilbornA

      @Min-Liu

      You should post your Debug Info.

      Does it hang forever or does it just take what seems like a really long time?