Is there anyway to get the current config file name (with fully qualified path)?
TIA
- Jeff
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Get Current Config File Name
-
jsonnabend
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Get Current Config File Name
eg.document.filePath
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
-
jsonnabend
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Get Current Config File Name
Thanks bitmonster. Is that read-only, or can we set the config file that way too?
- Jeff
- Jeff
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Get Current Config File Name
No, it is read-only.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
-
jsonnabend
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Get Current Config File Name
I just played around with it, and it's not really read-only. The value can be changed in a python script, but it doesn't reload the config file. It does, however, change the file that EG will open the next time it is run.
Is there a way we can tell EG to restart via a python script?
- Jeff
Is there a way we can tell EG to restart via a python script?
- Jeff