[Gambas-user] Desktop.Open slows application
Stefano Palmeri
rospolosco at ...152...
Mon Nov 1 16:07:49 CET 2010
Il lunedì 1 novembre 2010 13:57:14 Benoît Minisini ha scritto:
> > Hi, Benoit.
> >
> > I download a file and I want to have a preview while downloading.
> > While downloading, a progress value is updated every second or so.
> >
> > If I use Desktop.Open(URL) to preview the file, the progress value is
> > blocked until the Desktop default application starts playing the file.
> > In this case I talk about amarok. But if I use a SHELL call instedad of
> > Desktop.Open(URL) everything is fine and the progress is not blocked.
> > I would like Desktop.Open would work as a shell call or exec with no WAIT
> > at all. Is it possible? Something like:
> >
> > Desktop.Open(URL, False) if you don't want to wait that starting.
> >
> > finally:
> >
> > SHELL "amarok -a -p " & URL doesn't stop anything
> >
> > Desktop.Open(URL) pauses the program, I mean the progress update.
> >
> > Regards,
> >
> > Stefano
>
> Hi,
>
> In revision #3275, Desktop.Open() now takes one more optional argument to
> tell if the URL must be opened in background or not. By default, the URL is
> opened in background.
>
> Regards,
Good! Thanks.
Regards,
Stefano
More information about the User
mailing list