The Plugin Help on the FH API Funcion fhGetContextInfo('CI_APP_MODE') says it:
Returns one of the following:
'Project Mode'
'Gedcom Mode'
'Gedcom Mode (new)'
The first value is obviously related to V4/V5 Project Mode, and the last two to V3 standalone GEDCOM mode.
However, it does not explain the distinction between the last two values, nor the circumstances that cause them to be returned.
ID:5490
* fhGetContextInfo('CI_APP_MODE') Returns?
- tatewise
- Megastar
- Posts: 27080
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
fhGetContextInfo('CI_APP_MODE') Returns?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- Jane
- Site Admin
- Posts: 8441
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
fhGetContextInfo('CI_APP_MODE') Returns?
The second one is a new gedcom file (eg 1 created from File/Gedcom Tasks/New which has not been saved and therefore has no name.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- tatewise
- Megastar
- Posts: 27080
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
fhGetContextInfo('CI_APP_MODE') Returns?
I have updated the Let Standalone Gedcom Use Project Commands plugin to take account of this explanation.
Perhaps the Plugin API Help needs this this explanation to be added.
Perhaps the Plugin API Help needs this this explanation to be added.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- tatewise
- Megastar
- Posts: 27080
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
fhGetContextInfo('CI_APP_MODE') Returns?
The V5.0.0.3 Help has been improved and so this problem has been fixed.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry