> 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, -- Benoît Minisini ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user