VoxCommando

Help and Support (Using VoxCommando) => Python Scripting => Topic started by: GMib on September 19, 2013, 11:08:59 AM

Title: Get alternates
Post by: GMib on September 19, 2013, 11:08:59 AM
hi , Is it be possible to get alternatives (key and value) who run script ?

Title: Re: Get alternates
Post by: jitterjames on September 19, 2013, 11:11:25 AM
I don't understand the question.
Title: Re: Get alternates
Post by: GMib on September 19, 2013, 11:30:05 AM
j'ai une commande avec un payload qui execute un script python, je veux recuperer les payloads qui ont executer le script.
I have a command with a payload that executes a python script, I want to retrieve the payloads that execute the script.

Payloads = {1: 'test', 2: 'teste', 3: 'other'}

Command "hello {1}":
-Phrase "hello"
-Payloads

in LCB : PY.ExecFile(test.py)

if i say "hello test" i want get 1: 'test', 2: 'teste' in test.py but not 3: 'other'
Title: Re: Get alternates
Post by: jitterjames on September 19, 2013, 12:31:07 PM
No it is not possible.