AutomatorからApplescriptの受け渡し?
Automatorでプリントプラグインを作成しようと思ってます。
動作は指定したフォルダに保存し、ファイル名はクリップボードの内容に置き換えるといった流れです。
途中まで出来ましたが、AppleScriptでファイル名を変更する方法がわかりません。
on run {input, parameters}
set fileName to the clipboard
tell application "Finder"
set name of input to fileName
end tell
end run
AppleScriptの知識が足りず、解決出来ません。
よろしく御願いします。
Mac mini, Mac OS X (10.6.8)