mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-17 02:01:01 +01:00
Add some show-*-city.ps1
This commit is contained in:
parent
6f99492e48
commit
5e81da2267
@ -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.
|
||||
|
||||
|
||||
|
8
Scripts/show-lissabon-city.ps1 → Scripts/show-calgary-city.ps1
Executable file → Normal file
8
Scripts/show-lissabon-city.ps1 → Scripts/show-calgary-city.ps1
Executable file → Normal 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
|
15
Scripts/show-honolulu-city.ps1
Normal file
15
Scripts/show-honolulu-city.ps1
Normal 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
15
Scripts/show-lisbon-city.ps1
Executable 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
|
Loading…
Reference in New Issue
Block a user