: K-Meleon Forum
K-Meleon development related discussions.
[quote=desga2] I'm thinking in update [url=http://kmeleon.sourceforge.net/wiki/KmmGroups2]Groups2[/url] macro to do the next changes: - Delete _Groups2_compat function, because I think anyone use the old 0.2c version of this macro. - Add a new feature to Export and Import Groups2 to/from an ini file. And in the future, when I know how, add the possibility to do it to a bookmark HTML file. This new option can be useful to portable your Groups2 and like backup system of your Groups2. Torically we can add this new feature easily, in pseudocode: -EXPORT: Ask for path to export file: $PATH = promptforfolder( CAPTION [, INITIAL_FOLDER] ); Loop to read all Groups2 prefs and write it in Groups2.ini file: $VALUE = getpref( TYPE, "user.preference.variable" ); iniwrite( SECTION, KEY, VALUE, PATH ); -IMPORT: Ask for ini file to import: $PATH = promptforfile( INITIAL_FOLDER, FILE_TYPE_DESCRIPTION, FILE_EXTENSION_PATTERN ); Loop to read all Groups2.ini file keys and save it in prefs: $VALUE = iniread( SECTION, KEY, VALUE, PATH ); setpref( TYPE, "user.preference.variable", VALUE ); SECTION=Group KEY1=URL1 KEY2=URL2 We need a first SECTION with info about the list of Sections/Gruops in file and how many keys/urls have each group/section. What do you mind about this? Is it useful to the users of Groups2?[/quote]
K-Meleon forum is powered by