|
|
|
@ -344,7 +344,7 @@
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "POST",
|
|
|
|
|
url: 'GUIAction',
|
|
|
|
|
data: '{"functionName":"ElementRunAction","argsArray":[[{"handle":'+inHandleId+'}],"draw_outline"]}',
|
|
|
|
|
data: '{"ModuleName":"GUI","ActivityName":"UIOSelectorUIOActivity_Run_Dict","ArgumentList":[[{"handle":'+inHandleId+'}],"draw_outline"]}',
|
|
|
|
|
success:
|
|
|
|
|
function(lData,l2,l3)
|
|
|
|
|
{
|
|
|
|
@ -467,8 +467,8 @@
|
|
|
|
|
var lActionArgumentList = $('.rpa-argument-list')[0].value
|
|
|
|
|
if (lActionArgumentList=="") lActionArgumentList="[]"
|
|
|
|
|
///Сформировать строку спецификации действия
|
|
|
|
|
lActionSpecificationObject = {"functionName":"ElementRunAction","argsArray":[JSON.parse(lActionElementSpecification),lActionName,JSON.parse(lActionArgumentList)]}
|
|
|
|
|
lActionSpecificationString = '{"functionName":"ElementRunAction","argsArray":['+lActionElementSpecification+',"'+lActionName+'",'+lActionArgumentList+']}'
|
|
|
|
|
lActionSpecificationObject = {"ModuleName":"GUI","ActivityName":"UIOSelectorUIOActivity_Run_Dict","ArgumentList":[JSON.parse(lActionElementSpecification),lActionName,JSON.parse(lActionArgumentList)]}
|
|
|
|
|
lActionSpecificationString = '{"ModuleName":"GUI","ActivityName":"UIOSelectorUIOActivity_Run_Dict","ArgumentList":['+lActionElementSpecification+',"'+lActionName+'",'+lActionArgumentList+']}'
|
|
|
|
|
///Добавить в массив действий
|
|
|
|
|
mGlobal.ActionSpecificationList.push(lActionSpecificationObject)
|
|
|
|
|
///Обновить визуализацию
|
|
|
|
@ -481,8 +481,8 @@
|
|
|
|
|
var lActionArgumentList = $('.rpa-argument-list')[0].value
|
|
|
|
|
if (lActionArgumentList=="") lActionArgumentList="[]"
|
|
|
|
|
///Сформировать строку спецификации действия
|
|
|
|
|
lActionSpecificationObject = {"functionName":"PywinautoExtElementWaitAppear","argsArray":[JSON.parse(lActionElementSpecification)]}
|
|
|
|
|
lActionSpecificationString = '{"functionName":"PywinautoExtElementWaitAppear","argsArray":['+lActionElementSpecification+']}'
|
|
|
|
|
lActionSpecificationObject = {"ModuleName":"GUI","ActivityName":"PywinautoExtElementWaitAppear","ArgumentList":[JSON.parse(lActionElementSpecification)]}
|
|
|
|
|
lActionSpecificationString = '{"ModuleName":"GUI","ActivityName":"PywinautoExtElementWaitAppear","ArgumentList":['+lActionElementSpecification+']}'
|
|
|
|
|
///Добавить в массив действий
|
|
|
|
|
mGlobal.ActionSpecificationList.push(lActionSpecificationObject)
|
|
|
|
|
///Обновить визуализацию
|
|
|
|
@ -491,6 +491,7 @@
|
|
|
|
|
///Добавить действие сон 2 секунды в список на исполнение
|
|
|
|
|
mGlobal.GUIActionSleep2sAddToList = function() {
|
|
|
|
|
///Сформировать строку спецификации действия
|
|
|
|
|
alert("No function GeneralSleep2s in robot")
|
|
|
|
|
lActionSpecificationObject = {"functionName":"GeneralSleep2s","argsArray":[]}
|
|
|
|
|
lActionSpecificationString = '{"functionName":"GeneralSleep2s","argsArray":[]}'
|
|
|
|
|
///Добавить в массив действий
|
|
|
|
|