How to set the default dates range in TortoiseGit log dialog? - tortoisegit

How do you set the default dates range in TortoiseGit log dialog?
In the Filtering Log Messages of the TortoiseGit Manual it is mentioned that:
A default limitation for From can be configured in the settings dialog
on the Dialogs 1 page (cf. the section called “TortoiseGit Dialog
Settings”).
But on TortoiseGit 2.4.0.2, in that dialog I cannot find such a possibility.

As described in the manual (cf. https://tortoisegit.org/docs/tortoisegit/tgit-dug-settings.html#tgit-dug-settings-dialogs):
It's only possible to configure the From value not the To one.

Related

How do I play a blf file in CANalzyer

I'm somewhat new to using CANalyzer and have never used the logging feature in the product. I was sent a BLF file to analyze and am unsure how to use it. Can someone point me in the right direction? Thanks
To be a little more specific:
Set the offline mode in the standard toolbar.
Click on the configuration tab, usually at the bottom of the window. You will see the Measurement Setup window.
Double click on the Configuration of the Log Files block - there you can add your recorded log file (should be in .blf format).
For more CANalyzer documentation, you can go to: https://kb.vector.com/29/
When the .blf file is ready, after logging the activity in CANalyzer, open with desired workspace and change the mode to Offline mode.
In "Measurement Setup" make sure that the mode is "Offline" and now right click on the icon which comes as input to Offline block.
Click "Configuration" and in the next window, remove unwanted file selection and Add your required .blf file and press OK.
Now press F9 or select the "Start" icon on the tool bar.
After these steps, the activity logged will play in the corresponding tab.
This is not replaying the CANoe but it is analyzing the traces from given logs.
For Replaying you need to add this logs into real time ECU running with all configurations

I am editing mouse settings in the registry but they seem to do nothing

I have made a program to change the mouse sensivity in the same way as you can do it with the Control Panel.
The changes are made in the registry, the keys at HKEY_CURRENT_USER\Control Panel\Mouse and they are in fact done (I have checked them from regedit.exe) but the mouse works as if this changes are not made. In other words, the changes do not take any effect, they only do if you use the control panel. Why do they not take effect?
Windows registry isn't something that is refreshed all the time. The changes you made will be applied after the current user (that's why it's HKEY_CURRENT_USER) logs in again, or as you said after using control panel, which will read the registry. I don't know, what language your program is written in, but you should check out this link: "https://msdn.microsoft.com/en-us/library/ms724947.aspx"
In general, tweaking registry settings directly is unsupported, especially when there's an API to tweak the setting. In this case, the API is SystemParametersInfo. In particular, you need to use the SPI_SETMOUSESPEED as the argument for the uiAction parameter.
In other words, the changes do not take any effect, they only do if you use the control panel. Why do they not take effect?
Because there's often a little more to it than setting the value in the registry. Often there is a notification that must be sent after changing the value in order to tell the all the other software on the machine to drop any cached values and replace them with the new value that's now in the registry. In many cases, the notification will be in the form of a broadcast message.
In the case of mouse driver settings, you probably need to use the SPIF_UPDATEINIFILE argument for the fWinIni parameter. You might also need to OR it with SPIF_SENDCHANGE to broadcast a WM_SETTINGCHANGE message, but I'm not sure about that.

Windows Registry changes will not work

I´m trying to make some changes(Wallpaper/Themes) on a windows7 enviroment, until now, I copied some files in to a directory with admin rights, so the "hard" part is over.
Trying to change the registryKey with a batch or with a Powershell file will work, as an Admin and as a normal-user.
The bad thing is, if I try to make the changes as an Admin, then the changes will be just for the adminSession. And I want to make the changes for the normalUser and every new user(with not admin rights).
I found that with a batch file, I can make some changes to my normalUser account:
HKCU:\Software\Micorsoft....\Themes\ and change the value CurrentTheme to my own Windows theme.
If I check my registry, I notice that the CurrentTheme value was accepted, and after a reboot stay so.
But Windows shows me the default theme... ¬¬
I tried to change "everything" to set my Theme as default, but nothing works..
Is there a way to make it works? Why windows is refusing to take the changes in the registry and always show me the default Theme?
Go to HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows
In the left pane, right click on Windows and click on New and Key. Type Personalization and press enter (if not already exists).
Create a New and String Value called ThemeFile and press Enter. Right click on ThemeFile and click on Modify. Type in the full path of the .theme file with file extension in "" (example: "C:\Users\UserName\AppData\Local\Microsoft\Windows\Themes\NewCustomTheme.theme") ; it will be default for new users.
Are the systems on a domain?
You should know that registry values stored within the Policies key and all the subkeys after that can be reset by domain group policy at any time. That is to say that if you make a change here and reboot or run gpupdate, you can expect the values to be erased.
If you really want to change the theme for all users, you should use Group Policy to apply the theme, as seen in this link. Group Policy Settings for Windows Personalization.. Look in the section under "Set a Specific Theme".
I've done this for clients a number of times. You can also set a specific theme as the default by logging on as the Default Profile and making changes. Keep in mind that this approach should be done when you build a system image to deploy to the environment.

Update Edit Field with property set by FileBrowse dialog

I have an Edit field that begin's empty. The user uses a button that launches the FileBrowse dialog and allows them to choose a file. This is all working, the file is stored into a property and the functionality is as intended.
However, the Edit Field is not being updated once the user chooses the file. Going forward then back a dialog shows the property in the field, but I can't ask the user to do this. I have read that this is an MSI limitation and was wondering if there are any ways around it.
Essentially I need to "refresh" the dialog, or at least the edit field control after the user chooses their file.
Thanks
This is indeed a limitation from Windows Installer. The only solution to overcome this from an MSI package is to use the twin dialog method.

Programmatically Changing XP Appearance Settings

I am trying to silently apply very specific appearance settings for a single user with poor eyesight on an XP machine.
I can alter the settings by using the appearance tab of the display settings dialog and clicking apply/ok. Doing this works however the user cannot see well enough to change her settings back to how she likes them each time she logs on.
Just changing the registry keys does not make the desired changes until the user logs off and then on again. For reasons that would take too long to explain, I cannot simply get the user to log off and then on again. I need the settings to be applied immediately upon login.
So! I either need to force windows to apply the display settings, a process which seems to be associated with the 'Please Wait' dialog, screenshot included OR I need to programmatically change the appearance settings individually (which includes altering 'Advanced' font-size settings).
Many thanks.
Please Wait Example http://www.dur.ac.uk/alexander.holmes2/b/pleasewait.jpg
Does this user have his/her own windows User? (his/her own account on XP). It should keep settings for you if you have them as a separate user from whoever else likes the larger DPI. Just create a user.

Resources