• Logitech keyboard macro will not record

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Andrew LaPorteA

    Well I guess I should have done some more research. It appears the Logitech application requires admin privileges with Notepad++.

    Not sure why when this works in normal notepad but when I launch the Logitech LCore.exe with administrative privileges it works.

    If someone could tell me why Notepad++ is acting differently than notepad that would be nice. I always try to learn something new.

    Thanks,

    Andy

  • Hide "Find in Files progress..." dialog box

    2
    0 Votes
    2 Posts
    2k Views
    Cees TimmermanC

    I simply drag annoying ontop windows out of view.

  • Curser position sporadic reset

    4
    0 Votes
    4 Posts
    5k Views
    Jan OonkJ

    You can update the XML Tools Plugin to a newer version now to v2.4.8 which fixes this problem.
    Use Notepad++ > Plugins > Plugin Manager > Show Plugin Manager > Updates and choose XML Tools to be updated.

  • Printing with NpPP

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello David,

    I tried on

    windows 7 x64
    npp 6.8.7
    hp laserjet

    no problem seen.

    Cheers
    Claudia

  • Inserting a tag around selection

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hi Jean-Pierre Moularde,
    not as a native function, as far as I know.
    What could be done is writing a python script to do it
    but therefore you need to install the python plugin.
    I wrote what needs to be done here.

    So code could be a two liner like

    seltext = editor.getSelText() editor.replaceSel('<open>{0}</open>'.format(seltext))

    This would set the text <open> before and </open> after your selection.
    The {0} is where you selection will be put in.

    If anything is unclear let us know.

    Cheers
    Claudia

  • URL not understood after #!

    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Jorge-Jorhoe

    Couldn’t this be automated?

    Yes, by recording and saving a macro.

    Cheers
    Claudia

  • CSS - Enter Colon After Autocomplete

    3
    0 Votes
    3 Posts
    3k Views
    Bruce NicollB

    Absolutely perfect, cheers mate.

  • Displaying space caracters

    5
    0 Votes
    5 Posts
    9k Views
    AdrianHHHA

    For actually displaying the space characters see menu => View => Show symbol => Show white space and tab.

  • Won't display special characters in cmd.

    4
    1 Votes
    4 Posts
    4k Views
    Aleksander ZmorzyńskiA

    Yeah, thats what friends told me “just avoid them” :)

    anyway, thanks for input :)

  • Syntax Highlight CDATA Content in XML Files

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    3 Posts
    3k Views
    Claudia FrankC

    Hi Ernie,

    newest version 6.8.7 solves this issue.

    Cheers
    Claudia

  • Is there any way to jump to/open a file from the result of Find in Files?

    3
    0 Votes
    3 Posts
    2k Views
    ToshikazuT

    Oh no, that’s so easy. Thank you very much!

  • Capitalisation

    3
    0 Votes
    3 Posts
    3k Views
    Tony PittT

    Aaargh! I thought I was there, but I’m not :-(

    The issue now is that it always replaces the next character with a uppercase version of the one that was next when the macro was recorded, whereas I want it replaced by the current next character … However, I’ve now discovered the Edit>Convert Case to->UPPERCASE which does do what I want. I wonder why the TextFX plugin doesn’t. Ah well, at least I can start my conversions …

    T

  • help with notepad++

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hi,

    how do you do this exactly?
    If I create, let’s say c:\my.html file with content

    <html> my message to display </html>

    and open firefox, add file://c:\my.html I do see the message.

    Cheers
    Claudia

  • Fetching and writing source code from and to DB records

    3
    0 Votes
    3 Posts
    3k Views
    Claudia FrankC

    @Michael-Gollnick

    2nd try - both example scripts

    I have some questions concerning a special plugin.
    Maybe someone else has already developed a plugin similar to my project.

    My source code is stored within a DB and NOT in a simple file. I want to read and
    write source code directly from to the DB.

    DB-querying is not a problem.

    But, how to insert query results into the editor (e.g. from the clipboard).
    Where to find an … how to get started.

    Has anyone got an idea.

    Thanks a lot, beginner.

    Hello Michael-Gollnick,

    well I don’t have a specialized plugin for this but maybe
    you can use the python script plugin to achieve this.
    Which database do you use?
    If it is SQLite than it is easy because it is already
    part of python 2.7, if it isn’t than maybe someone
    has already written a py module to access it.

    So two scripts like the followings could maybe solve your problem

    [code]
    import sqlite3

    conn = sqlite3.connect(r’D:\my_database.sqlite’)
    c = conn.cursor()
    c.execute(‘SELECT Code_ID, Code FROM Code’)
    records = c.fetchall()
    dict_record = dict(records)
    msg = “”
    for record in records:
    id, code = record
    msg += “{0} {1}\n”.format(id, code)

    console.write(’ Codes \n’ + msg)

    id = notepad.prompt(“Select the ID from the console output window”, ‘SELECT Code_ID, Code FROM Code’, ‘nothing chosen’)

    if id != ‘nothing chosen’:
    notepad.new(id)
    editor.addText(dict_record[int(id)])

    c.close()
    [/code]

    and second script to save the changes

    [code]
    import sqlite3, os

    conn = sqlite3.connect(r’D:\my_database.sqlite’)
    c = conn.cursor()
    c.execute(r’UPDATE Code SET Code = ? WHERE Code_ID = ? ',(editor.getText(),os.path.basename(notepad.getCurrentFilename())))
    if c.rowcount > 0:
    conn.commit()
    os.remove(notepad.getCurrentFilename())
    console.write(“CODE UPDATED”)
    else:
    console.writeError(“UPDATE failed”)
    c.close()
    [/code]

    For easy access you can assign icons (16x16 bmp) to the scripts and add it to the notepad toolbar.

    Cheers
    Claudia

  • Extended Search mode in Find dialog

    3
    0 Votes
    3 Posts
    19k Views
    Jonathan WeersJ

    For whatever reason, it seems to have left the ? menu. F1 brings up About.

    file:///C:/Program%20Files%20%28x86%29/Notepad++/user.manual/documentation/notepad-user-manual/searching/normal-search.html

    (in browser) is an example of where I could find it before updating recently (mine was around v6.3.x at the time), using Windows 7. I can still find it there and you may have it available as well. In case you don’t, here’s the list:

    \\ - Backslash character; \t – TAB character; \r – CR character; \n – LF character; \0 – NULL character; \x## - Hexadecimal value (between 00 and FF); \u#### - Extended hexadecimal value (between 0000 and FFFF, meant for Unicode characters); \d### - Decimal value (between 000 and 255); \o### - Octal value (between 000 and 377); \b######## - Binary value (between 00000000 and 11111111).

    However, I have a problem with searching things like “w\0o\0r\0d”. It seems to combine the characters in a weird way, and I’m not sure why. Same happens with \x00 instead of \0. \x00o might find \x00n instead, or \0\0. I don’t know if I’m doing something weird, but it seems like this should work fine.

  • Install Plugins without administrator privileges. GPUP.exe

    Locked
    3
    1 Votes
    3 Posts
    35k Views
    AdcubumITA

    Hi Dail

    Thank you for sharing your solution with me :)
    I’ll try it out and post my results here

  • Weird folder behavior

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    Here is a possibly similar thread. Perhaps your line endings are not consistent?

    https://notepad-plus-plus.org/community/topic/10723/udl-code-fold-get-incrementally-out-of-alignment/2

  • Running Notepad++ from read-only media?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Console behavior with process error message.

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    eui.exe is probably writing the errors on STDERR (standard error). If so, then one of these should work for you:

    cd "$(CURRENT_DIRECTORY)" c:\euphoria\BIN\eui.exe 2>&1 "$(FILE_NAME)"

    or

    cd "$(CURRENT_DIRECTORY)" del _temp_eui_err_out >nul c:\euphoria\BIN\eui.exe "$(FILE_NAME)" 2>_temp_eui_err_out if exist _temp_eui_err_out type _temp_eui_err_out