Inactivity Timer for Second Window only?

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
Vincent Mak
Observer
Observer
Posts: 2
Joined: Fri Nov 30, 2007 10:09 am

Inactivity Timer for Second Window only?

Post by Vincent Mak »

Is it possible to have an Inactivity Timer set only for the Second window and have no effect on the Primary Window?

If yes, which settings in the INI file show I change?

Thank you.

Scott
Site Admin
Site Admin
Posts: 2537
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

The only way you could do this is to have one PWB launch another. This would allow the first instance of PWB to not have a timer, but the second instance to. There are a few settings that can help acheive this.

[SecondWindow]
OpenInNewProcess=True

[Java]
JavaExecute=StartPWB

You may also want to look into the PWB Desktop mode.

--Scott

Vincent Mak
Observer
Observer
Posts: 2
Joined: Fri Nov 30, 2007 10:09 am

Post by Vincent Mak »

Thanks for the quick reply. I need more info though...

If I use

[SecondWindow]
OpenInNewProcess=True

to launch the second window,

what INI setting should I use so that only the second window has a timer?

Or rather, how do I tell the second instance of the PWB browser to use a different INI file so that only the second window has a timer?


Thanks again

Scott
Site Admin
Site Admin
Posts: 2537
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

You would have to use some tricky batach files, it would be easier to use the Dynamic External Java commands to launch a second instance of PWB either with a command line URL or form a different folder.

[Java]
JavaExecute=StartPWB

Here is an example of the java commands:
http://www.teamsoftwaresolutions.com/beta/external.htm

--Scott

Post Reply