Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Contribute to the project #2

Open

Description

@itszux

I wanted to add more of system.windows.forms.textbox properties to the plugin, such as RightToLeft to support languages like arabic since align right doesn't move the caret to the other side of the text, and other TextBox properties, If this worked, but after building the project with MSBuild then trying to process the output with DLLExporter.exe I get this error

DllExporter warning: Nothing found to export.
DllExporter error: Unable to parse disassembly (DllExport class not found)!

Sometimes it says
DllExporter: Processed InputTextX.dll

But then, when I try to load it in rainmeter I get this
Plugin: Unable to load "InputTextX" (error 193)

I don't use C# much, and this is the first time trying to edit Rainmeter plugins, so I can't figure out what's wrong.

Can you describe how to build it, if you have time, or I can just push the "RightToLeft" feature to my fork for you to check it and test it if you can

Activity

  1. NSTechBytes commented on Jan 20, 2026

    @NSTechBytes
    Owner

    You did a great job. I’m not sure why you’re encountering Error 193.
    I cloned your forked repository and tested with RightToLeft = yes, and it works fine for me. You might want to look up the error for more details.

    One question: are you compiling this using Visual Studio 2022?

    I’ve also made changes to the project and would recommend syncing your fork, as it contains important updates.

    Image

  2. itszux commented on Jan 20, 2026

    @itszux
    Author

    There is no official documentation on making rainmeter plugins, or their errors, so I couldn't find anything on the internet related to that error, but the Ai overview on google says (Rainmeter's "Error 193: Unable to load" usually means the plugin DLL file is missing, corrupted, incompatible (e.g., 32-bit on 64-bit system)) so I'm propably doing something wrong during the build or dllexporter.

    I don't use Visual Studio, I usually code in Visual Studio Code or Sublime Text since I do website development mainly and some local scripts
    But for this, I downloaded Visual Studio Build Tools, and I use "Developer Powershell For VS" to build the plugin.

    Anyway, now I saw your new Build script, and I tested it out, and it worked directly, it's amazing that you did all that in one night

  3. itszux commented on Jan 21, 2026

    @itszux
    Author

    Now I have some questions regarding the plugin itself and the TextBox
    Sorry in advance for the length; feel free to skip anything if you don’t have time. I’d really appreciate any insight you can share.

    1- as you can see in my rainmeter skin there a left padding inside the TextBox, I tried to add the Padding property on System.Windows.Forms.TextBox but it didn't work, and in the doc it says "This property is not relevant for this class."
    But now that I tested the skin released with the build, I saw that it has 0 left padding, so I played around with it, and it seems that it happens with "SF Pro Rounded" font, I don't know why, can you comment on this (the font and the property)?

    2- in my Rainmeter skin I use InputTextX measure on top of string meter to take notes and save it, but the skin's background is transparent, so is there a way to make the textBox background transparent without the text? (From the search I did, it seems not possible, but since you are more experienced, maybe you know some workaround)

    3- I have a custom-made scroll bar in my rainmeter skin, that scrolls the text meter. I wanna try to play with the TextBox scroll mechanism to see if I can get the scroll value from the text field so I could send it via some function (Like OnScrollAction) to lua script so it syncs its value with my scrollbar. I know this is advanced but I think its doable (If there is a method or event of TextBox that gets scroll value) , what do you think?

    4- I don’t usually contribute to open-source projects, but if I manage to implement any of these changes or improvements, would you be open to a pull request to this repository?

    2026-01-21.01.54.06.mp4
  4. NSTechBytes commented on Jan 21, 2026

    @NSTechBytes
    Owner

    If you need transparent background then try this
    https://forum.rainmeter.net/viewtopic.php?t=44947

  5. NSTechBytes commented on Jan 21, 2026

    @NSTechBytes
    Owner

    Anyways I will try to implement RTL and OnScrollUp/down acrtions (if there is method).

  6. itszux commented on Jan 24, 2026

    @itszux
    Author

    I figured out how to write OnScrollAction (on mouse wheel action).
    Now I'm just trying to find a way to detect scroll by up/down arrow keys, because I can't send an onscroll event on each arrow key press, I have to find a way to detect if the arrow down key is pressed on the last line (with multiline) (this will scroll down one line) or arrow up key is pressed on the first line (this will scroll up one line)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions