Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Sessions command for macros
Posted by: JujuLand
Date: August 15, 2008 04:11PM

Is there commands for sessions that can be used in macros ?

I have found a command in main.kmm which makes me think it must exists:

pluginmsg(sessions,Undo,0)

I need to launch a session within a macro, something like this:

pluginmsg(sessions,Open,"My session");

Thanks

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: Sessions command for macros
Posted by: desga2
Date: August 15, 2008 05:56PM

As you can see in source code file "sessions.cpp"
Supported accel

sessions(save)
sessions(undo)

I update this in Documentation wiki page.

K-Meleon in Spanish

Options: ReplyQuote
Re: Sessions command for macros
Posted by: JujuLand
Date: August 15, 2008 06:41PM

Humm, it doesn't help me ...sad smiley

Thanks

Let me know your tests and remarks for KMES 2.1.0 :mad:

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: Sessions command for macros
Posted by: desga2
Date: August 15, 2008 07:22PM

@ Jujuland:
When do you said that you go to holydays?
You go away now! :B

From next week i've holydays and a lot of free time to test with new KMES 2.1.0. smiling smiley
Promised.

K-Meleon in Spanish

Options: ReplyQuote
Re: Sessions command for macros
Posted by: JujuLand
Date: August 15, 2008 09:04PM

I'm on holidays from 08-24-2008 to 09-07-2008

Let me know if it's ok, and if you think there is something to add.

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: Sessions command for macros
Posted by: JamesD
Date: August 17, 2008 04:41PM

@ JujuLand

Is the session you wish to launch static or variable? Do you wish always to open URL x and URL y, or will you need to launch a session a user has saved under a specific name?

Options: ReplyQuote
Re: Sessions command for macros
Posted by: JujuLand
Date: August 17, 2008 07:35PM

In fact, I'm finishing roboform extension for K-Meleon.

I have really improved it and for 1.1.x, the extension is complete and after toolbar initialisation, the homepage, startup group or Last session is automatically launched.

For 1.5, I have two problems.

The first never can be solved, because it's a reentrance problem, and to be clear, it's impossible to launch id() commands to change the tab having the focus, and to close a tab during OnLoad event.

Passed this problem which must be treat manually (with a local URL explaining what to do), I have second problem, I'm able to launch homepage, and I'm also able to know which session is to be launched (last or startup), but there is no macro command to launch it. Without sessions kplugins, I think it won't be possible.

I'm starting on holidays at the end of the week, and for two weeks, so I'll wait my return to ask it to Dorian (which is on holdays this week).

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: Sessions command for macros
Posted by: desga2
Date: August 17, 2008 10:29PM

@ JujuLand:
You can read from prefs the session content and open each URL in a tab.

K-Meleon in Spanish

Options: ReplyQuote
Re: Sessions command for macros
Posted by: JujuLand
Date: August 18, 2008 05:44AM

Yes, I know that, but there is no command to launch a complete session, and It's not possible to launch individually each element of a 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


K-Meleon forum is powered by Phorum.