Book a Demo

Author Topic: Auto-open last project at startup?  (Read 4650 times)

pstein

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Auto-open last project at startup?
« on: March 14, 2008, 05:15:00 am »
After I startup EA I have always to open a project explicitly.
Is there a way to tell EA "Open last used project automatically at startup"?

Maybe EA could even expand those package branches in Project Browser which were expand the last time before I closed EA.
Is this possible as well (through preferences) ?

Peter

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Auto-open last project at startup?
« Reply #1 on: March 14, 2008, 08:21:14 am »
Sort of.

As far as open last model, I don't think you can. But you have all kinds of ways to handle recent files in Windows so that should not be too bad.

As far as opening diagrams and such when you (somehow) do open a project, you have some control. You can set a default diagram rather than the start page. Open the diagram, and while it is current, from the main menu choose Diagram | Make Model Default.

If - and only if - you are using a DBMS repository for your model, try the Save As dialog. You'll find several options you can set for startup.

David
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Auto-open last project at startup?
« Reply #2 on: March 14, 2008, 10:29:26 am »
Not automatically, but here's what I could do.

First, EA can create shortcuts to .eap files or repositories.  (See File | Save Project As)  As with other .eap files, if you open them, it opens that file in EA.

With just a little bit of effort your could write an addin that writes a shortcut file specifying your last model every time EA closes.  (Look at Repository.ConnectionString)  You can even get the current diagram and open that when the model opens.

Then it's just a matter of opening that eap file every time you start EA. [smiley=cool.gif]

SaschaR

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Auto-open last project at startup?
« Reply #3 on: April 09, 2008, 01:04:59 am »
Hi,
is there a way to modify the shortcut .eap files to open an http resource?
This is because we want to share our .eap files over http and still be able to use this shortcuts.
Greetings
Sascha

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Auto-open last project at startup?
« Reply #4 on: April 09, 2008, 02:33:36 am »
Quote
Hi,
is there a way to modify the shortcut .eap files to open an http resource?
This is because we want to share our .eap files over http and still be able to use this shortcuts.
Greetings
Sascha

Not being sure whether I got you correct but if you click on an EAP file in the HTTP/FTP browser it should open with the default application which is, surprisingly, EA.
However if you have a file repository the shortcut will point to that so it might be a good idea to put the repository on a Windows share instead of a web server. Better is a database repository of course.

Even if you could connect to the repository via HTTP it would slow down operation a lot. EA permanently makes use of read and write operations to the repository and even with a persistent HTTP connection I assume things would not be that acceptable on large projects.

However I´d appreciate to be proven wrong on this matter.

Oliver

Oliver