Sessions command for macros
Posted by: JujuLand
Date: August 15, 2008 11: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:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

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




Re: Sessions command for macros
Posted by: desga2
Date: August 16, 2008 12:56AM

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

Re: Sessions command for macros
Posted by: JujuLand
Date: August 16, 2008 01:41AM

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

Thanks

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

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

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




Re: Sessions command for macros
Posted by: desga2
Date: August 16, 2008 02:22AM

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

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

Re: Sessions command for macros
Posted by: JujuLand
Date: August 16, 2008 04:04AM

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:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

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




Re: Sessions command for macros
Posted by: JamesD
Date: August 17, 2008 11: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?

Re: Sessions command for macros
Posted by: JujuLand
Date: August 18, 2008 02:35AM

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:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

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




Re: Sessions command for macros
Posted by: desga2
Date: August 18, 2008 05:29AM

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

K-Meleon in Spanish

Re: Sessions command for macros
Posted by: JujuLand
Date: August 18, 2008 12:44PM

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:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

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




K-Meleon forum is powered by Phorum.