General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Export and import for named sessions prefs
Posted by: JamesD
Date: December 09, 2011 12:48AM

Acting on a request for an improvement by rodocop, I am making available a macro which will allow the user to export / import the prefs for sessions that have been saved to a name.
Requesting thread: http://kmeleonbrowser.org/forum/read.php?4,120481

This should allow moving sessions between installations of K-Meleon.

The CarrySession macro can be found here:
http://dl.dropbox.com/u/1522294/CarrySession.7z

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: Export and import for named sessions prefs
Posted by: rodocop
Date: December 09, 2011 09:35AM

Great job! Thank you very much, James!
Starting the test...

Options: ReplyQuote
Re: Export and import for named sessions prefs
Posted by: rodocop
Date: December 09, 2011 10:01AM

Well...

It's not absolutely obvious, but I understand all limitations - and what really matter, it works! Beautiful!

Thanks once again!

Options: ReplyQuote
Re: Export and import for named sessions prefs
Posted by: JamesD
Date: December 12, 2011 01:16AM

Is there something that I should change to make the actions and results more obvious to the user?

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: Export and import for named sessions prefs
Posted by: km2
Date: December 12, 2011 07:59AM

Quote
JamesD
which will allow the user to export / import the prefs

export / import only changed lines in the prefs, thats possible?

Options: ReplyQuote
Re: Export and import for named sessions prefs
Posted by: JamesD
Date: December 12, 2011 01:11PM

Quote
km2
export / import only changed lines in the prefs, thats possible?

The data that sessions reads is in the prefs.js file. To move a named session from one installation of KM to another, it is only necessary to move the data. In export mode Carrysession.kmm reads the data in saved (named) prefs and writes that data to an ini file. In import mode the data in the ini file read and user prefs created for KM. The user is offered a choice to use or omit a session if the same name is already in use on system.

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote


K-Meleon forum is powered by Phorum.