Sub Process_Globals
Dim Tim1 As Timer
'...............
'...............
'...............
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
Tim1.Initialize("Tim1",100) ' millisecondi
Tim1.Enabled= false
End If
'...............
'...............
'...............
' ---------- Dove si chiama copia ----
File.Copy(Dir,file origine, Dir,file destinazione)
Tim1.enabled = true
'...............
'...............
'...............
Sub Tim1_Tick
if File.Exist (Dir,file destinazione) then
if file.Size(Dir,file destinazione) = file.Size(Dir,file origine) then
File.delete(Dir,file origine)
tim1.enabled= false
end if
End if
End Sub