Add 2 more cities

This commit is contained in:
Markus Fleschutz 2021-11-29 17:04:40 +01:00
parent e4a9cbbf6b
commit 7e6c942c1a
40 changed files with 68 additions and 38 deletions

View File

@ -56,7 +56,7 @@ Computer, open `name` website
Computer, show `name` city Computer, show `name` city
-------------------------- --------------------------
* launches the default Web browser with Google Maps at the given 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", "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". * 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", "Mexico", "Miami", "Montreal", "Moscow", "Munich", "New York", "Panama", "Paris", Rome", "San Francisco", "Seattle", "Singapore", "Sydney", "Tokyo", "Toronto", "Vienna", "Washington", "Zurich".
* when finished see "Computer, close `name` browser" to close the Web browser. * when finished see "Computer, close `name` browser" to close the Web browser.

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Amsterdam in Google Maps Shows Amsterdam city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Amsterdam city (Netherlands). This script launches the Web browser with Google Maps at Amsterdam city (Netherlands).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Atlanta in Google Maps Shows Atlanta city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Atlanta city (USA). This script launches the Web browser with Google Maps at Atlanta city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Barcelona in Google Maps Shows Barcelona city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Barcelona city (Spain). This script launches the Web browser with Google Maps at Barcelona city (Spain).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Berlin in Google Maps Shows Berlin city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Berlin city (Germany). This script launches the Web browser with Google Maps at Berlin city (Germany).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Boston in Google Maps Shows Boston city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Boston city (USA). This script launches the Web browser with Google Maps at Boston city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Cairo in Google Maps Shows Cairo city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Cairo city (Egypt). This script launches the Web browser with Google Maps at Cairo city (Egypt).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Cape Town in Google Maps Shows Cape Town city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Cape Town city (South Africa). This script launches the Web browser with Google Maps at Cape Town city (South Africa).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Chicago in Google Maps Shows Chicago city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Chicago city (USA). This script launches the Web browser with Google Maps at Chicago city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Dallas in Google Maps Shows Dallas city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Dallas city (USA). This script launches the Web browser with Google Maps at Dallas city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Denver in Google Maps Shows Denver city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Denver city (USA). This script launches the Web browser with Google Maps at Denver city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Dubai in Google Maps Shows Dubai city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Dubai city (VUE). This script launches the Web browser with Google Maps at Dubai city (VUE).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Dublin in Google Maps Shows Dublin city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Dublin city (Ireland). This script launches the Web browser with Google Maps at Dublin city (Ireland).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Frankfurt in Google Maps Shows Frankfurt city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Frankfurt city (Germany). This script launches the Web browser with Google Maps at Frankfurt city (Germany).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Hamburg in Google Maps Shows Hamburg city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Hamburg city (Germany). This script launches the Web browser with Google Maps at Hamburg city (Germany).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Hong Kong in Google Maps Shows Hong Kong city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Hong Kong city (China). This script launches the Web browser with Google Maps at Hong Kong city (China).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Jerusalem in Google Maps Shows Jerusalem city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Jerusalem city (Israel). This script launches the Web browser with Google Maps at Jerusalem city (Israel).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Kansas in Google Maps Shows Kansas city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Kansas city (USA). This script launches the Web browser with Google Maps at Kansas city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Las Vegas in Google Maps Shows Las Vegas city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Las Vegas city (USA). This script launches the Web browser with Google Maps at Las Vegas city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Lissabon in Google Maps Shows Lissabon city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Lissabon city (Portugal). This script launches the Web browser with Google Maps at Lissabon city (Portugal).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows London in Google Maps Shows London city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at London city (UK). This script launches the Web browser with Google Maps at London city (UK).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Los Angeles in Google Maps Shows Los Angeles city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Los Angeles city (USA). This script launches the Web browser with Google Maps at Los Angeles city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Madrid in Google Maps Shows Madrid city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Madrid city (Spain). This script launches the Web browser with Google Maps at Madrid city (Spain).
.EXAMPLE .EXAMPLE

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

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

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Miami in Google Maps Shows Miami city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Miami city (USA). This script launches the Web browser with Google Maps at Miami city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Montreal in Google Maps Shows Montreal city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Montreal city (Canada). This script launches the Web browser with Google Maps at Montreal city (Canada).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Moscow in Google Maps Shows Moscow city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Moscow city (Russia). This script launches the Web browser with Google Maps at Moscow city (Russia).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Munich in Google Maps Shows Munich city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Munich city (Germany). This script launches the Web browser with Google Maps at Munich city (Germany).
.EXAMPLE .EXAMPLE

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

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

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Paris in Google Maps Shows Paris city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Paris city (France). This script launches the Web browser with Google Maps at Paris city (France).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Rome in Google Maps Shows Rome city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Rome city (Italy). This script launches the Web browser with Google Maps at Rome city (Italy).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows San Francisco in Google Maps Shows San Francisco city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at San Francisco city (USA). This script launches the Web browser with Google Maps at San Francisco city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Seattle in Google Maps Shows Seattle city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Seattle city (USA). This script launches the Web browser with Google Maps at Seattle city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Singapore in Google Maps Shows Singapore city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Singapore city. This script launches the Web browser with Google Maps at Singapore city.
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Sydney in Google Maps Shows Sydney city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Sydney city (Australia). This script launches the Web browser with Google Maps at Sydney city (Australia).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Tokyo in Google Maps Shows Tokyo city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Tokyo city (Japan). This script launches the Web browser with Google Maps at Tokyo city (Japan).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Toronto in Google Maps Shows Toronto city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Toronto city (Canada). This script launches the Web browser with Google Maps at Toronto city (Canada).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Vienna in Google Maps Shows Vienna city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Vienna (Austria). This script launches the Web browser with Google Maps at Vienna (Austria).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Washington in Google Maps Shows Washington city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Washington city (USA). This script launches the Web browser with Google Maps at Washington city (USA).
.EXAMPLE .EXAMPLE

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Shows Zurich in Google Maps Shows Zurich city in Google Maps
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Maps at Frankfurt city (Germany). This script launches the Web browser with Google Maps at Frankfurt city (Germany).
.EXAMPLE .EXAMPLE