Re: All-in-one window option (--integrated)



Hi everybody,

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

So the solution is to do a .bat with :
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

Thanks to all.

Best regards.



2013/10/24 Peter McLennan <dia catplace net>
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:dia-list-bounces gnome org] 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
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]