ID:161834
 
When you are trying to change a window element's command with winset, how can you specify a default string?


For instance, maybe you have a control where the default verb command set in the interface is (say "Hey"), but you want to make it (say "Yo") through winset later. How? What is the syntax
.winset "input1.command="OOC \"" <== for in skin
winset(usr, "input1", "command=\"OOC \"")
<== for in code

"input1" = your input skin ID.
"command=" = your desired verb.
In response to Sokkiejjj
Sokkiejjj wrote:
.winset "input1.command="OOC \"" <== for in skin
winset(usr, "input1", "command=\"OOC \"")
<== for in code
"input1" = your input skin ID.
"command=" = your desired verb.

I thought I tried this, but I will try it again.
In response to Sokkiejjj
Sokkiejjj wrote:
.winset "input1.command="OOC \"" <== for in skin
winset(usr, "input1", "command=\"OOC \"")
<== for in code
"input1" = your input skin ID.
"command=" = your desired verb.


Actually reading this again this wasn't even what I meant

I know how to set a new verb through the command parameter.

What I'm talking about, is how would I set a verb to soemthing like this:

VerbWhateverCommand"defaultinput

Instead of just

VerbWhateverCommand"

The first one would produce the error:
Unrecognized or inaccessible verb: VerbWhateverCommand"defaultinput