Updated the manuals

This commit is contained in:
Markus Fleschutz
2024-03-27 17:36:59 +01:00
parent c5b5cb1c6e
commit aed2b7d940
610 changed files with 1754 additions and 1120 deletions

View File

@ -6,7 +6,16 @@ This PowerShell script launches the Web browser with 20 tabs of popular dashboar
Parameters
----------
```powershell
PS> ./open-dashboards.ps1 [<CommonParameters>]
PS> ./open-dashboards.ps1 [[-interval] <Int32>] [<CommonParameters>]
-interval <Int32>
Specifies the time interval (110ms per default)
Required? false
Position? 1
Default value 110
Accept pipeline input? false
Accept wildcard characters? false
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
@ -17,7 +26,8 @@ Example
-------
```powershell
PS> ./open-dashboards.ps1
Launching Web browser with 20 tabs showing: Toggl Track, Google Calendar, Google Mail, Google Keep, Google Photos, Google News, Outlook Mail, CNN News, GitHub Explore, FlightRadar24, Earthquake Watch, Live Cyber Threat Map, Live Traffic, Netflix Top 10, YouTube Music Charts, Webcams, Peak Zugspitze, Airport Salzburg, Windy Weather Radar, Windy Weather Temperatures, (Hint: execute './switch-tabs.ps1' for automated tab switching)
Launching Web browser with 20 tabs showing: Toggl Track, Google Calendar, Google Mail, ...
NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically.
...
```
@ -38,9 +48,12 @@ Script Content
Open web dashboards
.DESCRIPTION
This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites.
.PARAMETER interval
Specifies the time interval (110ms per default)
.EXAMPLE
PS> ./open-dashboards.ps1
✅ Launching Web browser with 20 tabs showing: Toggl Track, Google Calendar, Google Mail, Google Keep, Google Photos, Google News, Outlook Mail, CNN News, GitHub Explore, FlightRadar24, Earthquake Watch, Live Cyber Threat Map, Live Traffic, Netflix Top 10, YouTube Music Charts, Webcams, Peak Zugspitze, Airport Salzburg, Windy Weather Radar, Windy Weather Temperatures, (Hint: execute './switch-tabs.ps1' for automated tab switching)
✅ Launching Web browser with 20 tabs showing: Toggl Track, Google Calendar, Google Mail, ...
NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically.
...
.LINK
https://github.com/fleschutz/PowerShell
@ -48,18 +61,22 @@ Script Content
Author: Markus Fleschutz | License: CC0
#>
param([int]$interval = 110) # milliseconds
try {
Write-Progress "Reading Data/popular-dashboards.csv..."
$table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv"
$numRows = $table.Length
Write-Progress -completed " "
Write-Progress -completed "Done."
Write-Host "✅ Launching Web browser with 20 tabs showing: " -noNewline
foreach($row in $table) {
Write-Host "$($row.NAME), " -noNewline
& "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)"
Start-Sleep -milliseconds 100
Start-Sleep -milliseconds $interval
}
Write-Host "(Hint: execute './switch-tabs.ps1' for automated tab switching)"
Write-Host ""
Write-Host "NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
@ -67,4 +84,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 using the comment-based help of open-dashboards.ps1 as of 01/25/2024 13:58:40)*
*(generated by convert-ps2md.ps1 using the comment-based help of open-dashboards.ps1 as of 03/27/2024 17:36:29)*