Cant bind key...

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
godspeed
Non-Subscriber
Posts: 2
Joined: Sat Sep 03, 2005 5:53 am

Cant bind key...

Post by godspeed » Fri Sep 28, 2012 2:15 pm

hi,

Im trying to create a shortcut to launch a .net script.

I using
bind SB -press HOME "dotnet sb${Session} stealthbot"

and it gives me

Could not parse key combination

trying different combinations.. doesnt work...

any hints whats wrong ?

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Fri Sep 28, 2012 3:43 pm

To be more specific, that would give this output:

Code: Select all

bind 'SB' failed: Could not parse key combination -press
Which is actually a lot more helpful than what you described. It thinks -press is the name of the key. This means you have the wrong syntax for the bind command.

The correct syntax for that is

Code: Select all

bind -press SB HOME "dotnet sb${Session} stealthbot" 
described by: Bind [-press|-release] <name> <combo> <command>

godspeed
Non-Subscriber
Posts: 2
Joined: Sat Sep 03, 2005 5:53 am

Post by godspeed » Sat Sep 29, 2012 12:07 am

bind -press SB HOME "dotnet sb${Session} stealthbot"

gives me:
bind 'Sb' failed: could not parse key combination HOME

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Sat Sep 29, 2012 6:44 am

Available key names are defined by your keyboard driver; use the following command to list them

Code: Select all

bind -keylist

Post Reply