From 4546dbc5dd53c9dd2f0671d15c1a99e605010671 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 1 Aug 2025 07:19:00 +0200 Subject: [PATCH] Updated open-dashboards.ps1 --- scripts/open-dashboards.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/open-dashboards.ps1 b/scripts/open-dashboards.ps1 index 1b6a145a..8f32a0c3 100755 --- a/scripts/open-dashboards.ps1 +++ b/scripts/open-dashboards.ps1 @@ -7,7 +7,7 @@ Specifies the time interval between each tab (110ms per default) .EXAMPLE PS> ./open-dashboards.ps1 - ⏳ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ... + ⏳ Launching Web browser with 24 tabs: Toggl Track,Google Calendar,Google Mail,... NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically. .LINK https://github.com/fleschutz/PowerShell @@ -27,7 +27,7 @@ try { Write-Host "⏳ Launching Web browser with $numRows tabs: " -noNewline foreach($row in $table) { - Write-Host "$($row.NAME)•" -noNewline + Write-Host "$($row.NAME)," -noNewline & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" Start-Sleep -milliseconds $timeInterval } @@ -35,6 +35,6 @@ try { 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])" + "⚠️ ERROR: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)." exit 1 }