WIndows "start cmd" driving me crazy (setting colors) - windows

I have searched high and low for the answer to this, to no avail.
I am on Windows 10.
I have a batch script to launch a bunch of command windows using "start cmd".
When I do that, it is not picking up the text color I have set.
I know how this is "shortcut dependent", and I have tried every way I can
using Properties and Defaults, without success.
It seems I can set MOST of the properties to my liking (Font, Layout), but
not the Text Color.
If I open the window from the Start menu (or Run command), I get my white text.
But if I used "start cmd" it is using different Properties (which I also tried to set)
and text color is some teal/blue color.
However: when I look at the properties for that window, and click text color,
the white box at the far right is highlighted, and when I click it, it shows
(255,255,255) - but that's not what it's using!!
How do I get it do what I want? [without using any 3rd-party apps, if possible]

Related

Setting ENABLED to property_false for combo box list item does not alter the prompt foreground color

Using Oracle Form Builder 10.1.2.3.0, I have a List Item of type Combo Box with a Prompt and next to it in the same Block is a CheckBox.
When I disable these two items with
SET_ITEM_PROPERTY('block.item', ENABLED, PROPERTY_FALSE);
the CheckBox and its prompt go gray but the prompt portion of the List Item does not change. This makes the form and its developer look ridiculous.
Is this a bug?
To accomplish what I want I have to execute these when the List Item's enablement changes:
set_item_property('block.item', foreground_color, 'r150g150b150')
set_item_property('block.item', foreground_color, 'r70g70b70')
And these are just guesses because the color meter app is not perfect.
Half of the problem would "go away" if I could use a visual attribute but the form builder app complains about the "gray" color not being named.
Surely there is a better solution. Maybe playing with the LAF? But I have yet to figure out LAF customization.
I would not expect the prompt to change, but the edit area where text is entered will change. There is one exception. If running with colorScheme SWAN or BLAF the text edit are will always remain white unless you explicitly change the color. This is expected behavior.
If you are using SWAN or BLAF, which EBS does, by setting readOnlyBackground=true you can cause the edit area to go from white to a non-white color (the exact color will depend on the colorscheme in use). Because this parameter is not in the config by default it would need to be added manually and also added to the html template file.

How to programatically change Windows 10 accent color?

I want to make a script to change my accent color to a random color every day, using a command line or whatever I can find.
I found that I can change the "AccentColorMenu" in Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent in the registry to immediately change the color of window title bars and borders (and thus use reg.exe on command line). But changing "StartColorMenu" does nothing.
And preferrably I would like to change the color the same way control panel does it so the same color conversions are done for start menu etc.
I found this program that can be used on the command line to do exactly what I want (in WSL because getting a random color was a lot easier):
'Windows 10 color control.exe' -accent_color $(openssl rand -hex 3)
While program is a few years out of date and some of its functionality doesn't seem to work anymore (Accent color always overrides DWM color and disabling new auto-color accent algorithm doesn't seem to do anything), it works perfectly to just set the system accent color just like if you were to set it in Settings.

Change background color of function tool-tip in notepad++

I have already gone through following but that's not the issue here.
How to change background color in the Notepad++ text editor?
I am programming in python using notepad++ and applied Deep Black theme in which have a black background and white text color.
While typing a function it shows function syntax in a tool-tip having white background which contrasts with black background of notepad.
I have already searched in Style Configurator but no luck.
How can I change tool-tip's background color ?
Notepad++ uses Scintilla as its editor component. The calltip feature comes directly from scintilla. For scintilla features having no direct configuration options in the gui of Notepad++ (calltip style seems to be such a feature), you need a method to send messages to Scintilla.
One way to do that (and the only one I know of other than programming a plugin) is the use of NppExec plugin. It provides a SCI_SENDMSG command. The scintilla website provides detailed documentation about every possible message. For your use case it says this:
Call tips are small windows displaying the arguments to a function and are displayed after the user has typed the name of the function. They normally display characters using the font facename, size and character set defined by STYLE_DEFAULT. You can choose to use STYLE_CALLTIP to define the facename, size, foreground and background colours and character set with SCI_CALLTIPUSESTYLE. This also enables support for Tab characters. There is some interaction between call tips and autocompletion lists in that showing a call tip cancels any active autocompletion list, and vice versa.
Thus we need to send the SCI_CALLTIPUSESTYLE message and (continue reading on the website) we can configure foreground and background color with SCI_CALLTIPSETBACK and SCI_CALLTIPSETFORE.
So to set the color of the calltip by sending messages to the Scintilla editor component using NppExec, you need do this:
install NppExec with the PluginManager or from PluginCentral. The NppExec zip file contains the dll and some subdirectories. When installing/upgrading into Notepad++ plugin directory, take care that the subdirectories NppExec is created under the plugins directory (just unzip the file into the plugins directory). The NppExec directory contains the file Scintilla.hwhich has all the definitions for the possible messages.
store these lines as a NppExec script (Plugins -> NppExec -> Execute... , enter the following lines and select save, e.g. as SetCallTipStlye):
// use CALLTIPSTYLE instead DEFAULT
SCI_SENDMSG SCI_CALLTIPUSESTYLE 0
// background to black ( 0 )
SCI_SENDMSG SCI_CALLTIPSETBACK 0
// foreground to white ( 0xffffff )
SCI_SENDMSG SCI_CALLTIPSETFORE 0xffffff
execute the script with OK
Now your calltip Window should be white on black, you might want to adopt the colors by changing the arguments.
If everything works as you expect, then Plugins -> NppExec -> Advanced Options offers the option Execute this script when Notepad++ starts on the upper right area of the config dialog. Select the script name under
which you saved the line (e.g. SetCallTipStlye)
Alas, I have not been able to find out how to configure the autocompletion style. I hoped it would use the same style as the calltip style, but autocompletion stays black on white.

How to change terminal font color in PyCharm?

I want to set my terminal color scheme, such that I will have black text on light background (white or light yellow for example).
I changed "Console Colors" settings, such as Background, Standard output, and System output, under Editor > Colors & Fonts > Console Colors, but I keep running into the same problem.
If I change Background color to let's say white. It also changes text (Standard output and my user input to the same color). I can't figure out, which setting controls the color of the font, which appears in the terminal window. In fact, it appears that font color is the same as background color, which is confusing to me. I would expect to be able to independently control background color, and font color, which to me represents "Foreground".
<
Changing colour in
Preferences->Editor->Color Scheme->Console Colors->Standard Output
should change the terminal font's colour.
I suppose it happened on Windows. If yes then it is affected/controlled by Windows registry. Try one of the following method:
Open Windows cmd and from drop down menu selects defaults. Then change the Text and Background colors to match your choice in PyCharm. The problem occurs if you have different color settings in Windows cmd instead of default.
Delete HKEY_CURRENT_USER\Console key from Windows registry.
More information available on this link
To configure color and font scheme for consoles
Make sure you are working with an editable scheme.
Open the IDE Settings, and under Colors&Fonts, scroll through the list of components, and select the ones related to consoles:
Console Colors
Console Fonts
In the right-hand pane, click the desired component in the list, and change color settings and font type:
See Image of how to do it

What's the name of the bar below the Property grid in VS?

I'm using the Visual Studio Color Theme Editor extension to help darken up VS2010, found a nice theme that I like however I've got one big problem with it.
On the Property sheet, at the bottom where it says the name of the property and a sort description this theme I'm using is impossible to read; Black on a dark grey background. Unfortunately, I don't know what this specific segment of the Property window is called to change it.
You can not change the text color with the extension.
To figure that out, copy FFFFFF, select all line in the theme editor configuration pane (with Shift), press Ctrl+V (yes, you can do that, pretty neat !) and hit apply : everything that can be themed will then appear white. The text however, will stay black.
You can hopefully change the background color : It's called ToolWindowBackground. It will affect all tool windows of course. There's no specific item for this window in particular.

Resources