Author Topic: Open last files at startup  (Read 1611 times)

Offline phatmn

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Open last files at startup
« on: January 15, 2015, 11:11:24 am »
The option "Open Last Files" (Tools->Options->General->Actions->At Startup) not work for the files opened from a shell (e.g. Windows Explorer or Total Commander).
Not sure this is a bug or feature, but when I close the app I expect that all files opened will be opened next time I start the app.
v.1.60.7
buld date 1:54:18 30.12.2014
unicode
x64

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2181
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Open last files at startup
« Reply #1 on: January 16, 2015, 11:42:08 am »
Hi phatmn,

welcome on forum.

There is a XML flag controlling this nobody has used before :)
Have added description on wiki:
http://wiki.hippoedit.com/options/xml/remember-only-direct-open-files

BR, Alex.

Offline phatmn

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Open last files at startup
« Reply #2 on: January 16, 2015, 08:43:52 pm »
Thank you! Fastest bug fix)
Will try this on monday

Offline phatmn

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Open last files at startup
« Reply #3 on: January 19, 2015, 08:28:17 am »
It works!
But with a note - config must be edited when the HippoEdit is closed. Because when we close HippoEdit it obviously rewrite config values that loaded at startup.
So if open config in HippoEdit and change parameter to false, then restart Hippo - parameter again will be true.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2181
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Open last files at startup
« Reply #4 on: January 19, 2015, 04:34:04 pm »
That is true.
HE does not track manual changes of the configuration files in the editor itself. So it may happen that HE will overwrite configuration file, if data related to it was change in HE internally.
HE also does not do automatic reload of settings, if you save configuration file - it is nice feature but rather complex in implementation.

I will check what is possible there.. At least, if it can be avoided that configuration files are ovewritten if data was not actually changed.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1333 Views
Last post February 25, 2009, 10:21:24 pm
by alex
7 Replies
2273 Views
Last post March 21, 2009, 11:42:54 pm
by Stefan
3 Replies
1846 Views
Last post August 06, 2009, 04:20:59 pm
by alex
25 Replies
7166 Views
Last post May 22, 2011, 09:46:46 pm
by Alain
7 Replies
2082 Views
Last post March 22, 2017, 03:03:10 pm
by alex