Is there a window opacity command in Batch? - batch-file

I've been searching a lot but I can't find anything useful, the only answers I found were on how to change the opacity of an image using a .bat file. I just found out recently that you could change the opacity of the CMD window under properties, I want to know if you can do the same in a batch file using just a command.

You'll have to wait for windows 10.
Meanwhile you can console2.It's an enhanced console for powershell and cmd.exe. And some other alternatives.
From the development team and a place to comment - sort-of

AFAIAA, ot until Windows 10...

Related

ConEmu text is too faint

I've just installed ConEmu for the first time on my Windows laptop (Windows 10, ConEmu 191012 Preview). But for some reason the text in all the windows is really faint. I've Googled and search Stack Overflow but I can't find anything about this. I've tried fiddling with the color setitngs in ConEmu but they don't seem to make any difference.
If I compare GitBash or Command Prompt when run in ConEmu as opposed to run independently, the text is much brighter when run independently. I'm having to close my curtains to be able to read the text on the screen! In the room the effect is more pronounced than it appears in the screenshots below, but you can see the difference.
GitBash run independently:
GitBash prompt in ConEmu:
Does anyone know what I can do to fix this?
In case you ever come back to this or someone else stumbles upon this. In ConEmu go to settings -> In the left sidebar select Colors in the Features section-> click directly on the color picker box. Each of the colors for the included schemes Ive looked at seem to have their luminosity setting lowered for some reason. Increase the lum value to 100, its located right above the big 'Add to Custom Colors' button in the bottom right of the color window.ConEmu Settings Pic

Conemu suppresses launch of an OpenGL application

Getting tired of the terrible cmd window, I found ConEmu which turned out to be a great replacement... except it suppresses the creation of the OpenGL window when I double-click launch the exe (I have ConEmu take over the normal cmd window completely).
If I launch the exe by going to the folder through ConEmu and typing out the name testOpenGL.exe then the application window launches properly.
It would be great if anyone has come across a similar issue and knows the solution.
Link to file: https://www.dropbox.com/s/meif3dgq4cxq5ct/tlocInputCallbacks.7z?dl=0
The window itself is empty because nothing is drawn (wanted to avoid sharing assets), but it shows up. That is, without ConEmu the console shows up as well as the window with an OpenGL context. Double clicking and letting ConEmu handle the console output does not spawn the window. Running the app manually through ConEmu by using the command prompt running the exe fixes the issue.

How to select a window from the background and make it the active window using batch programming / VB script

We are having twelve modules running in a server. Currently we have to monitor whether every module is working properly or not by logging in to the server and clicking on every individual module and checking the window. I am thinking of removing this manual dependency. I have made a VB script that can do the keyboard shortcut functions on the modules (e.g. If an MS word window is open, I can design the VB script to hit "Alt" and "F" buttons so that the "File" menu opens up). But the problem is that I can do it only on the active window and not the remaining 11 modules. Could anyone please suggest how I can programatically select another window/module?
You have to use the AppActivate Method. Here's the documentation for AppActivate.

What's different about Screensaver preview in Windows 8?

I'm working on a simple WPF-based screensaver and can't get the thumbnail preview to work.
When you open the display control panel and go to configure the screensaver, the selected screensaver is supposed to display a thumbnail preview within the dialog:
I've found several good examples online of how to do this, including:
Writing a screen saver in WPF
WPF Screensaver (Codeplex)
CC Hearts Screen Saver
Following these examples, I couldn't get anything to work - the preview thumbnail turns black, but nothing else appears. Downloading each of these (and a few others) and running them had the same result - a blank preview thumbnail. I've done this before on Windows 7 and it wasn't hard, so I was a bit frustrated.
Copying the binaries across to a Windows XP machine, I found that each of them showed a preview thumbnail successfully.
So, there's something that's changed between Windows 7 and Windows 8.
What do I need to do differently to enable my WPF screensaver to properly display a thumbnail preview on Windows 8?
I've found the most common problems with moving code from Win 8 to Xp is permission and dependencies. Check that the files are not needing some weird permissions (not sure what permission the preview runs with) and that all dependencies are honoured (also their permissions).
If I remember right, all windows screen savers are just renamed exe files with command line arguments. Maybe try rename it and run it directly?
Check what version of the framework you are using and try to use the client profile if possible
Also Try this small workaround if helps:
In Windows Explorer Go to > Options > Change folder and search
options then click on the View tab and uncheck the box that
says Always show icons, never thumbnails.
I hope it should work.

WPF XBAP applications blank after second/third deploy?

This has happened repeatedly on various machines in VS2008 and Visual C# 2008.
I create an XBAP appliation.
I click the green arrow and it works.
I click Build/Publish and publish it to either a website or folder, it works.
I make some changes, publish again, and I just get a white screen. Both browsers, can restart, always blank.
It seems to be some kind of caching, etc. Has anyone had this happen to them and found a workaround?
Is the version number incrementing? Right click on the xbap project, go to properties/publish tab, increase the version number and republish.
You can clear the application store using mage -cc command from VS command prompt. Check out this post for more info.

Resources