General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Continuing last session
Posted by: nomarjr3
Date: October 18, 2007 01:02AM

Is there a way for K-Meleon to continue last session after I have closed it.
In other words, can I continue viewing the websites I've last visited after closing it.
Firefox and Maxthon2 has this kind of option. They automatically save the pages you've last visited and they prompt you if you would like to continue your session.
I'll be waiting for a reply.

Options: ReplyQuote
Re: Continuing last session
Posted by: caktus
Date: October 18, 2007 04:36AM

Go to File menu > Open Last Session or Open Last Closed.

Charlie

~~If it ain't broke, why screw it up?~~




Edited 1 time(s). Last edit at 10/18/2007 04:36AM by caktus.

Options: ReplyQuote
Re: Continuing last session
Posted by: Philipp
Date: December 25, 2007 04:15PM

Does anybody know if (and how!) K-Meleon can do this automatically when it starts? (Single-Window-Mode) ... it works when I click "Open Last Session" or press CTRL+Alt+L ... but I want to restore my last session everytime I start K-Meleon without pressing keys...

Options: ReplyQuote
Re: Continuing last session
Posted by: guenter
Date: December 25, 2007 05:45PM

Go have a look at:

View > Start > Start with Last Session - whether You possibly want that?

p. s. I use another national version. If You use a German K-Meleon try:

Ansicht > Start > Starten mit letzter Sitzung

that fits best to how I understand Your post.

Options: ReplyQuote
Re: Continuing last session
Posted by: JujuLand
Date: December 25, 2007 09:47PM

guenter, he wants, without having to do something, that each time he opens K-Meleon, the last session is always restored.

I think it will be necessary to make a macro and to launch it in startup event or something like that.

but I'm not sure about what to put in the macro. Perhaps session();

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: Continuing last session
Posted by: JamesD
Date: December 26, 2007 12:17AM

I am using 1.5a1 and if I click on SESSIONS - OPTIONS, there is a check box for "Open the following session at startup". The item, since I have not saved any sessions, is previous session. You have to click on the v in the list box to see that. I have not tried it, but this sounds like what you wish to do.

Options: ReplyQuote
Re: Continuing last session
Posted by: JohnHell
Date: December 26, 2007 12:18AM

This enables or disables the load of the last session, but it must be done before close k-meleon. I don't think it is possible to load without this help at startup. You can't change the value at startup and hope to start to work on that session.


I did a macro, but it is soooo customized using old macros so I think maybe doesn't work with newer versions or that hasn't old macros in their config files...

I also used an icon of Outlook Express, modified, for a toolbar...

The main macro. Note that I introduced a brake line to avoid deformation of the forum and it is in spanish:

$cargasesion="kmeleon.plugins.sessions.autoload";
cargaUSS{
togglepref(BOOL,$cargasesion); &Sync;
getpref(BOOL,$cargasesion) == true ? statusbar("Carga de última sesión al inicio 
activada") : statusbar("Carga de última sesión al inicio DESactivada");
}

Macro data for the bar button:

setcheck("macros(cargaUSS)",getpref(BOOL,$cargasesion));


pluginmsg(toolbars,"CheckButton","Fuentes,macros(cargaUSS),".(getpref(BOOL,$cargasesion) 

? 1:0));


Toolbar.cfg code:

	Ultima sesion{
		macros(cargaUSS)
		Iniciar o no con última sesión
		lastsession.bmp[0]
		lastsession.bmp[1]
		lastsession.bmp[1]

The image:
http://img101.imageshack.us/img101/4829/lastsessionrl0.png

Just copy to paint and save as bmp in your skins folder because imageshack converted it to png.



Edited 4 time(s). Last edit at 12/26/2007 12:52AM by JohnHell.

Options: ReplyQuote
Re: Continuing last session
Posted by: JamesD
Date: December 26, 2007 02:49AM

OK, I clicked the "Open the following session at startup" box and set to previous session. I closed KM and re-started and I was right back in this thread. Is this what you need?

Options: ReplyQuote
Re: Continuing last session
Posted by: JohnHell
Date: December 26, 2007 03:41PM

Yes, James, that it's what he wants. Indeed is useful when you have to restart, for example, and you want to continue where you were.

Options: ReplyQuote
Re: Continuing last session
Posted by: JohnHell
Date: December 27, 2007 12:04AM

If you close accidentally, as happened to me now, go to your profile folder and edit prefs.js.

Go to line


user_pref("kmeleon.plugins.sessions.autoload", false);


and change the value false with true before open it again.





P.S.:
Another edit because I wrote with various errors.



Edited 1 time(s). Last edit at 12/27/2007 12:15AM by JohnHell.

Options: ReplyQuote
Re: Continuing last session
Posted by: Phil
Date: December 30, 2007 04:22PM

Perfect. I love these simple functions that makes KM so good

Options: ReplyQuote


K-Meleon forum is powered by Phorum.