Visit/win-en

From Arbeitsgruppe Kuiper
Revision as of 14:09, 17 April 2024 by Lothar.brendel (talk | contribs) (typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Copy the following code

@rem Launch visit (https://visit-dav.github.io/visit-website) with
@rem an English GUI on a non-English Windows machine.
@rem The sleep of 1 second is necessary to give visit time to launch
@rem before the language is reverted again. The sleep shouldn't be too
@rem long, because the language change affects the keyboard layout,
@rem too. L.B. 2024
@powershell -NonInteractive -Command "$OldList = Get-WinUserLanguageList; $enUS = New-WinUserLanguageList -Language en-US; Set-WinUserLanguageList -LanguageList $enUS -Force *>$null; Start-Process visit; Start-Sleep 1; Set-WinUserLanguageList -LanguageList $OldList -Force *>$null"

where the line starting with @powershell is one single line, into a file visit_en.cmd at a suitable location (e.g. the desktop).