Thanks Allen, Of course I tried lay/changes: 'activate in View anyway, and noticed as you said that it only flashes in the taskbar (if it's not the primary task ? win2k).
Thanks James, > screenshot: http://www.mustard.co.nz/rebol/minimalist.jpg > code: http://www.mustard.co.nz/rebol/window.r It's a nice idea, but not suitable if you want to use a mix of rebol and native applications. I might use a combination of these different techniques, depending on what's available. Or another idea I've been toying with for a while is to have a little rebol applet-launching server running in the background, listening on a port for instructions. Of course it's more work, but you get more out of it too. Probably rugby can help me there, actually. Anton. > > Hi, I am looking for a way to activate and pop > > a window to the front with rebol/view. > > > > Using 'launch is not ideal because it won't work > > if the program that wants to launch has already > > itself been launched (as from the Desktop). > > > > I could use View/Pro features to launch another > > rebol process, but I would rather not: > > > > call "\path\to\rebol.exe script-name.r" > > > > As described in rebol/Zine Volume 1 Issue 5, > > you can do this in IOS: > > > > lay/changes: 'activate > > show lay > > > > Maybe there is a similar trick in Rebol/View? > > > > Anton. > > Hi Anton, > > Sorry for being misleading on that, it should also work in View. > RIM.r uses > it. However it is not guaranteed to pop window to the front, it may just > make it flash on the taskbar. > (e.g Win98, Win2000 and WinXp behave differently from each other) > > You might use a pattern similar to this. > > view-lay: does [view/new lay] > > ;and then when required to pop up again.. > either viewed? lay [lay/changes: 'activate show lay][view-lay] > > ; --- Not sure if answer you question or not... > > Cheers, > > Allen K -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
