I know my way around Python, PHP and Java/unity-script, but now I'd like to make standalone .exe's. Specifically I'd like to make an "always on" color library that sits in the (windows) tray and down the line I'd like to make a color picker replacement, like Jovian colorpicker (which I use all the time but that sadly has been discontinued).
What is the best way/programming language to do this? Do I need to learn C++ etc, or can this be done in Python?
Thanks!
Replies
Not that it's better than anything but instead of programming it you could use one made by some else.
Link:http://color-cop.en.softonic.com/
peanut: Thanks. Jovian is a really good color picker and will work for a while yet, but I'd like to have something a bit more future proof. Also, I wouldn't mind learning to do it myself.
Where C# will have everything you needed included in the .NET libraries. Also since you mentioned Unity, yes it will help you a lot there too. Since C# is the more powerful of the 2 languages supported by Unity, and unlike Unity's bastardized JavaScript it is a standard and known language that is useful all over and not just in unity.
Also Visual Studio is a really nice IDE to work in and the 2015 community edition is full featured and free.
You will want to just create a new Windows Form application in Visual Studio, that will get you started with 1 form, and a Class with a Main() method.
C# shouldn't be a huge jump for you, since python would have gave you a good grounding in OOP code design, your experience with UnityScript would have taught you about explicit types. Will likly notice that C# is just way more explicit and verbose and how it works.
If you were working in 3ds max, the additional bonus would be that you could write an assembly/dll in C# and load it in 3ds max and use its functions quite easily. Makes for good code reuse.
marks: Thanks.
Zhalktis: I am using Max at work, but I mostly write python scripts/plugins for modo. I have a few ideas for tools that would be nice to have in Max though, so that would be a bonus.
http://doc.qt.io/qt-5/qsystemtrayicon.html#details
It takes time, but I learned with these:
http://www.polycount.com/forum/showpost.php?p=2318335&postcount=25
I went with C# and it's pretty easy to get the hang of, but I just can't figure out how to replace the windows default color picker. I guess I need to listen for the opening of the default color picker and hook into/hijack that somehow?, but I don't even know what to google for and none of the examples I find online do what I need to do. So, any C# programmers out there that can point me in the right direction?
Here's what I have so far (UI is not finished in any way, it's thrown together for testing purposes):
- Color library where you can save/load colors
- Search for color by name
- Find similar colors to active color, based on a tolerance input
- Pick color from screen
- RGB, HSL, HEX sliders/inputs (so far)
- A lot more to come (feedback welcome)
My goal is to make it a complete, but lightweight, color manager that replaces the windows color picker (and other applications' custom color pickers, when I figure out how to do that).