Bug with @display

Report any Hollywood bugs here
Post Reply
xabierpayet
Posts: 270
Joined: Fri Feb 24, 2012 9:34 am

Bug with @display

Post 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
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Bug with @display

Post 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?
xabierpayet
Posts: 270
Joined: Fri Feb 24, 2012 9:34 am

Re: Bug with @display

Post 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
Post Reply