[ANN]Piyomaru choose location script Library
[ANN]Piyomaru choose location script Library
- Subject: [ANN]Piyomaru choose location script Library
- From: Takaaki Naganoya via AppleScript-Users <email@hidden>
- Date: Mon, 9 Sep 2019 12:34:30 +0900
Hi All,
I’ve just released a free AppleScript Libraries.
—choose location
This library provides a dialog to show geolocation selector with map
Sample AppleScript is included in its AppleScript dictinary.
http://piyocast.com/as/asinyaye
http://piyocast.com/as/wp-content/uploads/2019/09/choose-location.scptd_.zip
<sample>
-- Created 2019-09-08 by Takaaki Naganoya
-- 2019 Piyomaru Software
use AppleScript version "2.4"
use scripting additions
use framework "Foundation"
use cLoc : script "choose location"
set aPlaceList to {{title:"Ginza", latitude:"35.67229109",
longitude:"139.76575278"}, {title:"Shinjuku", latitude:"35.69096528",
longitude:"139.70403520"}, {title:"Kyoto", latitude:"35.00394764",
longitude:"135.76277689"}, {title:"Shibuya", latitude:"35.66621547",
longitude:"139.71090224"}, {title:"Marunouchi", latitude:"35.67982632",
longitude:"139.76364660"}, {title:"Omote-sando", latitude:"35.66621547",
longitude:"139.71090224"}, {title:"Nagoya-Sakae", latitude:"35.16556738",
longitude:"136.90693150"}, {title:"Fukuoka-Tenjin", latitude:"33.58682428",
longitude:"130.39764326"}, {title:"Shinsai-bashi", latitude:"34.67225640",
longitude:"135.49985757"}}
set cRes to (choose location from aPlaceList main message "Select Apple Retail
Store in Japan" sub message "These stores are almost same. All products are
same. The most of visitors are waiting people to repair their broken products."
with size {900, 500} initial map type map)
</sample>
http://piyocast.com/as/asinyaye
--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden