Page 1 of 1

Single Instance

Posted: 08 Mar 2006 00:19
by phatmankerr
Any chance of having an option to force a single instance.

Just I use an app called Locate - which can be setup to use XYplorer in place of Explorer. Unfortunately every time I open a folder via Locate in opens a new instance of XYPlorer (would rather just have a new tab).

Thanks

Phat

Re: Single Instance

Posted: 24 May 2006 12:53
by admin
phatmankerr wrote:Any chance of having an option to force a single instance.
Yep, working on it. However, as you know, XY's caption is changing all the time to current folder --> my problem: how can I find the window without knowing the current caption?? Helping ideas appreciated...

EDIT: got it: EnumWindows ...

Re: Single Instance

Posted: 24 May 2006 22:20
by admin
phatmankerr wrote:Any chance of having an option to force a single instance.
OK, success! Check next upload...

Single Instance

Posted: 25 May 2006 20:37
by phatmankerr
Thanks mate, with the check open tabs update that's 2 for 2.

Appreciated :D .

Phat

Single Instance

Posted: 04 Jun 2006 16:41
by phatmankerr
How does this actually work, is it an option ? Just tested and it still opens a new instance of XY ?

Phat

Re: Single Instance

Posted: 05 Jun 2006 09:51
by admin
phatmankerr wrote:How does this actually work, is it an option ? Just tested and it still opens a new instance of XY ?
It is not optional but always active:

Code: Select all

    + If a new instance of XY is loaded with a startpath command line 
      parameter, this path is opened in a new foreground tab of the 
      previous instance instead of loading the new instance. Of these 
      three possible command line forms...
        XYplorer.exe
        XYplorer.exe "mystartpath"  [quotes optional]
        XYplorer.exe /ini="my ini file" "mystartpath" [idem]
      ... only the second will trigger the above behavior. The other 
      will load a 2nd instance.

Excellent !

Posted: 05 Jun 2006 20:29
by phatmankerr
Aaah !

Works great.

Cheers

Phat