Jump to content

Kujp Sucisv

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Kujp Sucisv

  1. I have developed a script that will open a connect with an AS/400, and it has been working for the past couple of months. However, upon my return from the holidays the following line will no longer execute: Run (@ComSpec & " /C START " & "IAS.WDA", "C:\Program Files\WallData", @SW_HIDE); I have verified that the path is still correct and can open another type of connection to the AS/400, but it is not the type of connection I need. Any help would be greatly appreciated. Thanks!
  2. Thank you very much! That worked for both the SAP and AS/400 applications. Thank you!! One more question though, I noticed that if I wanted to type something into the AS/400 screen I could not use SEND(), any other suggestions? I greatly thank you for your time.
  3. I'm new to using AutoIT, and I was wondering how I can open an AS/400 window on an XP SP2 machine (English Version). When trying to open either the AS/400 window or the SAP window I get the following error message: Line 25 (File "C:\Program Files\AutoIt3\Examples\Test\Test.au3"): Run("zeridata.sap","C:\Users\marshsep\Desktop") Error: Unable to execute the external program. The system cannot find the file specified." $answer = MsgBox(4, "AutoIt Test", "This is a test script. Run?") ; Check the user's answer to the prompt (see the help file for MsgBox return values) ; If "No" was clicked (7) then exit the script If $answer = 7 Then MsgBox(0, "AutoIt", "OK. Bye!") Exit EndIf ; Run IAS Run("ZERIDATA.sap","C:\Users\marshsep\Desktop") ; Prompt the user to run the script - use a Yes/No prompt (4 - see help file) $answer = MsgBox(4, "AutoIt Test", "This is a test script. Run?") ; Check the user's answer to the prompt (see the help file for MsgBox return values) ; If "No" was clicked (7) then exit the script If $answer = 7 Then MsgBox(0, "AutoIt", "OK. Bye!") Exit EndIf ; Run IAS Run("ias.wda","C:\Program Files\WallData\") Please let me know if I need to provide any more information. I greatly appreciate any help available. Thank you.
×
×
  • Create New...