Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait for a file in directory
#2
IntGetFile waits?
Function Function137
Code:
Copy      Help
str files=
;http://google-maps-icons.googlecode.com/files/video.png
;http://google-maps-icons.googlecode.com/files/audio.png
;http://google-maps-icons.googlecode.com/files/text.png
;http://google-maps-icons.googlecode.com/files/photoupright.png
;http://google-maps-icons.googlecode.com/files/toilets.png
;http://google-maps-icons.googlecode.com/files/wifi.png
;http://google-maps-icons.googlecode.com/files/disability.png
;http://google-maps-icons.googlecode.com/files/winetasting.png
;http://google-maps-icons.googlecode.com/files/fire.png

ARRAY(str) aFiles=files
for int'i 0 aFiles.len
,out "getting file"
,str localfile.getfilename(aFiles[i] 1)
,localfile-"$desktop$/"
,IntGetFile aFiles[i] localfile 16
,if(!dir(localfile))        
,,out "THIS SHOULD NEVER OUTPUT"
,out "This won't fire until the file is downloaded"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)