Skip to content

Commit da34840

Browse files
Merge pull request #5423 from MicrosoftDocs/main
Merge main to live to pick up PowerToys changes for release
2 parents e27ebd9 + eabfde8 commit da34840

File tree

3 files changed

+56
-1
lines changed

3 files changed

+56
-1
lines changed

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/listitem_constructor.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ no-loc: [PowerToys, Windows, Insider]
88

99
# ListItem Constructors
1010

11+
## ListItem() Constructor
12+
13+
### Definition
14+
15+
Namespace: [Microsoft.CommandPalette.Extensions.Toolkit](microsoft-commandpalette-extensions-toolkit.md)
16+
17+
Initializes a new instance of the [ListItem](listitem.md) class.
18+
19+
```C#
20+
public ListItem()
21+
: base()
22+
{
23+
}
24+
```
25+
1126
## ListItem([ICommand](../microsoft-commandpalette-extensions/icommand.md)) Constructor
1227

1328
### Definition

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/thumbnailhelper_getthumbnail.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ The **ThumbnailHelper.GetThumbnail(String)** method retrieves the thumbnail imag
2020

2121
The path to the command for which the thumbnail is requested.
2222

23+
*jumbo* **Boolean**
24+
25+
A boolean value indicating whether to retrieve a jumbo-sized thumbnail. If set to `true`, the method will return a larger version of the thumbnail image. If set to `false`, it will return a standard-sized thumbnail. The default value is `false`.
26+
2327
## Returns
2428

2529
A **Task\<IRandomAccessStream\>** that represents the thumbnail image for the specified command. If no thumbnail is found, the task will return `null`.

hub/powertoys/run.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: PowerToys Run utility for Windows
33
description: Run is a quick launcher for power users that contains additional features without sacrificing performance.
4-
ms.date: 12/25/2024
4+
ms.date: 03/07/2025
55
ms.topic: concept-article
66
ms.localizationpriority: medium
77
no-loc: [PowerToys, Windows, File Explorer, PowerToys Run, Window Walker]
@@ -240,6 +240,42 @@ Examples:
240240
- `) calendar week::3/27/2022` to show the calendar week for a date value.
241241
- `) unix epoch::3/27/2022 10:30:45 AM` to convert the given time and date value into a Unix epoch timestamp.
242242

243+
#### Custom formats
244+
245+
The plugin includes a setting where custom formats can be defined. Custom formats are entered in a multiline text box which accepts one format per line.
246+
247+
**Please use the following syntax:**
248+
249+
- `<Format name>=<Format pattern>` for using the local time.
250+
- `<Format name>=UTC:<Format pattern>` for using the Universal Time Convention (UTC).
251+
252+
> [!NOTE]
253+
> - `Format name`: Every charter except the equal sign is supported.
254+
> - `Format pattern`: You can escape the pattern and the backslash itself as text by using a backslash as prefix.
255+
256+
**Examples:**
257+
258+
- `MyFormat=dd-MMMM-yyyy`
259+
- `MySecondFormat=dddd (Da\y nu\mber: DOW)`
260+
- `MyUtcFormat=UTC:hh:mm:ss`
261+
262+
**Supported format pattern:**
263+
264+
| Format pattern | Description |
265+
| :--- | :--- |
266+
| Standard pattern like `hh:mm:ss`. | Please see this [page](/dotnet/standard/base-types/custom-date-and-time-format-strings) for more information.
267+
| `DOW` | Number of the day in the week. |
268+
| `DIM` | Days in the month. |
269+
| `WOM` | Number of week in the month. |
270+
| `WOY` | Number of the week in the year. |
271+
| `EAB` | Era abbreviation. |
272+
| `WFT` | Windows file time as number. |
273+
| `UXT` | Unix time stamp as number. |
274+
| `UMS` | Unix time stamp in milliseconds as number. |
275+
| `OAD` | OLE Automation date as number. |
276+
| `EXC` | Excel's 1900 based date value as number. |
277+
| `EXF` | Excel's 1904 based date value as number. |
278+
243279
### Unit converter plugin
244280

245281
> [!IMPORTANT]

0 commit comments

Comments
 (0)