Announcement

Collapse
No announcement yet.

ACS Macro Programming - how to stop a macro and close the session

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ACS Macro Programming - how to stop a macro and close the session

    Hi there , my company recently moved to the "new" ACS . I was used to Client Access macro programming using the VBScript . So now I'm struggling! That said, my problem is that I had an old macro where at the end there were this couple of lines that closed the session when the job was done :

    strsession="/S=" & autECLSession.name
    Set objShell = CreateObject("Shell.Application")
    objShell.ShellExecute "PCOMSTOP", strsession , "", "open", 1

    Now, in the ACS (java-xml based) I can't see anything similar to the PCOMSTOP command , but I really hope it's just a question of ignorance ! Is there anything I can use to
    replicate this function ? My last chance could be a timer , but it's really an ugly solution .
    Any suggestion would be really appreciated ! Thank you very much in advance!
Working...
X