スクリプト

[edit]

9hoursbefore

[edit]

これは何?

 AppleScriptにより、タイムスタンプを9時間戻します。

[edit]

Download

[添付]

[edit]

Script

-- FileName: 9hoursbefore.srpt
-- 機能:ドラッグアンドドロップしたファイルの 
--    タイムスタンプを-9時間します。

on open of theFiles
tell application "Finder"

set change_time_seconds to -9 * 3600

--ファイルの変更
repeat with i in theFiles
try
set modification date of i to (modification date of i) +
change_time_seconds
on error errMsg number errNum
display dialog ((name of i) as Unicode text) & return & "の処理に失敗し
ました。"
end try
end repeat

end tell
end open

トップ   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS