Send delete file in time

Bill Vlahos bvlahos at mac.com
Mon May 10 15:46:58 CDT 2010


Mark and Scott,

You guys are awesome. That worked.

Thank you,
Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.

On May 10, 2010, at 1:27 PM, Scott Rossi wrote:

> 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list