Menu

Skip to content
AppleScriptの穴
  • Home
  • Products
  • Docs
  • Events
  • Forum
  • About This Blog
  • License
  • 仕事依頼

AppleScriptの穴

Useful & Practical AppleScript archive. Click '★Click Here to Open This Script' Link to download each AppleScript

Products

Piyomaru Software’s Products Information

Application: Kamenoko

(Now On Sale at Mac App Store) v1.0 supports macOS 10.13 or later. 100% written in AppleScript App.

Application: Double PDF

(Now On Sale at Mac App Store) v2.0 supports macOS 10.13 or later. v2.0 Now on sale! 100% written in AppleScript App.

eBooks

Small Applications

Piyomaru Small Application Products

Free products

You can use these products by free. No support. You can’t re-distribute these product.

choose runnning application Script Library

for macOS 10.10 or later
v1.0
Choose Running Application Script Library provides selection dialog to select a running & visible application process.
This library returns the selected process information by list.

–> Download chooseAppLib (To ~/Library/Script Libraries/)

Common Elements Lib Script Library

for macOS 10.10 or later
v1.1
“Common Elements Lib” script Library provides Natural Language Processing ability calling Wikipedia REST API service. This library process a pair of words and returns common elements with two words. I call elements as Wikipedia awared (linked) words such as “macOS” or “Open Scripting Architecture”.

–> Download Common Elements Lib(To ~/Library/Script Libraries/)

AirSharingLib Script Library

v1.0
This script Library provides file sharing ability using Apple’s AirDrop® wireless file sharing system among Mac or iOS devices. This library is for macOS 10.13 or later.
–> Download airsharinglib(To ~/Library/Script Libraries/)

display drop dialog Script Library

v1.0
This script Library provides drag & drop-able dialog interface for macOS without exporting as applet. This library can add file drag & drop ability to normal AppleScript launched from ScriptMenu and so on.
–> Download display drop dialog Script Library (To ~/Library/Script Libraries/)

map scripter script Library

v1.2
This library provides not url-events based scripting but an AppleScript-way scripting of Apple’s Maps.app. This is made for macOS 10.10 or later.

–> Download mapScripter(To ~/Library/Script Libraries)

choose multiple list Library

v1.1
This library provides a dialog to select multiple list.
Sample AppleScript is included in its AppleScript dictionary. This library is for macOS 10.13 or later.

–> Download chooseMultiList(To ~/Library/Script Libraries)

choose style lib Library

v1.0
This library provides a dialog to show style selector from RTF and display filtered text preview.
Sample AppleScript is included in its AppleScript dictionary. This library is for macOS 10.13 or later.

–> Download chooseStyleLib(library and sample RTF. Library have to install to ~/Library/Script Libraries)

checkboxLib Library

v2.0
checkboxLib script Library is an AppleScript library that gives AppleScript scripts the ability to choose items with checkbox dialog. It requires macOS 10.12 or later. This library includes demo movie link and sample script result images in its script dictionary.Sample script is included in its AppleScript dictionary which can be used by clicking “Click Here to Open This Script” link.

–> Download checkboxLibv2.scptd(To ~/Library/Script Libraries/)

choose date script Library

v1.0
choose date script Library is an AppleScript library that gives AppleScript scripts the ability to choose date with dialog. It requires macOS 10.12 or later. Sample script is included in its AppleScript dictionary which can be used by clicking “Click Here to Open This Script” link.

–> Download choose date Lib.scptd (To ~/Library/Script Libraries/)

display text fields script Library

v1.3
display text fields script Library is an AppleScript library that gives AppleScript scripts the ability to show label and value paired data with dialog. It requires macOS 10.12 or later. Sample script is included in its AppleScript dictionary which can be used by clicking “Click Here to Open This Script” link.

v1.3 added scroll view not to be crowded out of the dialog with a numbers of text fields

–> Download display text fields_v13 (To ~/Library/Script Libraries/)

choose location script Library

choose location library is an AppleScript library that gives AppleScript scripts the ability to show geolocation selection dialog with map. It requires macOS 10.12 or later. Sample script is included in its AppleScript dictionary which can be used by clicking “Click Here to Open This Script” link.

–> Download choose location.scptd (To ~/Library/Script Libraries/)

display table Script Library

v1.3 Updated
display table library is an AppleScript library that gives AppleScript scripts the ability to show simple table user interface with 2D list (array). It requires macOS 10.12 or later. Sample script is included in its AppleScript dictionary which can be used by clicking “Click Here to Open This Script” link.

If you need a complex and various function, you have to check Shane Stanley’s Myriad Tables Lib. display table is a simple and runs with Script Editor (no Script Debugger needed).

–> Download displayTable.scptd (To ~/Library/Script Libraries/)

display youtube Script Library

display youtube library is an AppleScript library that gives AppleScript scripts the ability to show youtube movie player user interface with a YouTube movie URL. It requires macOS 10.12 or later. Sample script is included in its AppleScript dictionary which can be used by clicking “Click Here to Open This Script” link.

Download display youtube_v2.scptd (To ~/Library/Script Libraries/)

pickup color Script Library

v1.2
pickup color library is an AppleScript library that gives AppleScript scripts the ability to choose color by popup menu dialog user interface. It requires macOS 10.12 or later. Sample script is included in its AppleScript dictionary which can be used by clicking “Click Here to Open This Script” link.

–> Download pickup color.scptd(To ~/Library/Script Libraries)

display location Script Library

display location library is an AppleScript library that gives AppleScript scripts the ability to show a geolocation with 4-way multi zoomed map. It requires macOS 10.12 or later.

–> Download display location.scptd (To ~/Library/Script Libraries/)

choose multiple path Script Library

v2.1
choose multiple path library is an AppleScript library that gives AppleScript scripts the ability to select multiple path by drag & drop operation. It requires macOS 10.12 or later.

–> Download choosePathLib.scptd(~/Library/Script Libraries)

displayTextView Script Library

displayTextView library is an AppleScript library that gives AppleScript scripts the ability to display long and scrollable text with indicated font. It requires macOS 10.12 or later.

–> Download displayTextView.scptd (To ~/Library/Script Libraries)

calcLibAS Script Library

v1.5
calcLibAS library is an AppleScript library that gives AppleScript scripts the ability to calculate additional 36 math functions.

–> Download calcLibASv1.5 (To ~/Library/Script Libraries/)

AppleScript名:Every Functions
— Created 2019-08-20 by Takaaki Naganoya
— 2019 Piyomaru Software
use AppleScript version "2.5"
use scripting additions
use framework "Foundation"
use calSub : script "calcLibAS"

set a001 to abs -10
set a002 to acos -1
set a003 to acosh 10
set a004 to asin 10
set a005 to asinh 10
set a006 to atan 10
set a007 to atan2 {10, 20}
set a008 to atanh 10
set a009 to cbrt 3
set a010 to ceil 0.95
set a011 to clz32 1
set a012 to cos 1
set a013 to cosh 1
set a014 to exp 1
set a015 to expm1 -1
set a016 to floor 45.95
set a017 to fround 1.337
set a018 to hypot {3, 4, 5}
set a019 to lmul {2, 5}
set a020 to logarithm 10
set a021 to log10 2
set a022 to log1p 1
set a023 to log2 3
set a024 to max {1, 2, 3, 4, 6, 2, 10}
set a025 to min {1, 2, 3, 4, 6, 2, 10, 0}
set a026 to pow {7, 2}
set a027 to rnd –random number
set a028 to roundNum 5.95
set a029 to sign 10
set a030 to sin (pi / 2)
set a031 to sinh 1
set a032 to sqrt 2
set a033 to tan 30
set a034 to tanh 10
set a035 to trunc 13.37

set aList to {a001, a002, a003, a004, a005, a006, a007, a008, a009, a010, a011, a012, a013, a014, a015, a016, a017, a018, a019, a020, a021, a022, a023, a024, a025, a026, a027, a028, a029, a030, a031, a032, a033, a034, a035}

return test() of calSub –Check function to calc from sdef and each handlers excepting random numbers

★Click Here to Open This Script 

電子書籍(PDF)をオンラインストアで販売中!

Google Search

Popular Posts

  • Safariで表示中のWebページの最終更新日時を取得
  • AppleScript上でJavaScriptを実行する
  • ディスプレイの設定切り替えをAppleScriptでも行えるSwitchResX
  • 指定ファイルサイズのJPEGに変換(圧縮率可変)_1K=1024で計算
  • Keynoteの各slideのtitleから目次のテキストを作成してNumbersの表を作成
  • CotEditorのScript集、PowerPack & Basic Packを配布開始
  • osascript系のAppleScriptランタイムを区別する
  • Universal Binaryチェックツール「Uni Detector」をMac App Storeでリリース
  • 住所録から苗字を抽出して1文字以上の苗字をリスト出力
  • Numbersで選択中の表のセルの範囲を背景色で頻度集計
  • 画面上の指定座標にマウスカーソルを強制移動させてクリック
  • 文字列から絵文字のみ削除するじっけん
  • 指定文字列ではじまるURLをオープン中のTabをクローズ
  • Elgato Stream DeckをAppleScriptでフル活用
  • 自分を最前面に移動させてAbout表示
  • CPUタイプを取得
  • Markdown書類をメモ.appに新規エントリで登録する
  • 見えてきたSIM入りMacの可能性? CoreTelephony
  • リストから選択してアイテム番号を返す
  • Keynoteスライドの末尾にQRコードのスライドを追加

Tags

10.11savvy (1109) 10.12savvy (1249) 10.13savvy (1389) 10.14savvy (531) 10.15savvy (325) 11.0savvy (133) CotEditor (48) Finder (43) iTunes (25) Keynote (66) NSAlert (59) NSAlertSecondButtonReturn (16) NSArray (50) NSBitmapImageRep (20) NSBundle (19) NSButton (33) NSColor (48) NSDictionary (26) NSFileManager (23) NSFont (18) NSImage (40) NSJSONSerialization (21) NSMutableArray (61) NSMutableDictionary (21) NSPredicate (36) NSRunningApplication (55) NSScreen (30) NSScrollView (22) NSString (114) NSURL (93) NSURLRequest (22) NSUTF8StringEncoding (30) NSUUID (18) NSView (33) NSWindow (17) NSWorkspace (19) Numbers (43) Pages (19) Safari (34) System Events (16) WKUserContentController (20) WKUserScript (19) WKUserScriptInjectionTimeAtDocumentEnd (17) WKWebView (21) WKWebViewConfiguration (21)

カテゴリー

  • AirDrop
  • AirPlay
  • Animation
  • AppleScript Application on Xcode
  • Bluetooth
  • Books
  • boolean
  • Bug
  • Calendar
  • call by reference
  • Clipboard
  • Code Sign
  • Color
  • Custom Class
  • dialog
  • drive
  • exif
  • file
  • File path
  • filter
  • folder
  • Font
  • GAME
  • geolocation
  • GUI
  • GUI Scripting
  • History
  • How To
  • Icon
  • Image
  • Input Method
  • Internet
  • JavaScript
  • JSON
  • JXA
  • Keychain
  • Language
  • list
  • Locale
  • Machine Learning
  • Markdown
  • Menu
  • Metadata
  • MIDI
  • MIME
  • Natural Language Processing
  • Network
  • news
  • Noification
  • Notarization
  • Number
  • OCR
  • OSA
  • PDF
  • Peripheral
  • PRODUCTS
  • QR Code
  • Raw AppleEvent Code
  • Record
  • recursive call
  • regexp
  • Release
  • Remote Control
  • Require Control-Command-R to run
  • REST API
  • RTF
  • Sandbox
  • Screen Saver
  • Script Libraries
  • sdef
  • search
  • Security
  • selection
  • shell script
  • Sort
  • Sound
  • Spellchecker
  • Spotlight
  • SVG
  • System
  • Tag
  • Telephony
  • Text
  • Text to Speech
  • timezone
  • Tools
  • Update
  • URL
  • UTI
  • Web Contents Control
  • WiFi
  • XML
  • XML-RPC
  • イベント(Event)
  • 未分類

アーカイブ

  • 2021年4月
  • 2021年3月
  • 2021年2月
  • 2021年1月
  • 2020年12月
  • 2020年11月
  • 2020年10月
  • 2020年9月
  • 2020年8月
  • 2020年7月
  • 2020年6月
  • 2020年5月
  • 2020年4月
  • 2020年3月
  • 2020年2月
  • 2020年1月
  • 2019年12月
  • 2019年11月
  • 2019年10月
  • 2019年9月
  • 2019年8月
  • 2019年7月
  • 2019年6月
  • 2019年5月
  • 2019年4月
  • 2019年3月
  • 2019年2月
  • 2019年1月
  • 2018年12月
  • 2018年11月
  • 2018年10月
  • 2018年9月
  • 2018年8月
  • 2018年7月
  • 2018年6月
  • 2018年5月
  • 2018年4月
  • 2018年3月
  • 2018年2月

https://piyomarusoft.booth.pm/items/301502

メタ情報

  • 登録
  • ログイン
  • 投稿フィード
  • コメントフィード
  • WordPress.org
Proudly powered by WordPress
Theme: Flint by Star Verte LLC