Geektool coding to remove image after a set time I'm trying to edit a 3rd party script written in AppleScript (OAS...I think) to dim the volume after showing changes. I've tried changing the opacity &amp; switching to a transparent image using a repeat loop &amp; current date without success.

set T1 to seconds of (current date)
set T2 to T1 + 5
repeat with T1 from T2 to T2
   set opacity to 0 (*or do shell script...)
end repeat


This should work I'm just struggling with implementation.
Use the delay command. It's very simple: it simply delays by the given time in seconds. Example: delay 5 would delay for 5 seconds.