Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugins:code_snippets:preserve_user_settings [2013/06/10 12:09]
tatewise Minor update
plugins:code_snippets:preserve_user_settings [2018/02/24 00:00] (current)
Line 7: Line 7:
 Some users run Family Historian on more than one PC and synchronise files across the PC. To support these users, some ‘sticky’ settings, such as window position or default folder, may need to be local to each PC, whereas others need to be global. The local settings are associated with the system **ComputerName**. Some users run Family Historian on more than one PC and synchronise files across the PC. To support these users, some ‘sticky’ settings, such as window position or default folder, may need to be local to each PC, whereas others need to be global. The local settings are associated with the system **ComputerName**.
  
-Both the Family Historian ​**Version 4 Project structure** and **Version 3 standalone GEDCOM** mode are supported.+Both the {{fh}} ​**Version 4 Project structure** and **Version 3 standalone GEDCOM** mode are supported.
  
 This code also illustrates a coding style where: This code also illustrates a coding style where:
Line 23: Line 23:
 ===== Code ===== ===== Code =====
  
-<code lua>+<code lua PreserveUserSettings.fh_lua>
 require "​iuplua"​ -- To access GUI window builder require "​iuplua"​ -- To access GUI window builder
 require "​lfs"​ -- To access LUA filing system require "​lfs"​ -- To access LUA filing system
Line 154: Line 154:
 </​code>​ </​code>​
  
-===== Sample of Use =====+===== Usage =====
  
 <code lua> <code lua>
Line 171: Line 171:
  
 {{tag>​code,​lua}} {{tag>​code,​lua}}
- 
-<​sub>​Section [[plugins:​code_snippets:​index|plugins:​code_snippets]]</​sub>​