Created
November 2, 2011 13:49
-
-
Save tejima/1333667 to your computer and use it in GitHub Desktop.
スクリーンショットを撮ってDropboxに保存、そのURLをクリップボードにコピーするAutomator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delay 2 | |
set DROPBOX_PATH to "/Users/tejima/Dropbox/Public/p/" as text | |
-- ↑PC内のDropboxのパスを指定"/Users/PCのユーザー名/Dropbox/Public/p/" などとする | |
set PUBLIC_PATH to "http://p.pne.jp/d/" as text | |
-- ↑Dropboxのパブリックリンク"http://dl.dropbox.com/u/DropboxのユーザーID/p/" などとする | |
set cqc_name to do shell script "date +\"%Y%m%d%H%M\"" & ".png" | |
do shell script "/usr/sbin/screencapture -s " & DROPBOX_PATH & cqc_name | |
set cqc_result to PUBLIC_PATH & cqc_name as text | |
set the clipboard to cqc_result | |
return cqc_result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
いえーい
http://dl.dropbox.com/u/20190621/p/201111051451.png