hotkeys and cstrike Thread last updated on 2003-06-04 07:08:59

Posted by member 38575 on 2003-06-02 23:48:51

When i tried to make a hotkey to open counterstrike it wouldnt work, however, just opening halflife, without the "-console -game cstrike" works fine. So is there something im missing here? anything i can do about this? Ive had Litestep installed for about 24 hours now so im new to it, so it might be something really obvious that im missing. Thanks in advance.


Stu.

Posted by member 2112 on 2003-06-03 00:22:52 link

I was having this problem with when wanting to start iexplorer with the -nohome switch. After reading your post I thought I would do some investigating and what do you know, I found the answer.

When defining your hotkey surround the application with "" as usual then place the switches outside of the "". For example...
*Hotkey WIN+SHIFT I "C:\Program Files\Internet Explorer\iexplore.exe" -nohome


This at least works for one switch.

Posted by member 1 on 2003-06-03 01:04:31 link

Good work DrWorm...

/me hands DrWorm a cookie

Keep up the good work

Posted by member 1783 on 2003-06-03 06:23:16 link

actually that goes for all switch commands even in windows' run-box.

Posted by member 38575 on 2003-06-03 18:02:52 link

awesome thanks DrWorm.


stu.

Posted by member 21413 on 2003-06-03 21:33:09 link

Something similar...
Is it possible to define command lines on the evars.rc, ie:

FileManager "explorer.exe" /e, d:\

I haven't been able to make it work, so I have to add the '/e, d:\' after every "$FileManager$" on hotkey.rc and step.rc files (I have to use this with other programs too besides from explorer)

Thanks

Posted by member 7 on 2003-06-04 01:50:44 link

That won't work. "When $evars$ are expanded only the first token of the definition is used." Look here and scroll down a bit. There are a few evar examples and the reasons why they do or don't work.

Posted by member 21413 on 2003-06-04 07:08:59 link

Thanks ;) I wanted to be shure that there was no workaround to it (double qoutes or something else) to avoid having specific program command lines after evars on the rc files.