RunOnce icon indicating copy to clipboard operation
RunOnce copied to clipboard

Run LLM-generated one-off scripts via the "Run Code Here" option in the Windows 11 context menu.

Results RunOnce issues
Sort by recently updated
recently updated
newest added

在使用时发现不以管理员身份运行则会出现如下报错 ``` [出现错误 2147942402 (0x80070002) (启动“"powershell.exe -NoProfile -ExecutionPolicy Bypass -EncodedCommand WwBDAG8AbgBzAG8AbABlAF0AOgA6AE8AdQB0AHAAdQB0AEUAbgBjAG8AZABpAG4AZwAgAD0AIABbAFMAeQBzAHQAZQBtAC4AVABlAHgAdAAuAEUAbgBjAG8AZABpAG4AZwBdADoAOgBVAFQARgA4ADsAIABbAEMAbwBuAHMAbwBsAGUAXQA6ADoASQBuAHAAdQB0AEUAbgBjAG8AZABpAG4AZwAgAD0AIABbAFMAeQBzAHQAZQBtAC4AVABlAHgAdAAuAEUAbgBjAG8AZABpAG4AZwBdADoAOgBVAFQARgA4ADsAIABwAHkAdABoAG8AbgAgACcAQwA6AFwAVQBzAGUAcgBzAFwAZABjAHoAeQB4AFwAQQBwAHAARABhAHQAYQBcAEwAbwBjAGEAbABcAFQAZQBtAHAAXABSAHUAbgBPAG4AYwBlAF8AVABNAFAAYgA1ADEAYQAxAGYAZQBlAC4AcAB5ACcAOwAgAFcAcgBpAHQAZQAtAEgAbwBzAHQAIAAnACcAOwAgAFIAZQBhAGQALQBIAG8AcwB0ACAAJwAJYyAARQBuAHQAZQByACAALpUAkPpRJwA7ACAAUgBlAG0AbwB2AGUALQBJAHQAZQBtACAALQBMAGkAdABlAHIAYQBsAFAAYQB0AGgAIAAnAEMAOgBcAFUAcwBlAHIAcwBcAGQAYwB6AHkAeABcAEEAcABwAEQAYQB0AGEAXABMAG8AYwBhAGwAXABUAGUAbQBwAFwAUgB1AG4ATwBuAGMAZQBfAFQATQBQAGIANQAxAGEAMQBmAGUAZQAuAHAAeQAnACAALQBGAG8AcgBjAGUAIAAtAEUAcgByAG8AcgBBAGMAdABpAG8AbgAgAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUA"”时)] 系统找不到指定的文件。 ``` 使用管理员身份运行就没有问题了

**Scenario**: ShellExt.dll may not be correctly copied to output directory **File**: RunOnce.csproj **Code**: ```xml PreserveNewest ShellExt.dll ``` **Issue**: DLL copy depends on condition check, incorrect build order may cause shell...

**Scenario**: English resource file missing translations for some UI texts **File**: Strings/en-us/Resources.resw **Code**: ```xml RunOnce ``` **Issue**: Resource file only contains app name translation, missing English translations for other UI...

**Scenario**: LLM system prompt cannot be customized per user needs **File**: Static/LlmClient.cs **Code**: ```csharp private static string BuildSystemPrompt(string language) { string basePrompt = Text.Localize( "You are a professional script generation...

**Scenario**: Too many one-time initialization operations during editor page first load **File**: View/Editor.xaml.cs **Code**: ```csharp if (!_isInitialized) { _isInitialized = true; EnsureTimerInitialized(); CacheScrollViewer(); RegisterContextRequestedHandler(); RegisterScrollViewerEvents(); InitializeWorkingDirectory(); } ``` **Issue**: All...

**Scenario**: When LLM API request times out, only network issue is reported without retry mechanism **File**: Static/LlmClient.cs **Code**: ```csharp catch (TaskCanceledException ex) when (!cancellationToken.IsCancellationRequested) { throw new TimeoutException( Text.Localize("LLM API...