Add some show-*-city.ps1

This commit is contained in:
Markus Fleschutz 2021-12-06 12:31:23 +01:00
parent 6f99492e48
commit 5e81da2267
4 changed files with 35 additions and 5 deletions

View File

@ -55,7 +55,7 @@ Lets the computer check something, replace [name] by: `Bitcoin`, `Christmas`, `C
`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`, `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`, `Tunis`, `Vienna`, `Washington`, or `Zurich`.
* launches the default Web browser with Google Maps at the given city - replace [name] by: `Atlanta`, `Barcelona`, `Berlin`, `Boston`, `Cairo`, `Calgary`, `Cape Town`, `Chicago`, `Dallas`, `Denver`, `Dubai`, `Dublin`, `Frankfurt`, `Hamburg`, `Hong Kong`, `Honolulu`, `Jerusalem`, `Kansas`, `Las Vegas`, `Lisbon`, `London`, `Los Angeles`, `Madrid`, `Mexico`, `Miami`, `Montreal`, `Moscow`, `Munich`, `New York`, `Panama`, `Paris`, `Rome`, `San Francisco`, `Seattle`, `Singapore`, `Sydney`, `Tokyo`, `Toronto`, `Tunis`, `Vienna`, `Washington`, or `Zurich`.
* when finished say: "Close tab" or: "Computer, close [name] browser" to close the Web browser.

View File

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

View File

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

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

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