Problems running more than one instance

All discussions here

Problems running more than one instance

Unread postby RRTimer » Thu Feb 10, 2011 8:05 pm

I'd like to be able to run two or three copies of Xnote Stopwatch at the same time. However, if I set one copy XNote with the fonts, colors and other settings I want, starting a second instance of XNote does not use the same settings (it reverts back to the default settings). How can I get all running instances of XNote Stopwatch to use the same settings?
RRTimer
 
Posts: 2
Joined: Thu Feb 10, 2011 7:45 pm

Re: Problems running more than one instance

Unread postby Stopwatch » Fri Feb 11, 2011 1:13 pm

Stopwatch
Site Admin
 
Posts: 421
Joined: Thu Feb 19, 2009 6:25 pm

Re: Problems running more than one instance

Unread postby eug » Tue Jan 17, 2012 5:19 am

Hi,
I've got this same problem too . This is what I've done:

- Load up XNote Stopwatch with the Start menu shortcut
- Customize the font, colors, size, type (clock)
- Save it as Clock.xnsw, then close the program.

- Load up XNote Stopwatch again with the start menu shortcut (it loads up with the previous settings)
- Customize the font, colors, size, type (stopwatch)
- Save it as Stopwatch.xnsw, then close the program.

I now have two .xnsw files. I then double-click on Clock.xnsw. The clock loads up, but with the visual settings of Stopwatch.xnsw - the font, bg color, and size are all from Stopwatch.xnsw.

Now, when I load both xnsw files together, suddenly the default visual settings gets loaded up (Liquid crystal font, grey BG, default size). I then close both instances of XNSW and double-click on either one of the .xnsw files - the default visual settings always appear now. All my custom settings are gone. What is happening? Does saving the .xnsw file not save the visual settings?

How do I generate an .ini file?
eug
 
Posts: 3
Joined: Tue Jan 17, 2012 5:06 am

Re: Problems running more than one instance

Unread postby Stopwatch » Tue Jan 17, 2012 8:31 am

eug wrote:Does saving the .xnsw file not save the visual settings?

Yes.

eug wrote:How do I generate an .ini file?

You need not to generate. File will be created at exit.
Stopwatch
Site Admin
 
Posts: 421
Joined: Thu Feb 19, 2009 6:25 pm

Re: Problems running more than one instance

Unread postby eug » Tue Jan 17, 2012 8:44 am

Ahh ok, that'd explain it. So I presume along with the two .xnsw files, i'll have two .ini files to go along with them, called with the /c parameter?

Out of curiosity, why aren't the visual settings saved in the .xnsw file?

Thanks!
eug
 
Posts: 3
Joined: Tue Jan 17, 2012 5:06 am

Re: Problems running more than one instance

Unread postby Stopwatch » Tue Jan 17, 2012 10:04 am

eug wrote:Ahh ok, that'd explain it. So I presume along with the two .xnsw files, i'll have two .ini files to go along with them, called with the /c parameter?

Most likely you have not to use .xnsw files at all. .xnsw was designed to store time marks only.

eug wrote:Out of curiosity, why aren't the visual settings saved in the .xnsw file?

It will be redesigned soon.
Stopwatch
Site Admin
 
Posts: 421
Joined: Thu Feb 19, 2009 6:25 pm

Re: Problems running more than one instance

Unread postby eug » Wed Jan 18, 2012 3:42 am

Thanks for the help!

In case it helps anyone else, my .ini file was found at C:\Users\<username>\AppData\Roaming\XNote Stopwatch\xnsw1.ini(Windows 7 x64).

Using the /c=filename.ini method works perfectly.
eug
 
Posts: 3
Joined: Tue Jan 17, 2012 5:06 am

Re: Problems running more than one instance

Unread postby Stopwatch » Wed Jan 18, 2012 9:44 am

I recommend to keep this file in another folder.
Stopwatch
Site Admin
 
Posts: 421
Joined: Thu Feb 19, 2009 6:25 pm


Return to Main forum

Who is online

Users browsing this forum: Bing [Bot] and 22 guests