Page 1 of 1

Creating em_xyz commands

Posted: 2007-04-29, 07:13 UTC
by sas2000
 
Hi, i'd like to know if there is any type of syntax limitation when creating em_xyz commands in usercmd.ini.

Is it possible to use symbols (+ ' á &) ?.

What is the maximum number of characters that can be used ?
(In totalcmd.inc there is a cm_xyz command with 28 chars "cm_UnselectCurrentExtension")


 
Thanks.
 
 

Posted: 2007-04-29, 09:34 UTC
by Hacker
[mod]Moved to the TC7 beta discussion forum.

Hacker (Moderator)[/mod]

Posted: 2007-04-29, 15:07 UTC
by ghisler(Author)
Well, don't use square brackets [], because then the command cannot be found in usercmd.ini because it's saved as a header:

[em_commandname]

Spaces also do not work, but TC removes them. The name length is limited to 259 characters, but I don't think that anyone would create such long names...

Posted: 2007-04-29, 16:11 UTC
by m^2
ghisler(Author) wrote:The name length is limited to 259 characters.
257. The brackets...

Posted: 2007-04-29, 16:46 UTC
by sas2000
 
ghisler(Author) wrote:but I don't think that anyone would create such long names...
My problem with Tc' >259 chars support , it only affects full file names  :wink: .

Thanks.
 

Posted: 2007-04-30, 05:17 UTC
by sas2000
 
ghisler(Author) wrote: Spaces also do not work
It is possible to use spaces in em_xyz commands using this Sombra' trick .
Sombra wrote:Try to use the code ALT+255 by space, it work fine for me.

[em_mine(ALT+255)commannd]
Bye.