Recently, Bill Vlahos wrote:

> I want to delete a file on disk but not do it immediately. If I just issue the
> "delete file..." command it works right away.
> delete file "Folder/temp/" & originalFileName  -- Works
> 
> How do I issue the command to delete it in 20 seconds? If I issue the
> following it gets a compiler error "missing a comma near the to".
> send delete file "Folder/temp/" & originalFileName to this stack in 20 seconds
> -- Gets a compiler error

Create a new handler/command and send it after 20 seconds.

send "deleteTempFile pFileName" to me in 20 secs

on deleteTempFile pFileName
   delete file "Folder/temp/" & pFileName
end deleteTempFile


Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to