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).

For recalling, I am under windows seven now.

To answer to Andrey, when I type ASSOC .dia in a terminal, it replies me somethings like 'file association not found for dia extension'.
I am not administer of my PC (it is a company computer).


I have also noticed a little bug. When I open my dia file, the 'dynamic grid' in Diagram Properties is always checked, even if I have unchecked it and saved the file.


Best Regards and thanks for your help.

Doom.
 


2013/10/24 Michael Ross <michael e ross gmail com>
No, it won't do that, but you can open two instances of Dia, and Copy and paste between them, if you like, or not.

So, one short cut works fine for one way and the other works the other way.


On Wed, Oct 23, 2013 at 6:54 PM, Andrey Repin <anrdaemon freemail ru> wrote:
Greetings, Michael Ross!

Top posting fixed, see answer below.


>> I upgraded last week my pc to windows seven and after reinstalling Dia, it
>> is not in all-in-one window mode ( --integrated ) as previously.
>> When I open a windows terminal and type the dia.exe --integrated, it works.
>>
>> Now I want that when I double clic a dia file, it opens it in a all-in-one
>> dia window.
>>
>> I have tried to add the option in the file extension association table,
>> but it doesn't accept the --integrated.

> Sometimes I want integrated and I simply edit the shortcut I use to start
> Dia to add the --integrated
> Then I delete it from the shortcut when I get tired of it.

> No open console windows are involved.

> Do you know how to edit a shortcut icon in its property window?  If you
> need instructions I will give them.

Editing Dia shortcut doesn't change the way Dia start when opening a document.


--
WBR,
Andrey Repin (anrdaemon freemail ru) 24.10.2013, <02:53>

Sorry for my terrible english...

_______________________________________________
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




--
Put this question to yourself: should I use everyone else to attain happiness, or should I help others gain happiness?  
Dalai Lama 

To invent, you need a good imagination and a pile of junk.

A public-opinion poll is no substitute for thought.
Warren Buffet

Michael E. Ross
(919) 576-0824 Google Phone




_______________________________________________
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]