Add 2 more cities

This commit is contained in:
Markus Fleschutz 2021-11-29 16:56:21 +01:00
parent 9468ac7be1
commit e4a9cbbf6b
4 changed files with 32 additions and 2 deletions

View File

@ -56,7 +56,7 @@ Computer, open `name` website
Computer, show `name` city
--------------------------
* launches the default Web browser with Google Maps at the given city.
* replace `name` by: "Atlanta", "Barcelona", "Berlin", "Boston", "Cairo", "Cape Town", "Chicago", "Dallas", "Dubai", "Dublin", "Frankfurt", "Hamburg", "Hong Kong", "Jerusalem", "Kansas", "Las Vegas", "Lissabon", "London", "Los Angeles", "Madrid", "Miami", "Moscow", "Munich", "New York", "Paris", Rome", "San Francisco", "Seattle", "Singapore", "Sydney", "Tokyo", "Toronto", "Vienna", "Washington", "Zurich".
* replace `name` by: "Atlanta", "Barcelona", "Berlin", "Boston", "Cairo", "Cape Town", "Chicago", "Dallas", "Denver", "Dubai", "Dublin", "Frankfurt", "Hamburg", "Hong Kong", "Jerusalem", "Kansas", "Las Vegas", "Lissabon", "London", "Los Angeles", "Madrid", "Miami", "Montreal", "Moscow", "Munich", "New York", "Paris", Rome", "San Francisco", "Seattle", "Singapore", "Sydney", "Tokyo", "Toronto", "Vienna", "Washington", "Zurich".
* when finished see "Computer, close `name` browser" to close the Web browser.

15
Scripts/show-denver-city.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Denver in Google Maps
.DESCRIPTION
This script launches the Web browser with Google Maps at Denver city (USA).
.EXAMPLE
PS> ./show-denver-city
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Denver"
exit 0 # success

View File

@ -11,5 +11,5 @@
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Kansas"
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Kansas+City"
exit 0 # success

15
Scripts/show-montreal-city.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Montreal in Google Maps
.DESCRIPTION
This script launches the Web browser with Google Maps at Montreal city (Canada).
.EXAMPLE
PS> ./show-montreal-city
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Montreal"
exit 0 # success