You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/powertoys/hosts-file-editor.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,9 @@ To filter host file entries, select the filter icon and enter data in either the
35
35
36
36
## Back up Hosts file
37
37
38
-
Hosts File Editor creates a backup of the hosts file before editing session. The backup files are located near the hosts file in `%SystemRoot%\System32\drivers\etc` named `hosts_PowerToysBackup_YYYYMMDDHHMMSS` and are deleted after 15 days.
38
+
Hosts File Editor creates a backup of the hosts file before editing session. By default backup files are located near the hosts file in `%SystemRoot%\System32\drivers\etc` named `hosts_PowerToysBackup_YYYYMMDDHHMMSS`.
39
+
40
+
Backups are deleted after 15 days, but the most recent 5 are always kept. This behavior can be configured in the PowerToys Settings.
39
41
40
42
## Settings
41
43
@@ -48,6 +50,11 @@ From the Settings menu, the following options can be configured:
48
50
| Placement of additional content | Determines where new host entries are added in the hosts file. Default value is **Top** (new entries are added near the top of the file after the default Windows header comments). If **Bottom** is selected, new entries are added at the end of the file. This affects the organization of your hosts file and can impact which entries take precedence if there are conflicts. |
49
51
| Consider loopback addresses as duplicates | When enabled, multiple loopback addresses (127.0.0.1, ::1) pointing to the same hostname are treated as duplicates. This prevents adding redundant entries and helps avoid conflicts. When disabled, you can add multiple loopback entries for the same hostname, which may be useful for testing different network configurations but could lead to unexpected behavior. |
50
52
| Encoding | Default value is **UTF-8**. If **UTF-8 with BOM** is selected, a Byte Order Mark (BOM) is included at the start of the file. |
53
+
| Backups hosts file | If enabled, a backup of the hosts file is created when you save for the first time in a session. |
54
+
| Location | Specify where backups are created. Default `%SystemRoot%\System32\drivers\etc`. |
55
+
| Automatically delete backups | Choose **Never**, **Based on count** or **Based on age and count**. |
56
+
| Backup count | When **Automatically delete backups** is **Based on count**, determine the number of backups to keep. Older backups will be deleted once the limit is reached. |
57
+
| Days | When **Automatically delete backups** is **Based on age and count**, determine the number of days to keep backups. Older backups will be deleted once the limit is reached. An optional count of backups can be configured to always keep a fixed number of backups despite their age. |
51
58
52
59
**Note:** The Hosts File Editor can't be launched with a shortcut key. To open the Hosts File Editor, select the PowerToys icon in the system tray and select **Hosts File Editor**.
Copy file name to clipboardExpand all lines: hub/powertoys/light-switch.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@ The following settings are available for Light Switch:
30
30
| :-- | :-- |
31
31
| Enable Light Switch | Turn the Light Switch utility on or off. |
32
32
| Theme toggle shortcut | Set a keyboard shortcut to manually toggle between light and dark themes. |
33
-
| Schedule Mode | Choose between using dark mode from **Sunset to Sunrise** (automatic based on your location) or **Fixed hours** (set specific times). Note that you must have location services enabled and synced for automatic mode to work. You can also disable the schedule by using the **Off** mode while still having access to the shortcut to toggle your theme. |
34
-
| Location |Sync your location to enable automatic switching based on local sunrise and sunset times. |
33
+
| Schedule Mode | Choose between using dark mode from **Sunset to Sunrise** (based on your location) or **Fixed hours** (set specific times). Note that you must have location services enabled and synced for automatic mode to work. You can also disable the schedule by using the **Off** mode while still having access to the shortcut to toggle your theme. |
34
+
| Location |Enter your coordinates manually or use location services to automatically switch between light and dark mode based on local sunrise and sunset times. |
35
35
| Offset in minutes | Adjust the time for switching themes by a specified number of minutes before or after sunrise and sunset. |
36
36
| Turn on dark mode | Set the time to switch to dark mode when using manual mode. |
37
37
| Turn on light mode | Set the time to switch to light mode when using manual mode. |
Copy file name to clipboardExpand all lines: hub/powertoys/mouse-utilities.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,23 +14,23 @@ Mouse utilities in PowerToys is a collection of features that enhance mouse and
14
14
15
15
## Find my mouse
16
16
17
-
Activate a spotlight that focuses on the cursor's position by pressing the <kbd>Ctrl</kbd> key twice, using a custom shortcut, or by shaking the mouse. Click the mouse or press any keyboard key to dismiss it. If you move the mouse while the spotlight is active, the spotlight will dismiss on its own shortly after the mouse stops moving. It has an option to use a transparent spotlight with independent backdrop and spotlight opacities, boosting focus and accessibility.
17
+
Activate a spotlight that focuses on the cursor's position by pressing the <kbd>Ctrl</kbd> key twice, using a custom shortcut, or by shaking the mouse. Click the mouse or press any keyboard key to dismiss it. If you move the mouse while the spotlight is active, the spotlight dismisses on its own shortly after the mouse stops moving. It has an option to use a transparent spotlight with independent backdrop and spotlight opacities, boosting focus and accessibility.
18
18
19
19
:::image type="content" source="../images/pt-mouse-utilities-find-my-mouse.gif" alt-text="An animated gif of the PowerToys Find my mouse feature of its Mouse Utilities.":::
20
20
21
21
## Gliding cursor
22
22
23
-
The gliding cursor is an accessibility feature that lets you control the mouse with a single button using guided horizontal and vertical lines. Use the <kbd>Win</kbd>+<kbd>Alt</kbd>+<kbd>.<kbd> keyboard key combination to activate the gliding cursor, then move the mouse to control its position. Cancel the gliding cursor with the <kbd>Esc</kbd> key or by clicking the mouse.
23
+
The gliding cursor is an accessibility feature that lets you control the mouse with a single button by using guided horizontal and vertical lines. Use the <kbd>Win</kbd>+<kbd>Alt</kbd>+<kbd>.</kbd> keyboard key combination to activate the gliding cursor, then move the mouse to control its position. Cancel the gliding cursor with the <kbd>Esc</kbd> key or by clicking the mouse.
24
24
25
25
:::image type="content" source="../images/pt-mouse-utilities-gliding-cursor.png" lightbox="../images/pt-mouse-utilities-gliding-cursor.gif" alt-text="An animated gif of the PowerToys gliding cursor feature of its Mouse Utilities.":::
26
26
27
27
### Settings
28
28
29
-
From the settings page, the following options can be configured:
29
+
From the settings page, you can configure the following options:
30
30
31
31
| Setting | Description |
32
32
| :--- | :--- |
33
-
| Activation method | Choose between **Press Left Ctrl twice**, **Press Right Ctrl twice**, **Shake mouse** or **Custom shortcut**. |
33
+
| Activation method | Choose between **Press Left Ctrl twice**, **Press Right Ctrl twice**, **Shake mouse**, or **Custom shortcut**. |
34
34
| Minimum distance to shake | Adjust sensitivity. |
35
35
| Activation shortcut | The custom shortcut used to activate the spotlight. |
36
36
| Do not activate when Game Mode is on | Prevents the spotlight from being used when actively playing a game on the system. |
@@ -40,28 +40,28 @@ From the settings page, the following options can be configured:
40
40
| Spotlight radius | The radius of the circle that centers on the cursor. (default: 100px) |
41
41
| Spotlight initial zoom | The spotlight animation's zoom factor. Higher values result in more pronounced zoom animation as the spotlight closes in on the cursor position. |
42
42
| Animation duration | Time for the spotlight animation. (default: 500ms) |
43
-
| Excluded apps | Add an application's name, or part of the name, one per line (e.g. adding `Notepad`will match both `Notepad.exe` and `Notepad++.exe`; to match only `Notepad.exe` add the `.exe` extension). |
43
+
| Excluded apps | Add an application's name, or part of the name, one per line (for example, adding `Notepad`matches both `Notepad.exe` and `Notepad++.exe`; to match only `Notepad.exe` add the `.exe` extension). |
44
44
45
45
## Mouse Highlighter
46
46
47
-
Display visual indicators when the left or right mouse buttons are clicked. By default, mouse highlighting can be turned on and off with the <kbd>Win</kbd>+<kbd>Shift</kbd>+<kbd>H</kbd> shortcut.
47
+
Display visual indicators when the left or right mouse buttons are clicked. By default, you can turn mouse highlighting on and off with the <kbd>Win</kbd>+<kbd>Shift</kbd>+<kbd>H</kbd> shortcut.
48
48
49
49
### Settings
50
50
51
51

52
52
53
-
From the settings page, the following options can be configured:
53
+
From the settings page, you can configure the following options:
54
54
55
55
| Setting | Description |
56
56
| :--- | :--- |
57
57
| Activation shortcut | The customizable keyboard command to turn mouse highlighting on or off. |
58
-
| Primary button highlight color | The highlighter color for the user's primary mouse button. |
59
-
| Secondary button highlight color | The highlighter color for the user's secondary mouse button. |
58
+
| Primary button highlight color | The highlighter color for the primary mouse button. |
59
+
| Secondary button highlight color | The highlighter color for the secondary mouse button. |
60
60
| Always highlight color | The highlighter color for the mouse pointer. |
61
61
| Highlight mode | Determines how the cursor is highlighted. **Spotlight** dims the screen to spotlight the cursor. **Circle highlight** highlights the cursor with a circle, while keeping the rest of the screen unaffected. |
62
-
| Radius | The radius of the highlighter - Measured in pixels. |
63
-
| Fade delay | How long it takes before a highlight starts to disappear - Measured in milliseconds. |
64
-
| Fade duration | Duration of the disappear animation - Measured in milliseconds. |
62
+
| Radius | The radius of the highlighter, measured in pixels. |
63
+
| Fade delay | How long it takes before a highlight starts to disappear, measured in milliseconds. |
64
+
| Fade duration | Duration of the disappear animation, measured in milliseconds. |
65
65
66
66
## Mouse jump
67
67
@@ -75,7 +75,7 @@ Mouse jump allows moving the mouse pointer long distances on a single screen or
75
75
| Thumbnail Size | Constrains the thumbnail image to a maximum size. The default size is 1600x1200 pixels. |
76
76
| Appearance | Expand this section to adjust the popup appearance by customizing the colors, borders, spacing, and more. |
77
77
78
-
## Mouse pointer Crosshairs
78
+
## Mouse pointer crosshairs
79
79
80
80

Copy file name to clipboardExpand all lines: hub/powertoys/peek.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,13 @@ After deleting the file, Peek will automatically preview the next file. If there
49
49
> [!TIP]
50
50
> Only files may be deleted. Folders may not be deleted, even if they are empty.
51
51
52
+
## Use Peek from the command line
53
+
54
+
Peek can also be launched from the command line to preview a file. Run: `PowerToys.Peek.UI.exe <filepath>`.
55
+
56
+
> [!TIP]
57
+
> The per-user executable is located in `%LOCALAPPDATA%\PowerToys\WinUI3Apps` by default, while the machine-wide executable is located in `C:\Program Files\PowerToys\WinUI3Apps`.
58
+
52
59
## Settings
53
60
54
61
From the settings page, the following options can be configured:
Copy file name to clipboardExpand all lines: hub/powertoys/powerrename.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,42 @@ The value of the renamed file would result in:
172
172
-`Nov-02-20-powertoys.png`
173
173
-`Nov-03-20-powertoys-menu.png`
174
174
175
+
## Replace using photo metadata (EXIF or XMP)
176
+
177
+
When renaming photos, EXIF or XMP metadata can be used in the *Replace with* field. After selecting the EXIF/MDF option in the combobox, the variable patterns shown in the table below become available. The tooltip provides access to all supported patterns for quick insertion.
178
+
179
+
| Variable pattern | Explanation |
180
+
| :--- | :--- |
181
+
|`$CAMERA_MAKE`| Camera manufacturer name |
182
+
|`$CAMERA_MODEL`| Camera model name |
183
+
|`$LENS`| Lens model name |
184
+
|`$ISO`| ISO sensitivity value |
185
+
|`$APERTURE`| F-number aperture value |
186
+
|`$SHUTTER`| Shutter speed value |
187
+
|`$FOCAL`| Focal length in millimeters |
188
+
|`$FLASH`| Flash status (On/Off) |
189
+
|`$WIDTH`| Image width in pixels |
190
+
|`$HEIGHT`| Image height in pixels |
191
+
|`$AUTHOR`| Image author/artist |
192
+
|`$COPYRIGHT`| Copyright information |
193
+
|`$LATITUDE`| GPS latitude coordinate |
194
+
|`$LONGITUDE`| GPS longitude coordinate |
195
+
|`$ALTITUDE`| GPS altitude in meters |
196
+
|`$DATE_TAKEN_YYYY`| Year photo was taken (4 digits) |
197
+
|`$DATE_TAKEN_YY`| Year photo was taken (2 digits) |
198
+
|`$DATE_TAKEN_MM`| Month photo was taken (01–12) |
199
+
|`$DATE_TAKEN_DD`| Day photo was taken (01–31) |
200
+
|`$DATE_TAKEN_HH`| Hour photo was taken (00–23) |
201
+
|`$DATE_TAKEN_mm`| Minute photo was taken (00–59) |
202
+
|`$DATE_TAKEN_SS`| Second photo was taken (00–59) |
203
+
|`$EXPOSURE_BIAS`| Exposure compensation value |
204
+
|`$ORIENTATION`| Image orientation |
205
+
|`$COLOR_SPACE`| Color space information |
206
+
|`$ALTITUDE`| GPS altitude in meters |
207
+
208
+
209
+
210
+
175
211
## Regular expressions
176
212
177
213
For most use cases, a simple search and replace is sufficient. However, there may be occasions in which complicated renaming tasks require more control. [Regular Expressions](https://wikipedia.org/wiki/Regular_expression) can help in this scenario.
0 commit comments