Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
November 22, 2024, 06:43:30 PM
VoiceAttack User Forums
Home
Help
Search
Login
Register
VoiceAttack
»
General
»
How Do I?
»
Getting the {CMDSEGMENT:1} to the external plugin
« previous
next »
Print
Pages: [
1
]
Author
Topic: Getting the {CMDSEGMENT:1} to the external plugin (Read 1410 times)
zL0ki
Newbie
Posts: 16
Getting the {CMDSEGMENT:1} to the external plugin
«
on:
July 27, 2021, 09:31:22 AM »
For the line function you can type something like:
Code:
[Select]
string commandVar = VA.ParseTokens("{CMDSEGMENT:1}");
Is the above token directly accessible in an external plugin or do you need pass a variable to the plugin?
Logged
Pfeil
Global Moderator
Hero Member
Posts: 4782
RTFM
Re: Getting the {CMDSEGMENT:1} to the external plugin
«
Reply #1 on:
July 27, 2021, 09:50:44 AM »
It should be available through the proxy object passed to VA_Invoke1(), provided it would normally be available for the command that executed the action (E.G. not for prefix/suffix commands, by default)
Logged
zL0ki
Newbie
Posts: 16
Re: Getting the {CMDSEGMENT:1} to the external plugin
«
Reply #2 on:
July 27, 2021, 11:33:51 AM »
Thanks for comfirmation. Works as intended.
Logged
Print
Pages: [
1
]
« previous
next »
VoiceAttack
»
General
»
How Do I?
»
Getting the {CMDSEGMENT:1} to the external plugin