Re: Favorites Rename Add Project
Posted by: Charlie
Date: September 01, 2007 06:08PM

Thanks, I'll check that out.

Re: Favorites Rename Add Project
Posted by: caktus
Date: September 06, 2007 07:24AM

Tried the new version of FavRenAdd placed in MacroLibrary. Worked fine for a couple days.

Again, nothing is saving to Favorites using Favorite > Rename-Add with the exception of my Home page(goolgle.com). Aside from google.com nothing saves to any location in Favorites.

Saving to Favorites from IE6 works as it should. Pages saved via IE6 Fav's also shows up in KM Fav's following restart of KM.

3:20Am right now, headed to bed. When I get up I'm just going to remove everything KM, download/install from a new setup and go from there.

Charlie

Charlie

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


Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 06, 2007 02:42PM

@ caktus

Please put a posting here with the URL's of some pages which have failed to make favorites. I need fix this if I can. Problem may have something to do with this thread http://kmeleonbrowser.org/forum/read.php?1,74335

I only have one day before some vacation. My wife will not let me work on this while on vacation. I'll be gone a week.

Re: Favorites Rename Add Project
Posted by: caktus
Date: September 06, 2007 04:35PM

Tried news.softpedia.com myself. When Add-Rename opened the "Browse for folder" window it did not automatically highlight the Favorite's folder.

When I tried myself to add www.microsoft.com to favorites via Add-Rename, everything worked as it should except it didn't actually save. The following pages aslo do not save via Add-Rename:

http://kmeleon.sourceforge.net/

http://forums.cnet.com/?tag=dir.forum

http://nl.cnet.com/acct_mgmt.sc?brand=cnet-ssa&urs_auth=1

http://www.cnet.com/

http://kmeleonbrowser.org/forum/read.php?1,73639,page=3

http://kmeleonbrowser.org/forum/read.php?1,74335

http://www.foxnews.com/

http://www.drreddy.com/heat.html

http://www.congressmerge.com/onlinedb/index.htm

**************************

I AM ABLE to save to Favorites via Add-Rename the following:

http://kmeleon.sourceforge.net/wiki/index.php?id=Welcome

http://www.timezoneconverter.com/cgi-bin/tzc.tzc

http://www.google.com/

I will continue using this current installation of KM as-is while you are still working on this.

Charlie

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


Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 06, 2007 07:25PM

@ Charlie

I took the first 10 URLs on your list and tried Rename-Add on them. My results do not match your results. Sorry but I do not have an answer yet. I will keep looking. It seems random. I don't know the cause so I don't know what to fix.

Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 06, 2007 07:27PM

Forgot to include test results in previous post.


WORKED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\K-Meleon TESTING 01.url
http://kmeleon.sourceforge.net/

WORKED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\CNET forums - TESTING 02.url
http://forums.cnet.com/?tag=dir.forum

FAILED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\CNET Membership TESTING 03.url
http://membership.cnet.com/1320-6018_1-76.html?path=http%3A%2F%2Fmembership.cnet.com%2F1355-6018-76.html%3Fpath%3Dhttp%253A%252F%252Fnl.cnet.com%252Facct_mgmt.sc%253Fbrand%253Dcnet-ssa%2526urs_auth%253D1

WORKED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\Tech product reviews TESTING 04.url
http://www.cnet.com/

FAILED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\Favorites Rename Add Project TESTING 05.url
http://kmeleonbrowser.org/forum/read.php?1,73639,page=3

FAILED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\K-Meleon but not for this page TESTING 06.url
http://kmeleonbrowser.org/forum/read.php?1,74335

WORKED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\Breaking News Latest News TESTING 07.url
http://www.foxnews.com/

FAILED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\Congress Merge Online TESTING 08.url
http://www.congressmerge.com/onlinedb/index.htm

FAILED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\K-Meleon - Welcome TESTING 09.url
http://kmeleon.sourceforge.net/wiki/index.php?id=Welcome

FAILED
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Compaq_Owner.JIM-BARBARA\\Favorites\\Unfiled_New\\New Folder\\Time Zone Converter TESTING 10.url
http://www.timezoneconverter.com/cgi-bin/tzc.tzc

Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 07, 2007 02:24AM

I have put a new version of FavRenAdd.kmm in the MacroLibrary. The problem was that the exec statement cannot handle auguments whose length total more that 258. I did not find that out. All the credit belongs to kko.

Re: Favorites Rename Add Project
Posted by: caktus
Date: September 07, 2007 01:28PM

James.

Guess I should mention that the same continues to occur regarding these same URLs, each and every time. Could check other URLs but would seem kind of pointless, I think.

Charlie

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


Re: Favorites Rename Add Project
Posted by: caktus
Date: September 07, 2007 01:56PM

[kmeleon.sourceforge.net] worked.

[forums.cnet.com] also worked.

[nl.cnet.com] got a too long error that indicated the following was placed on the clipboard.


C:\Documents and Settings\Owner\Application Data\K-Meleon\default\e4x1z8b0.slt\macros\FavRenAdd.js
C:\\Documents and Settings\\Owner\\Favorites\\\\CNET Newsletters 3-- Technology product reviews, price comparisons, tech video, and more.url
http://nl.cnet.com/acct_mgmt.sc?brand=cnet-ssa&urs_auth=1
315

Sorry, can't check the others yet. Gotta run.

Charlie

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


Re: Favorites Rename Add Project
Posted by: Anonymous User
Date: September 10, 2007 09:13PM

James, of course it is your decision, but wouldn't your effort and time be better spent on something else? Since our favorite browser is *Windows* only, anyone can easily rename/change any stored favorite by clicking on Start > Favorites > right-click on the favorite you wanna change... at least thats how I do it since day 1 of using K-Meleon winking smiley
Pls. don't misunderstands me, it is great that you want to do it, and it will be very useful when user adds many-many-many bookmarks to their Favorites at once (thats when I'm bitchin' on lack of this feature in KM too - but it happens maybe once in a blue moon tho).

Re: Favorites Rename Add Project
Posted by: Tracy
Date: September 13, 2007 06:33PM

Greetings 888. I am aware that you are not devaluing the work of James.
But given that we have not heard from him in a few days I am not sure
he knows that. This forum is very global and so misunderstandings are
going to occur. English is my only language. Not so for many here.
And it being my native language I still seem to accidentally upset
lots of persons.
So please do not misunderstand me. The once in a blue moon you refer
to is probably true for most. Then there are the rest of us. I am
one of those. I may be a bit obsessive but having thousands of listings
in my Favorites and adding several daily I need this Favorites Renamer
very much.
Good day to all :+)

Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 15, 2007 03:08PM

I am back from vacation.

@888

Yes I know that this could all be done another way. I used to forget to go back and move and rename all the items I dumped in favorites. Now I have no excuse for not getting it right the first time. As for where to spend my time, most of the things I read of people asking for are beyond my ability to deliver. This one looked like I could so I gave it a try.

@ Tracy

Glad you like the macro. I will have a new version ready sometime. Hope to have a workaround for the "too long line" passing to the js file.

Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 16, 2007 02:34PM

GOOD NEWS No longer should you have problems with long data lines causing a failure.

Today I have updated the FavRenAdd code in the Macro Library with version 2.0 This version has an alternate data stream which is not bound by the 258 character limit of the exec statement. Unless you have an extremely long path to your KM profile, you should not have any failures due to length of favorite title or URL. I think the new version should handle profile paths up to approximately 72 characters. My profile path is typical, I think. It is 56 characters.
C:\Program Files\k-meleon\Profiles\default\ae3wngxv.slt

Re: Favorites Rename Add Project
Posted by: caktus
Date: September 17, 2007 10:00AM

Tried to add this forum page to fav's using the new 2.0 and still got the "Too long" error.

Charlie

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




Edited 1 time(s). Last edit at 09/17/2007 10:01AM by caktus.

Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 17, 2007 11:47AM

@ caktus

How long is your path to your KM profile directory? Please go to EDIT - CONFIGURAIION - PROFILE DIRECTORY and paste that path to a posting here. I just did this thread to favorites and it worked. I need info to see why your attempt did not work. Thanks

James

Re: Favorites Rename Add Project
Posted by: caktus
Date: September 17, 2007 05:18PM

Hi James,

The path to the Profile dir is C:\Documents and Settings\Owner\Application Data\K-Meleon\default\e4x1z8b0.slt

Charlie

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


Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 17, 2007 06:06PM

Hi Charlie,

I know why you had a failure for line length. The path that you provided would not work. It is just one or two characters too long. Ver 2.0 is passing four items in the exec statement. Windows scripting host requires double backslashes for one of the items. I have a new version 2.1 that I will be uploading today. The last two items will be assumed in js and not passed. That should give us 47 more characters for the first two items. I think this is the minimum that I can pass from the macro to the js file.

wscript.exe "C:\\Documents and Settings\\Owner\\Application Data\\K-Meleon\\default\\e4x1z8b0.slt\\macros\\FavRenAdd.js"

"C:\Documents and Settings\Owner\Application Data\K-Meleon\default\e4x1z8b0.slt\prefs.js"

"k-meleon.FavRenAdd.s1" "k-meleon.FavRenAdd.s1"

Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 17, 2007 06:35PM

Version 2.1 has now been loaded to the Macrolibrary. Less fields are passed to the js file now. Hopefully this will allow users with longer paths to their KM profile to use the macro.

Re: Favorites Rename Add Project
Posted by: caktus
Date: September 17, 2007 09:52PM

2.1 fixed it for me.

Thanks, James.

Charlie

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


Re: Favorites Rename Add Project
Posted by: JamesD
Date: September 18, 2007 01:24AM

Hi Charlie,
I am glad that got you working because there is nothing else I can take out of the exec statement.

James

Re: Favorites Rename Add Project
Posted by: Needing Favorites Renaming
Date: December 12, 2007 04:14PM

Did this project die?

Re: Favorites Rename Add Project
Posted by: JamesD
Date: December 12, 2007 05:53PM

Project is complete. The FavRenAdd macro is in the MacroLibrary. http://kmeleon.sourceforge.net/wiki/MacroLibrary

Re: Favorites Rename Add Project
Posted by: Dom
Date: December 13, 2007 06:33PM

Please forgive my ignorance but I do not understand difference between Favorites
Rename Add Project and I-E Bookmarks Tool. What I need is one that I can rename
with just about as easily as the one IE uses. Firefox has one like that which is
called Plain Old Favorites. Does either of these do such as that? Thanks

Re: Favorites Rename Add Project
Posted by: desga_2
Date: December 13, 2007 07:00PM

I-E Bookmarks Tool: is to Import and export bookmarks.
Rename Add Project : is to rename name of bookmarks when you created it, because by default bookmark name is the web page title. With this you can change the name of bookmarck when you are creating it.

Re: Favorites Rename Add Project
Posted by: Rodger
Date: August 11, 2008 08:46PM

Hi,
Iam new in K-Meleon.
I used 1.5.0 german.
Now I tested your Script.
Where must I save the kml file (with the trnaslation from english to german?

After I choose the save folder for the url I get an error.

Skrip: ... FavRenAdd.js
Zeile: 1
Zeichen: 1
Fehler Syntaxfehler
Code: 800A03EA
Quelle: Kompilierungsfehler in Microsoft JScript

Thanks

Re: Favorites Rename Add Project
Posted by: JujuLand
Date: August 11, 2008 08:54PM

kml files are located in :

C:\Program Files\K-Meleon\locales\de-DE for you

Remember to save it in UTF-8 format

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





Edited 1 time(s). Last edit at 08/11/2008 08:55PM by JujuLand.

Re: Favorites Rename Add Project
Posted by: Rodger
Date: August 11, 2008 09:22PM

Hi,
thanks I have done this now, but only the last entry "&Rename-Add" will bei translated.
The other not.
And the error still comes

Re: Favorites Rename Add Project
Posted by: siria
Date: December 31, 2009 12:59AM

Since this is the "official" thread that is linked from the wiki http://kmeleon.sourceforge.net/wiki/KmmFavRenAdd , just thought it would make sense to link to the next parts, which can be found here:
http://kmeleonbrowser.org/forum/read.php?1,78560
http://kmeleonbrowser.org/forum/read.php?4,80851
http://kmeleonbrowser.org/forum/read.php?4,81881
(and about reloading: http://kmeleonbrowser.org/forum/read.php?1,99092)

K-Meleon forum is powered by Phorum.