Page 1 of 1

Bug with @display

Posted: Mon May 06, 2013 2:00 pm
by xabierpayet
I´m trying to send a desktop capture every x seconds to my ftp server, and if i use hidden=true, the program hangs under windows, but work fine under AmigaOS, anyone knows how make it with the display hidden? Using hidden=false, work fine, but the windows bar show the name of the program running


@DISPLAY {title="senddsk",hidden=true}
STARTTIMER(1)
while(0=0)
waittimer(1,5000)
desktop_brush=grabdesktop(nil)
uploadfile("ftp://xxx:xxx@xxxxx.xxx.jpg",{file="xxx.jpg"})
wend

Re: Bug with @display

Posted: Sat May 11, 2013 1:32 pm
by airsoftsoftwair
I cannot reproduce this here, but I've removed the UploadFile() call. Does it work on your system if you remove the call to UploadFile() or does it hang then too?

Re: Bug with @display

Posted: Thu May 16, 2013 3:39 pm
by xabierpayet
the bug is in the uploadfile instruction, without it, all work fine, but for use it i need use {hidden=false} i cannot hide my window and use uploadfile