General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
bat file to open multiple tabs
Posted by: froggy
Date: July 11, 2011 10:24PM

Looking for bat file to open websites in multiple tabs of one window.
The following bat file opens websites in new windows, not in multiple tabs of one window.
There's probably a simple mod to this file that will work?

@ECHO OFF
SET BROWSER=c:\k-meleon\k-meleon.exe
SET WAIT_TIME=2
START %BROWSER% "mail.yahoo.com"
@ping 127.0.0.1 -n %WAIT_TIME% -w 1000 > nul
START %BROWSER% "google.com"
START %BROWSER% "microsoft.com"
START %BROWSER% "yahoo.com"



Edited 1 time(s). Last edit at 07/11/2011 10:25PM by froggy.

Options: ReplyQuote
Re: bat file to open multiple tabs
Posted by: siria
Date: July 11, 2011 11:39PM

Perhaps that one...?
F2 > Browsing > Window diversion > URLs passed from external applications

Or perhaps it has something do do with commandline options?
They are in Help>FAQ somewhere...

Thinking about it, wasn't there some very similar request in the last weeks here? Just where...

Anyway, since the browser has tabs enabled by default, it would IMHO make a lot of sense to open such stuff in TABS by default too, incl. favorites etc. Especially that setting above is really overlooked too easily while searching.

Options: ReplyQuote
Re: bat file to open multiple tabs
Posted by: JamesD
Date: July 12, 2011 11:22AM

There are also two options for this action from within the browser. The first is Sessions from the main menu and the second is Groups2 which can be found in extensions here. http://kmext.sourceforge.net/ext4.htm

Options: ReplyQuote
Re: bat file to open multiple tabs
Posted by: froggy
Date: July 13, 2011 11:20PM

Do you know what file the "sessions" entries are stored in so I can backup the file?

Options: ReplyQuote
Re: bat file to open multiple tabs
Posted by: JamesD
Date: July 14, 2011 12:27AM

Sessions information is in prefs.js file. Groups2 information is there also and that system has its own backup, restore, and transfer features built into the program.

Options: ReplyQuote
Re: bat file to open multiple tabs
Posted by: siria
Date: July 14, 2011 05:16AM

Nicks for Bookmark/Hotlist folder are the usual way, do you know this...?

Options: ReplyQuote
Re: bat file to open multiple tabs
Posted by: froggy
Date: July 14, 2011 11:29PM

No, i don't know this. It's easier to backup ?



Edited 1 time(s). Last edit at 07/14/2011 11:30PM by froggy.

Options: ReplyQuote
Re: bat file to open multiple tabs
Posted by: siria
Date: July 15, 2011 04:02AM

Well yes, you can simply backup all bookmarks or all hotlist, they are stored in a single file (=bookmarks.html or opera.adr).
Attention, the hotlist plugin is ancient and has a bug (or 2 in KM1.6beta), one must know about or can lose entries, so better use bookmarks.

How it works: You tpye a short a short folder "nick" into URL bar and hit Return, and then all bookmarks in that folder will open at once. For configuration, you edit bookmarks, click a folder name and type some abbreviation into the nick field. Can be anything you like, e.g. KM or met etc.

A trick: You can set nicks on folders but also on single bookmarks only.
E.g. Setting "g" as nick for a google search bookmark will make that typing "g blabla" into URL bar will open all google search results for word "blabla" :-)



Edited 1 time(s). Last edit at 07/15/2011 04:10AM by siria.

Options: ReplyQuote
Re: bat file to open multiple tabs
Posted by: froggy
Date: July 16, 2011 01:50AM

I will try it.
thanks.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.