RE: relaunch anomaly

2010-02-26 Thread Paul D. DeRocco
> From: Mark Schonewille
>
> This script might help you: http://qurl.tk/60 (mind line wraps on the
> website).
>
> Since it is now possible to sun VBScript woth the do command, you
> might take the script apart and only use
>
>put tVBS & cr & "WshShell.AppActivate" && pTitleOrID into tVBS
>
> and
>
>put tVBS & cr & "WshShell.AppActivate" && quote & pTitleOrID &
> quote into tVBS

Thanks. Looks promising. I'm surprised there isn't a Rev command for this
though.

--

Ciao,   Paul D. DeRocco
Paulmailto:pdero...@ix.netcom.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: relaunch anomaly

2010-02-26 Thread Mark Schonewille

Hi Paul,

This script might help you: http://qurl.tk/60 (mind line wraps on the  
website).


Since it is now possible to sun VBScript woth the do command, you  
might take the script apart and only use


  put tVBS & cr & "WshShell.AppActivate" && pTitleOrID into tVBS

and

  put tVBS & cr & "WshShell.AppActivate" && quote & pTitleOrID &  
quote into tVBS


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 26 feb 2010, om 06:16 heeft Paul D. DeRocco het volgende geschreven:

The docs say that not passing the relaunch event, and not returning  
anything
from the event, causes the new instance to terminate and the old  
instance to
become the foreground window. When I do this under WinXP, everything  
works

as advertised, including passing the command line parameter to the old
instance so that it opens the appropriate document file, except that  
the
window remains in the background. Is this something that varies with  
OS

version? Is there some Revolution command to force the old instance to
become the foreground window anyway?

--

Ciao,   Paul D. DeRocco
Paulmailto:pdero...@ix.netcom.com


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


relaunch anomaly

2010-02-25 Thread Paul D. DeRocco
The docs say that not passing the relaunch event, and not returning anything
from the event, causes the new instance to terminate and the old instance to
become the foreground window. When I do this under WinXP, everything works
as advertised, including passing the command line parameter to the old
instance so that it opens the appropriate document file, except that the
window remains in the background. Is this something that varies with OS
version? Is there some Revolution command to force the old instance to
become the foreground window anyway?

--

Ciao,   Paul D. DeRocco
Paulmailto:pdero...@ix.netcom.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Relaunch

2008-09-29 Thread Mark Schonewille

Hi Jacque,

If there is no other instance of a standalone running, where would the  
relaunch message go? It might be sent, but it would cause an error.  
So, I believe you can safely assume that the relaunch message is not  
sent, if no other instance of the standalone is running.


Note that this doesn't apply to copies of your standalone. The  
relaunch message is sent if you open the *same* standalone multiple  
times.


The message is sent to the stack. I don't think it is sent to the  
card. This means you need to have the relaunch in the stack script.


Also note that the message is sent to the instance of the standalone  
that is already running, not the the newly launched standalone.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum/

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
 for more info.


On 29 sep 2008, at 05:53, J. Landman Gay wrote:

The docs are a little vague on one aspect of the relaunch command. I  
assumed it would only be sent if there was an existing instance of  
the standalone running, but further down in the description the docs  
say: "If there are no existing instances, the new instance will run."


Is "relaunch" sent to a standalone when there is no other instance  
running? And if so, where in the message hierarchy is it sent?


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Relaunch

2008-09-28 Thread J. Landman Gay
The docs are a little vague on one aspect of the relaunch command. I 
assumed it would only be sent if there was an existing instance of the 
standalone running, but further down in the description the docs say: 
"If there are no existing instances, the new instance will run."


Is "relaunch" sent to a standalone when there is no other instance 
running? And if so, where in the message hierarchy is it sent?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Relaunch

2007-02-02 Thread Devin Asay

On Feb 1, 2007, at 9:12 PM, Charles Szasz wrote:
Has anybody use the relaunch command to prevent an application from  
being launch a second time while it is open?





Charles,

Just include a relaunch handler in the stack script that blocks the  
message from being passed. I do this all the time to prevent multiple  
instances of my app on Windows.


on relaunch
  ## block - not passing relaunch kills the new instance
end relaunch

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Relaunch

2007-02-01 Thread Charles Szasz
Has anybody use the relaunch command to prevent an application from  
being launch a second time while it is open?



Charles Szasz
[EMAIL PROTECTED]



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Relaunch doesn't work with U3?

2006-10-31 Thread Mark Schonewille

Hello,

Can anyone confirm that the relaunch message doesn't work with  
standalones for U3 and did anyone find a fix for this already? (Rev  
2.7.4, Windows XP).


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Relaunch doesn't work with U3?

2006-10-31 Thread Mark Schonewille

Hi,

I'm also very interested to know if anyone got is application  
certified for U3 already.


Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 31-okt-2006, om 16:58 heeft Mark Schonewille het volgende geschreven:


Hello,

Can anyone confirm that the relaunch message doesn't work with  
standalones for U3 and did anyone find a fix for this already? (Rev  
2.7.4, Windows XP).


Best,

Mark


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution