ANN Piyomaru AppleScript Libraries
ANN Piyomaru AppleScript Libraries
- Subject: ANN Piyomaru AppleScript Libraries
- From: Takaaki Naganoya via AppleScript-Users <email@hidden>
- Date: Tue, 27 Aug 2019 17:24:17 +0900
Hi All,
I’ve just released some free AppleScript Libraries.
These libraries requires macOS 10.12 or higher and is free for personal use.
Available from each URLs. These articles may be written in Japanese language.
You can translate articles by Google :-).
(1) checkboxLib
This library provides a simple checkbox selection UI.
http://piyocast.com/as/archives/7043
http://piyocast.com/as/wp-content/uploads/2019/08/checkboxLib_v3.scptd_.zip
<sample>
use AppleScript version "2.5"
use scripting additions
use checkLib : script "checkboxLib"
set tList to {"Carrot", "Burdock", "Radish", "Apple", "Cabbage", "Lettuce",
"Potato", "Garlic", "Komatsuna", "Bok choy", "Shiitake mushroom", "Hen of the
Woods"}
set cRes to choose checkbox main message "Select Vegetables" with titles tList
</sample>
(2)mouseClick , a small utlility to move mouse cursor and force click
http://piyocast.com/as/archives/7090
http://piyocast.com/as/wp-content/uploads/2019/08/mouseClick.zip
<sample>
tell application "mouseClick"
force click at {4, 4} --click apple menu
end tell
</sample>
(3)calcLIbAS v1.5, 36 Numeric Functions Library
Now have sdef.
http://piyocast.com/as/archives/7114
http://piyocast.com/as/wp-content/uploads/2019/08/calcLibASv1.5.zip
(4)displayTextView AppleScript Library
This library provides long text display UI.
http://piyocast.com/as/archives/7134
http://piyocast.com/as/wp-content/uploads/2019/08/displayTextView.scptd_.zip
<sample>
use AppleScript version "2.5"
use scripting additions
use radioLib : script "displayTextView"
set aStr to do shell script "cal 2019"
display text view aStr main message "Main Message" sub message "Sub Message"
with properties {font name:"Courier", size:13, width:600, height:600}
</sample>
(4)choose multiple path script library
This library provides multiple path selection dialog with drag & drop function
(by NSPathControl)
http://piyocast.com/as/archives/7140
http://piyocast.com/as/wp-content/uploads/2019/08/choosePathLib.scptd_.zip
<sample>
use AppleScript version "2.5"
use scripting additions
use choosePath : script "choosePathLib"
set mesList to {"orig 1", "Dest 1", "Orig 2", "Dest 2"}
set defaultLocList to {"~/Movies", "~/Desktop", "~/Documents", "~/Library"}
set cRes to choose multiple path main message "Main Message" sub message "Sub
message" with titles mesList with default locations defaultLocList
</sample>
(5)display location Script Library
This library provides map display user interface to indicate a location. The
location is displayed with four different zoomed maps.
http://piyocast.com/as/archives/7145
http://piyocast.com/as/wp-content/uploads/2019/08/display-location.scptd_.zip
<sample>
use AppleScript version "2.5"
use framework "Foundation"
use scripting additions
use dispLoc : script "display location"
set locList to {41.82459, 140.7174504}
display multiple map main message "The Target Place" sub message "This is a new
target place to invade" with location locList with size {900, 600}
</sample>
(6)display YouTube Script Library
This library provides display a YouTube movie interface.
http://piyocast.com/as/archives/7155
http://piyocast.com/as/wp-content/uploads/2019/08/display-youtube.scptd_.zip
<sample>
use AppleScript version "2.5"
use framework "Foundation"
use scripting additions
use utbLib : script "display youtube"
set aURL to "https://www.youtube.com/watch?v=GP_tVXTYdmY"
display youtube main message "Replay Movie" sub message "My Senjo No Kizuna
replay movie on YouTube" with URL bURL with size {900, 600}
</sample>
--
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