Page 1 of 1

Save config action

Posted: Sat Feb 20, 2010 12:39 pm
by 22hn
Why not add an action called "Save EG Config" to the EG config tree.

That way, everyone can have their own way of autosaving the EG config...

In my case, I would make a timer that triggers a config save some time before my nightly backup job starts.

Re: Save config action

Posted: Sat Feb 20, 2010 5:00 pm
by Bartman
AFAIK you can do this by a simple Python command. You'll probably find it look at what the save button does.

Re: Save config action

Posted: Sun Feb 21, 2010 10:35 am
by 22hn
I found something called eg.config.Save(), but that doesn't seems to do the trick...

How do I check what the save button does...?

Re: Save config action

Posted: Sun Feb 21, 2010 1:28 pm
by Pako
You are looking bad. :)
You can try:

Code: Select all

eg.document.Save()
or

Code: Select all

eg.document.SaveAs()
Pako

Re: Save config action

Posted: Sun Feb 21, 2010 2:50 pm
by 22hn
Pako wrote:You are looking bad. :)
Indeed I was... Thanks!