Greetings, Doom!

> Hi everybody,

> With your advice, I succeed in doing what I want.

> So the solution is to do a .bat with :

No, this is not a solution. Merely a quick hack.

> start "dia_integrated" "D:\Programs\Dia\bin\diaw.exe" --integrated %1

> And simply associate dia files to this bat.


> What I don't understand is why with this new installation the behaviour is
> different.
> For information, I have downloaded my installation file from here :
> http://dia-installer.de/  (I think)


> For developpers :
> 1 - thanks to developp Dia
> 2 - is it possible to add a config file to configure Dia to run by default
> in integrated mode

You can do it yourself. The right way.

> Thanks to all.

> Best regards.



> 2013/10/24 Peter McLennan <[email protected]>

>>  I use a batch file. Although I haven't tried it, investigate using the
>> 'START' command in it to start dia. The /B option may do what you want (ie,
>> not create command window). If not, have a look at other START arguments.
>> No promises!
>>
>> Peter
>>
>>  ------------------------------
>> *From:* dia-list [mailto:[email protected]] *On Behalf Of *Doom
>> *Sent:* Thursday, 24 October 2013 8:00 PM
>> *To:* discussions about usage and development of dia
>> *Subject:* Re: All-in-one window option (--integrated)
>>
>>     Hi Andrey and Michael,
>>
>> thanks for your answer.
>> Seems to be some misunderstandings, so I will precise my problem :
>>
>> I have tried to put --integrated after diaw.exe in the the file
>> association table, but it reply me that there is no such file.
>>
>> I know how to make a shortcut and how to add the --integrated option (I
>> have done it, call it 'dia_integrated.exe' in bin of Dia).
>> So if I have double-clicked on the shortcut, it opens Dia in integrated
>> mode,
>>      if I drag and drop the dia file on the shortcut, it open the file in
>> integrated mode
>>      if I associate this shortcut to .dia files (right clic + 'open with',
>> or configuration panel + programs + associate a file), .dia files are open
>> *without* integrated mode (it seems that dia_integrated is replaced by
>> diaw.exe in the association table, so without the --integrated option).
>>
>> I always use the third condition to open files, so I want to be ok with
>> the third solution.
>>
>> So I have done a .bat file which name is 'dia_integrated.bat' in bin of
>> Dia.
>> There's only one line in this batch : "D:\Programs\Dia\bin\dia.exe"
>> --integrated %1
>>
>> I have make association of .dia files to this bat
>>
>> Now it works, when I double-clicked on a dia file, it is opened in dia
>> with integrated mode, but the *parent* terminal is still open. If by
>> mistake, I close this terminal, Dia is immediately closed (no question) and
>> all changes doing in Dia will be lost.
>> My need is exactly the same, but without the terminal window (without the
>> risk of lost my works).
>>
>> _______________________________________________
>> dia-list mailing list
>> [email protected]
>> https://mail.gnome.org/mailman/listinfo/dia-list
>> FAQ at http://live.gnome.org/Dia/Faq
>> Main page at http://live.gnome.org/Dia
>>
>>
>>


--
WBR,
Andrey Repin ([email protected]) 04.11.2013, <20:49>

Sorry for my terrible english...

_______________________________________________
dia-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia

Reply via email to