shortcuts with LsBox Thread last updated on 2003-10-26 13:15:04

Posted by member 3800 on 2003-03-19 11:20:51

I edited my evars file and added more programs for shortcuts. I then began putting these shortcuts in a box. Just about all of them run fine except for one program. I've looked over it several times to make sure there's no spelling mistakes, etc. Has anyone ever had a program not work from there evars? If so, does anyone know how to fix it? It's kinda wierd cause it's just that one program....
Thanks
-Tesh

Posted by member 1783 on 2003-03-19 13:29:58 link

so what program is it?
i had a problem with "Netscape 7.0 Mail & Newsgroups". it's actually not a separate program, it's run by a switch "..\netscape.exe -mail". couldn't make up a way to put that into an evar. so i made a shortcut and pointed the evar to that *.lnk file.

Posted by member 3800 on 2003-03-19 15:44:56 link

this is an actual program (game actually)
My evar line:
Camelot "F:\Mythic\Camelot\camelot.exe"
I pasted that path right from my file manager so it's right.
and my .box shortcut:
*shortcut "" 25 5 $lsimagefolder$icons\daoc.bmp .none .none "$Camelot$"
and it just won't work =(

Posted by member 6470 on 2003-03-19 17:23:00 link

I had similar issues recently, though not in a lsbox, I had to add brackets around the quoted variable, like this:

*shortcut "" 25 5 $lsimagefolder$icons\daoc.bmp .none .none ["$Camelot$" ]

Posted by member 3800 on 2003-03-21 09:12:42 link

no go
I noticed that the .exe calls a couple other files when it starts so it's probably something to do with that
oh well

Posted by member 1 on 2003-03-21 09:15:26 link

you shortcut line is missconfigured. check the docs or other shortcut lines to see what you are missing.

Posted by member 3800 on 2003-03-21 09:34:49 link

*Shortcut [CAPTION] [X] [Y] [NORMAL.BMP] [HOVER.BMP] [CLICK.BMP] #[GROUP][FLAGS] [HOVER.WAV] [CLICK.WAV] [ACTION]

These work:
*shortcut "" 5 5 $lsimagefolder$icons\opera.bmp .none .none "$Browser$"
*shortcut "" 45 5 $lsimagefolder$icons\gamespy.bmp .none .none "$GSpy$"
*shortcut "" 65 5 $lsimagefolder$icons\Acid.bmp .none .none "$Acid$"

But this doesn't:
*shortcut "" 25 5 $lsimagefolder$icons\daoc.bmp .none .none "$Camelot$"

Like I said it's probably something to do with the way the program starts, I'll try some other shortcut modules and see what happens
-Tesh

Posted by member 3800 on 2003-03-21 09:36:50 link

btw just noticed that the \ between icons and the .bmp get deleted in the post
if that's the mistake you were referring to devil, it's there in the code but not in the post =/

Posted by member 1 on 2003-03-21 09:38:16 link

very good...you can copy and paste the docs but still not read them...how nice.

If you compare your line to the doc line you are missing some very important things like...GROUP. You can also remove $lsimagefolder$ from all of your shortcuts because that is automatically appended.

Posted by member 3800 on 2003-03-21 09:45:20 link

You seem to have a bothered attitude devil, are you seriously pissed at everone here who has problems?
Anyway I've never had to add a group to get a shortcut to work before and the others work fine without a group.
I added a group number to all of them and just as I guessed it did nothing, as I don't beleive the group is even required.

Posted by member 1 on 2003-03-21 10:03:04 link

I am bothered by those that can not read instructions.

Posted by member 3800 on 2003-03-21 10:26:35 link

is what a typo?

Posted by member 1783 on 2003-03-22 02:23:10 link

is that a typo or what?
sry, don´t mind.
idiot -> me

update to teshdael in next post: don't mind ;) i didn't know this forum doesn't allow you to type a backslash.

Posted by member 99 on 2003-03-22 11:45:01 link

The group/flags and the sounds were optional last time I checked, unless somehow the command could be confused for one of them. You could try adding another .none .none in front of the command, but I doubt it'd help.

Try running it from lsxcommand and/or a popup, I don't really have any suggestions, but that'll tell you if it's the shortcut or litestep/the program.

Posted by member 1 on 2003-03-22 15:45:57 link

It may have been optional in shortcut3...docs only cover shortcut2 where it was not optional...and IMHO should not be optional at any time.

Posted by member 99 on 2003-03-22 17:58:18 link

IMO they shouldn't have been added to the *shortcut line, but I guess that was the easiest way to add them. Anything you add there has to be optional to avoid breaking existing themes.

The docs specifically say they're optional for shortcut2 (at least the docs I have): "Note: This setting can be omitted if unwanted."

Posted by member 1 on 2003-03-22 18:25:36 link

uhmmm....I don't see that Groups can be ommitted.

Posted by member 99 on 2003-03-22 18:51:44 link

Ah, you're right, it doesn't say that. It is optional though (check the source ;), that's why it starts with a #, so the parser can tell if you specified it.

It's not optional if your path starts with a #. Similarly, the sounds are not optional if your path contains .wav, .none, or .def, but only because of the way it guesses whether or not you've put them in. (not the best of checks, but that's how it does it)

Posted by member 1031 on 2003-04-01 22:46:41 link

Did you try what Egonz suggested? I was having similar problems with another program, and making the evar point to a shortcut instead of the exe worked for me.

Posted by member 1 on 2003-04-01 22:49:36 link

sounds like yall are missing quotes or something...

Posted by member 7223 on 2003-04-02 06:14:31 link

What does IMHO means ?

Posted by member 5120 on 2003-04-02 06:22:17 link

In My Humble Opinion or something similar.

Posted by member 74538 on 2003-10-26 13:15:04 link

humble/honest