Flutter: How to increase scroll speed of the mouse wheel on Windows - windows

When I use the mouse wheel to scroll in a ListView on Windows, it is very very slow. If I use the mouse to drag, it works fine.
Is there any way to increase scroll speed of the mouse wheel for Flutter Apps on Windows?
Flutter (3.0.4, on Microsoft Windows)

You can set your scroll settings in here:
settings/Mouse/Choose how many lines to scroll each time.

I don't know Flutter functionality, but it's always possible to do the following trick.
You must have access to the Windows file system and administrator rights in order to pass a command to executable exe files that are the starter file to run the code of programming languages designed to execute Windows commands.
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
C:\Windows\System32\cmd.exe
C:\Windows\System32\wscript.exe
C:\Windows\System32\vbscript.exe
Maybe the following link will be helpful for you to take the first step.
How to run a PowerShell script without displaying a window?
Maybe it's even a second step, but you'll still have to go through it if you don't want to have Windows executable flashing windows while your program is running or maybe vbscript.exe otherwise.

Related

How do I preserve PDcurses output in a Windows Console window after executable completes?

I'm writing an application for Windows 10 to display and update text at specific locations in a Windows console window. The program is launched by a command in the console window. Upon launch, it erases the window's previous contents, then displays its output, updating as it goes, until completion. Upon exit, it should leave the displayed output in place, and a new command prompt should appear below. Launch, display, and subsequent command prompt all occur in the same console window. (Old school, I know, but that's the requirement.) The program is written in C and uses calls to the PDcurses library to control cursor placement and to output display text to the screen. The application is built with GCC/MinGW on a Windows 10 platform.
Everything works until the application exits, but then the display output disappears and the previous window contents (from before the app was launched) reappear. From what I can tell, this seems to be the default behavior for curses, possibly due to the way it handles screen buffering.
I'm looking for ways to override this behavior, but I'm not sure how to approach it. Can I direct PDcurses to write to the standard screen buffer rather than the alternate screen buffer (if that's what's going on)? If so, how? Should I copy the contents of the screen buffer before I call endwin(), then copy those contents back to the screen buffer afterward? Again, how? I'm sure this problem has already been solved, probably many times, but I haven't found any solutions that seem to apply to a C executable running in a Windows console, and I have only limited experience with PDcurses and the Windows API library. Any help would be appreciated.
The official way to do it is to set an environment variable: set PDC_RESTORE_SCREEN=0. You can combine this with set PDC_PRESERVE_SCREEN=Y to prevent PDCurses from clearing the screen at startup.

Windows 10 - programmatically start up a program in another desktop

Windows 10 has the option for multiple desktops. You can easily switch between them with ctrl + win + left or right arrow.
We can also start programs at boot by placing them into start up folder.
I want to start a program (that is placed in the startup folder so that it starts when Windows boots, in case this is relevant) on another desktop rather than the main one. How do I do that?
So Windows boots normally on the main desktop, and my program opens on the 2nd desktop, so that the user that logs in does not notice the program running until they switch to that desktop.
NOTE: I am not trying to hide the program from the user, there are different ways to do this so please do not suggest solutions to this problem. I specifically need it to work in this way (2nd desktop).
Raymond Chen suggested in a comment:
You can use IVirtualDesktopManager::MoveWindowToDesktop to move a window to a specific desktop.
To get the desktop ID, use IVirtualDesktopManager::GetWindowDesktopId of a window already on the desktop you want to move to.

Powershell - Taskbar icons, Never Combine, Hide Lables, Group By App ID

In Windows 10:
Is there a way to use Powershell to modify the taskbar functionality? I know 7++Taskbar Tweaker does this, but I was curious if this can be done via Powershell as I can't use Taskbar Tweaker.
Goal:
Have multiple icons of same program open, next to each other, with no labels.
For example if I have a copy of PROD open in SSMS, and DEV in another instance of SSMS, I would like to click once just on the PROD (or DEV) without waiting for the hover to come down. I know this is not a major deal, just curious if powershell can do it and how.
Thanks for your help.
You mentioned 7+ Taskbar Tweaker. There's a library of the same author, 7+ Taskbar Tweaking Library, which you can use. Regarding PowerShell, this might help: Run my third-party DLL file with PowerShell.

windows Cmd freezes and I have to click on window to coninue

I have a ruby script that displays it's progress via the cmd and completes in about 10 minutes. In the last few weeks the cmd seems to freeze and after 10 minutes when I click on the cmd window it then completes the script.
I have searched on forums and suggestions include: disable QuickEdit Mode & Insert Mode which I have done but this has not fixed the problem.
The platform is an azure windows server 2016 VM.
Could this problem be due to a recent windows update?
Thanks
If you are using the usual Windows Command Window, Ruby has no way of knowing that you have clicked into the Window, so it is unlikely that it is related to the code. However, Windows does block a command to write to the command window on certain circumstances, and if this happens, Ruby waits on, say, STDOUT.puts, until it is allowed to continue. Of course this applies not only to Ruby, but to any application writing to the command console.
The most typical situation, in which this occurs, is, if you (maybe accidentally) select with the mouse something in the console Window. The script running in the console is blocked. By clicking with the mouse inside the window, the selection is cancelled, and the program continues to run.

Remembering terminal states in OS X (like Fluid for the shell...)

I have a few different things open in the terminal whenever I'm developing -- log tailing, Ruby console, plain shell in a certain directory, and so on.
How do I:
start all those things at once, hopefully in the right position on the screen?
make them distinct so I can switch to them with Quicksilver / Alt-Tab?
Fluid solved this problem with all of my web apps, so now I want to do it with my terminals.
And while we're on the topic, has anyone found a working solution for getting OS X to remember window positions on an external monitor? If I unplug it and plug it back in, I have to drag everything back to the same position (although at least Mercury Mover makes it possible to do it with the keyboard.)
Open Terminal, and go into Preferences, then go into the settings tab, and create a new setting for each of your windows that you want. Either give them all different colour schemes, or duplicate a colour scheme multiple times for them all to have the same settings. Under the shell sub-tab, add "Run command" to be run at shell startup. (This is the command that will cd to the directory you want, or tail a log).
Then initialise the windows as you want. Then click Window in the main menu and select Save Windows as Group...
In OSX Yosemite you can use (in Terminal) Window -> Save group. It will do all the work for you.

Resources