Appendix: Built-in Scripting Language Examples Close the Calculator application: AppPostMessage( "Calculator", "CLOSE", 3, 1 ) AppSendKeys Sends keyboard commands to the active application. Syntax AppSendKeys( strKeys1 , strKeys2 , … , strKeysN ) strKeys (1-N) String tags containing the keyboard commands to be used. Returned value No returned values. Examples Note: You can specify , , or in the text to send a code equal to the Alt , Ctrl , or Shift keyboard commands. To send the character, specify in the text. CleanReadQueue Removes all reading messages from the communications module. Syntax CleanReadQueue() This function takes no parameters. Returned value No returned values. Examples Note:
You should not use this function in new projects, but it is still valid for projects built using earlier versions of IWS. CloseSplashWindow Closes the IWS splash screen.
InduSoft Web Studio Page 503 Function Group Execution Windows Embedded Thin Client AppSendKeys Module Activity Synchronous Supported Not supported Supported Tag Name Expression AppSendKeys( "S", "t", "u", "d", "i", "o", " " ) AppSendKeys( " F" ) Function Group Execution Windows Embedded Thin Client CleanReadQueu e Module Activity Synchronous Supported Not supported Executed on Server Tag Name Expression CleanReadQueue() Function Group Execution Windows Embedded Thin Client CloseSplashWi ndMoowdule Activity Synchronous Supported Not supported Executed on Server