Automator Workflow Runnerの場所を開く
【スクリプトエディタで開く】 |
automatorの場所を開く.scpt | ソース |
|---|
| 001 | #!/usr/bin/env osascript |
| 002 | #coding: utf-8 |
| 003 | ----+----1----+----2----+-----3----+----4----+----5----+----6----+----7-- |
| 004 | (* |
| 005 | com.apple.automator-workflowを開く単機能 |
| 006 |
|
| 007 | com.cocolog-nifty.quicktimer.icefloe *) |
| 008 | ----+----1----+----2----+-----3----+----4----+----5----+----6----+----7-- |
| 009 | use AppleScript version "2.8" |
| 010 | use scripting additions |
| 011 | property refMe : a reference to current application |
| 012 |
|
| 013 | set strDirPath to ("/System/Library/Frameworks/Automator.framework/Versions/A/XPCServices/com.apple.automator.runner.xpc/Contents/MacOS") as text |
| 014 | set aliasDirPath to (POSIX file strDirPath) as alias |
| 015 | tell application "Finder" |
| 016 | open location aliasDirPath |
| 017 | end tell |
| 018 | tell application "Finder" |
| 019 | set aliasFilePath to (file "com.apple.automator.runner" of folder aliasDirPath) as alias |
| 020 | end tell |
| 021 |
|
| 022 | tell application "Finder" |
| 023 | tell front window |
| 024 | select aliasFilePath |
| 025 | end tell |
| 026 | end tell |
| 027 | return |
| AppleScriptで生成しました |
|---|