Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:a:exec_script [2022/09/01 05:35] administratora_f:a:exec_script [2025/06/12 03:59] (current) – Change to AwareIM aware_support3
Line 1: Line 1:
-{{tag>Actions Action_List Process}}+{{tag>Index Action Action_List Process}}
 ====== EXEC_SCRIPT ====== ====== EXEC_SCRIPT ======
  
Line 14: Line 14:
 <code aim>EXEC_SCRIPT 'AwareApp.closeComponent(parser.m_widgetInfo,false,false);' </code> <code aim>EXEC_SCRIPT 'AwareApp.closeComponent(parser.m_widgetInfo,false,false);' </code>
  
-//**Aware IM**// exposes a special object called "parser' to the script run through this action. This object represents a form or query parser that the process has been started with. This way the developer can use this object to perform some operations with a form or a query before or after the process starts. The above script, for example, will close the current form or query if the process that contains this action has been started from the form or query. If the process hasn’t been started from the form or query the “parser” object is null.+//**AwareIM**// exposes a special object called "parser' to the script run through this action. This object represents a form or query parser that the process has been started with. This way the developer can use this object to perform some operations with a form or a query before or after the process starts. The above script, for example, will close the current form or query if the process that contains this action has been started from the form or query. If the process hasn’t been started from the form or query the “parser” object is null.
  
 Some more example of the script execution. The following one will select the second tab in a visual perspective: Some more example of the script execution. The following one will select the second tab in a visual perspective:
Line 24: Line 24:
 <code aim>EXEC_SCRIPT `var tabIdx = $('#' + AwareApp.m_mainTabPanelId).find('[aw-tab-id=User]').parent().index()-1; AwareApp.getMainTabPanel().select(tabIdx);` </code> <code aim>EXEC_SCRIPT `var tabIdx = $('#' + AwareApp.m_mainTabPanelId).find('[aw-tab-id=User]').parent().index()-1; AwareApp.getMainTabPanel().select(tabIdx);` </code>
  
-Please see the [[docs:3500_prog_ref:0000_start|Programmers Reference]] document for more details on how to use Javascript in Aware IM.+Please see the [[docs:3500|Programmers Reference]] document for more details on how to use Javascript in AwareIM.
  
  
  
  • Last modified: 2022/09/13 18:11