Author Topic: Open default project automatically at startup  (Read 6153 times)

Bert Malliet

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • Belgian Railways IT - functional analyst
    • View Profile
Open default project automatically at startup
« on: June 07, 2012, 07:37:18 pm »
hi all,
i'd like EA to automatically open my default project at startup.
by default project i mean the project i'm currently working on the most, so likely but not necessarily the most recently used project.
i feel a bit embarassed asking because i feel like i already have come across this option but can't find it anymore.
Bert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13400
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Open default project automatically at startup
« Reply #1 on: June 07, 2012, 09:08:32 pm »
Bert,

Just doubleclick on the .eap file i.s.o. opening EA.exe

Geert

Bert Malliet

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • Belgian Railways IT - functional analyst
    • View Profile
Re: Open default project automatically at startup
« Reply #2 on: June 07, 2012, 09:29:51 pm »
Hi Geert,
Well, I kind of knew that trick and it's what I've been practicing so far.
But since this reply is coming from you, it is helpfull anyway: I'm quite sure now that the option I felt I already came across, simply does not exist. Thanks for the relief!
Bert
Bert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13400
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Open default project automatically at startup
« Reply #3 on: June 07, 2012, 09:52:16 pm »
You can have EA automatically open one or more diagrams when you open a model, but other then that, no not that I know of.

Geert

philchudley

  • EA User
  • **
  • Posts: 743
  • Karma: +21/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Open default project automatically at startup
« Reply #4 on: June 07, 2012, 10:00:50 pm »
Try this

Create (or modify) a Desktop shortcut to Enterprise Architect such that the Target for the Shortcut Tab on the Properties dialog looks like

[highlight]"C:\Program Files (x86)\Sparx Systems\EA\EA.exe" "c:\EA-Projects\Internet Book Store\The On-Line Media Store.eap"[/highlight]

That is just add the full path to your favourite EAP file after the path to EA.exe

You can repeat this using as many shortcuts as you wish, and if you have saved a server repository connection as a shortcut eap file, then this will work as well.

Cheers

Phil
Models are great!
Correct models are even greater!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13400
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Open default project automatically at startup
« Reply #5 on: June 07, 2012, 10:04:26 pm »
Phil,

Isn't that more complicated that using a shortcut to the .eap file (or the .eap file itself)

Geert

Doug Blake

  • EA User
  • **
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: Open default project automatically at startup
« Reply #6 on: June 08, 2012, 10:00:16 pm »
Yes but its doesnt work for a server repository. This functionality is included in many a good application ... ;)
DGB Using 12.0.1214 / eaDocX 3.6.2.1 / MSSQL / TFS / Windows 7 / IE11

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Open default project automatically at startup
« Reply #7 on: June 08, 2012, 10:23:27 pm »
From a DBMS Repository, you can use "File | Create Project Shortcut". This creates an EAP file where you like, with the connection string.

Doug Blake

  • EA User
  • **
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: Open default project automatically at startup
« Reply #8 on: June 11, 2012, 05:09:10 pm »
Yes, but what do I want an EAP file for when I have a DBMS repository? Its just another item to manage outside of version control.

A link that opens EA using my repository is the only type of link I would be interested in. I presume theres no command line interface to EA??
DGB Using 12.0.1214 / eaDocX 3.6.2.1 / MSSQL / TFS / Windows 7 / IE11

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13400
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Open default project automatically at startup
« Reply #9 on: June 11, 2012, 05:17:24 pm »
Doug,

A .eap file for a DBMS repository is just a shortcut.
It's a text file containing the connection string to the database. (try opening it with notepad).
These are completely different from regular .eap files (which are actually MS-Access databases)

Geert

Bert Malliet

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • Belgian Railways IT - functional analyst
    • View Profile
Re: Open default project automatically at startup
« Reply #10 on: June 12, 2012, 08:15:45 pm »
Well, I kind of like the Project Shortcut concept. It's convenient to have a selection of diagrams and searches opened automatically in a fixed order, and that the project browser is unfolded accordingly.
A minor minus is that the window title displays the name of the shortcut in stead of the name of the opened project.
Thank you all for your posts. 8-)
Bert