Google Maps To Apple Maps
TEXT
Split
Text
by
New Lines

Split Text
SCRIPTING
Get
First Item
from
List

Item from List
TEXT
Match
(?<=https://maps\.apple\.com/\?q=).*
in
Text

Matches
VARIABLES
Add
Input
to
placeName
VARIABLES
Get
テキストを分割
SCRIPTING
Get
Last Item
from
List

Item from List
NETWORK
Get contents of
URL
Options Under Construction

Contents of URL
DOCUMENTS
Make HTML from
Rich Text

HTML from Rich Text
VARIABLES
Get
placeName
SCRIPTING
Count
Characters
in
Input

Count
SCRIPTING
If
Input
Condition
SCRIPTING
Otherwise
VARIABLES
Get
リッチテキストからのHTML
TEXT
Match
(?<=<meta content=")[^"]+(?="\s+itemprop="name">)
in
Text

Matches
SCRIPTING
URL
Encode
Text

URL Encoded Text
VARIABLES
Set variable
placeName
to
Input
SCRIPTING
End If

If Result
VARIABLES
Get
リッチテキストからのHTML
TEXT
Match
https://www\.google\.com/maps/preview/place/[^/]+/[^/]+/
in
Text

Matches
SCRIPTING
Count
Characters
in
Input

Count
SCRIPTING
If
Input
Condition
VARIABLES
Get
一致するテキスト
TEXT
Split
Text
by
Custom
@

Split Text
SCRIPTING
Get
Last Item
from
List

Item from List
TEXT
Split
Text
by
Custom
,

Split Text
SCRIPTING
Get
Item At Index
1.0
from
List

Item from List
VARIABLES
Set variable
lat
to
Input
VARIABLES
Get
テキストを分割
SCRIPTING
Get
Item At Index
2.0
from
List

Item from List
VARIABLES
Set variable
long
to
Input
SCRIPTING
Otherwise
VARIABLES
Get
リッチテキストからのHTML
TEXT
Match
https://maps\.google\.com/maps/api/staticmap\?center=\d+\.\d+%2C\d+\.\d+
in
Text

Matches
SCRIPTING
Get
First Item
from
List

Item from List
TEXT
Split
Text
by
Custom
=

Split Text
SCRIPTING
Get
Last Item
from
List

Item from List
TEXT
Split
Text
by
Custom
%2C

Split Text
SCRIPTING
Get
First Item
from
List

Item from List
VARIABLES
Set variable
lat
to
Input
VARIABLES
Get
テキストを分割
SCRIPTING
Get
Last Item
from
List

Item from List
VARIABLES
Set variable
long
to
Input
SCRIPTING
End If

If Result

URL
SAFARI
Open
Safari web page
Showcuts