+18
Запланирован

Toggle button

ahmad alnems 7 лет назад в Приложения / i3 Pro обновлен Ilya Markov (expert) 7 лет назад 7

Could you please do that in i3 pro

Temporarily you can use a simple script

function trigger_var()
{
(IR.GetVariable("Global.inp")) ?
IR.SetVariable("Global.out", IR.GetVariable("Global.value1")) :
IR.SetVariable("Global.out", IR.GetVariable("Global.value0"));
IR.Log(IR.GetVariable("Global.out"));
}

(use also "Save To Gallery")

+1

for the command with syntax that you like

function trigger_var()
{
//only one string in single quotes is allowed
IR.SetVariable("Global.out", 
((IR.GetVariable("Global.inp")) ? IR.GetVariable("Global.value1") : IR.GetVariable("Global.value0"))
.replace(/[0-9]+(?![^']*')/g, String.fromCharCode) //convert numbers to Char
.replace(/[, ]+(?![^']*')/g,'') //remove commas 
.replace(/\'(?!\')/g,''));  //'//remove single quotes, use double single quotes to escape
};

how many vote do you need to proceed ?

Запланирован

ok, we will do it in future

Сервис поддержки клиентов работает на платформе UserEcho