- 追加された行はこの色です。
- 削除された行はこの色です。
[[スクリプト]]
*9hoursbefore [#q0bac11d]
**これは何? [#m799bb2f]
AppleScriptにより、タイムスタンプを9時間戻します。
**Download [#b05a9208]
&attachref();
**Script [#o2bb9bcc]
-- 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