Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Develop updated K-Meleon restart for 2.1(75)
Posted by: JamesD
Date: March 18, 2015 08:35PM

A place to discuss 'must have', 'nice to have', buttons, sizes of buttons and any other features for an updated restart.kmm using a Command ID rather than an external program.

I did some basic code in http://kmeleonbrowser.org/forum/read.php?8,132640,132723#msg-132723

I also did a change to make a current kmm work and have backwards compatibility here http://kmeleonbrowser.org/forum/read.php?8,132640,132726#msg-132726

desga2 offered some buttons.
Quote
desga2

You can use this buttons:

http://krypton.x10host.com/programas/restartkm.zip

George_Hall refreshed my memory on where some original code resides.
Quote
George_Hall
K-Meleon Restart http://kmext.sourceforge.net/extensions/restart3.7z wihout a button icon and K-meleon Restart Plus hhttp://kmext.sourceforge.net/extensions/restart3-plus.7z which contains a button icon are located atat K-Meleon Extensions Central under Enhancements

K-Meleon Restart http://kmext.sourceforge.net/extensions/restart3.7z and K-meleon Restart Plus hhttp://kmext.sourceforge.net/extensions/restart3-plus.7z are newer than Restart K-Meleon above.

I will try to check if all these use the same buttons.

Questions::

1) Need to have backward compatibility? Yes or No

2) Keep same name or change? Yes or No

3) Keep at least the current feature set? I vote yes.

4) How shall macro determine button size?

5) Other questions/comments?

Options: ReplyQuote
Re: Develop updated K-Meleon restart for 2.1(75)
Posted by: siria
Date: March 18, 2015 10:22PM

Perhaps I'd first wait for RC2. Almost ready to bet that Dorian will add the line in menus.cfg anyway:

CloseWindow{
&Close Window=windowClose
Restart K-Meleon=appRestart
Exit &K-Meleon=appExit
}

That will probably be enough for most people, so the macro will only be needed for people who want session options and a button.
Must admit I can't help wondering if people who restart very often wouldn't have a simply quickstart or desktop shortcut anyway (sufficiant for myself, and do restarts all the time for testing macros). Then again, I did facilitate opening the previous session too, by having the sessions list on an own button, needing only 1 click instead of 2. I like that this way it stays flexible, still allows to decide each time if the previous session shall be opened or not.

Backward compatibility depends if additional autoit-programs will still be needed for those special options, don't know. If not, if for KM7X a simple kmm-file would be enough, then I'd rather use separate macros.

Options: ReplyQuote
Re: Develop updated K-Meleon restart for 2.1(75)
Posted by: Dorian
Date: March 18, 2015 11:42PM

Why so much interest for a restart feature? Unless you keep fiddling with macros ... smiling smiley

Options: ReplyQuote
Re: Develop updated K-Meleon restart for 2.1(75)
Posted by: JamesD
Date: March 19, 2015 12:17AM

Quote
Dorian
Why so much interest for a restart feature? Unless you keep fiddling with macros ..

I do fiddle with macros. Your new Command ID is so much better than the old method. I can now have my default KM open to MacroLanguage2 in one tab and Command Ids or Plugins or whatever in another tab, while restarting my 75RC to test a macro using only one click. It is great.

I cannot begin to express my appreciation enough for your work on K-Meleon. Thank you.

Options: ReplyQuote
Re: Develop updated K-Meleon restart for 2.1(75)
Posted by: JamesD
Date: March 20, 2015 02:06AM

Restart2 ver. 1.0

>>> Changelog <<<

Uses the new Command ID for restart
No external executable file needed
Restart of a single K-Meleon among many is possible
Preferences renamed to avoid word "extension"
Two buttons of differing style and color are provided
User choice of button from menu is provided
Automatic run of error console is an option
File menu item is possible but currently commented out
Accelerator keyset provided ALT SHIFT X
Produces a failure message if run on K-Meleon version which lacks needed resources
I made an attempt to use macro naming standards



https://dl.dropboxusercontent.com/u/1522294/Restart2.7z

Options: ReplyQuote
Re: Develop updated K-Meleon restart for 2.1(75)
Posted by: JamesD
Date: March 23, 2015 05:21PM

Restart2 ver. 1.1

>>> Changelog <<<

Fixed mis-named pref - "k-meleon_restart2.restart" from "k-meleon_restart2"
Added user option to set 'File CloseWindow' menu item ON or OFF
Added code to set restart2 not to load after first attempt fails for wrong K-Meleon version
Added keyboard accelerator to 'File CloseWindow' menu *
* (spacing can't change - macros do not have access to the normal column for accel keys )


https://dl.dropboxusercontent.com/u/1522294/Restart2.7z

Options: ReplyQuote
Re: Develop updated K-Meleon restart for 2.1(75)
Posted by: rodocop
Date: January 29, 2023 12:26AM

Just pinning the macro file here in order to make it safe from deletion of accounts, links etc.

© JamesD
(Is JamesD alive, does anyone know?)

Attachments: restart2.kmm (5.8 KB)  
Options: ReplyQuote
Re: Develop updated K-Meleon restart for 2.1(75)
Posted by: JohnHell
Date: January 29, 2023 01:44AM

Quote
rodocop
© JamesD
(Is JamesD alive, does anyone know?)

I don't want to bury anyone else, as I already did with Dorian, but he was over 7x years old about 10 years ago and we don't know about him since long ago, so... who knows? I don't know. If he is alive, with his health problems, might not be able to use the PC any more, maybe...

Options: ReplyQuote


K-Meleon forum is powered by Phorum.