Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
Shortcut macro error in K-M 1.5
Posted by: 666
Date: September 05, 2008 01:54AM

The shortcut macro on http://kmeleon.sourceforge.net/wiki/KmmShortcut complains about an invalid statement in line 39 everytime I start K-M. It won't create desktop shortcuts anymore.

Probably it's not compatible anymore with K-M 1.5.

Does anyone know how to fix this?

Thanx!



________________________________
make windows xp behave



Edited 1 time(s). Last edit at 09/05/2008 01:56AM by 666.

Options: ReplyQuote
Re: Shortcut macro error in K-M 1.5
Posted by: disrupted(unlogged)
Date: September 05, 2008 03:25AM

although i'm very reluctant to help the anti-christ but anyways,

here's your offending line:
# K-Meleon prior to 1.5:
($_len-$_max)>0?&_Shortcut_Errorsad smiley($_len-$_max+4)>0?exec($_cmd):&_Shortcut_Create);


just remove it from the script, or download this fixed one:
http://kmeleon.swiftfree.net/shorttester.kmm


Options: ReplyQuote
Re: Shortcut macro error in K-M 1.5
Posted by: 666
Date: September 05, 2008 03:47AM

Thanx for trying to help the devil, but with your macro the error goes away and the macro won't create any shortcuts anymore.

I found an easier way: there's a line that says:

# K-Meleon 1.5:
# $_len>$_max?&_Shortcut_Errorsad smiley$_len>$_max-4?exec($_cmd):&_Shortcut_Create);


I removed the # to make it read:

# K-Meleon 1.5:
$_len>$_max?&_Shortcut_Errorsad smiley$_len>$_max-4?exec($_cmd):&_Shortcut_Create);



Right below is:

# K-Meleon prior to 1.5:
($_len-$_max)>0?&_Shortcut_Errorsad smiley($_len-$_max+4)>0?exec($_cmd):&_Shortcut_Create);


which I changed into (yes, you guessed right)

# K-Meleon prior to 1.5:
#($_len-$_max)>0?&_Shortcut_Errorsad smiley($_len-$_max+4)>0?exec($_cmd):&_Shortcut_Create);


and now it works as it should.


I'll get you a nice place in the fire winking smiley


p.s. if you see green smilies in the code, that's because the forum software has a problem with a : followed by a (.
Maybe whoever runs this forum can do something about smilies showing up where they should't be?


Options: ReplyQuote
Re: Shortcut macro error in K-M 1.5
Posted by: disrupted(unlogged)
Date: September 05, 2008 03:54AM

opps..sorry, i just tested the error.. took it for granted it will make the shortcut.
i'm glad you've figured it out afterall and by the way..i got HOLY WATER! tongue sticking out smiley

Options: ReplyQuote


K-Meleon forum is powered by Phorum.