Jump to content

Recommended Posts

Posted (edited)

Hello folks!

I am trying to open a as400 session but no luck. Here is my code.

 

Example()

Func Example()
    ; Run Notepad with the window maximized.
   Run("C:\Program Files\IBM\Client Access\Emulator\Private\iSynergy.ws", "", @SW_SHOWMAXIMIZED)

    ; Wait for 4 seconds.
    Sleep(4000)

EndFunc   ;==>Example

 

Edited by CarlFerrer
Posted

According to the help file Run only supports EXE, BAT, COM, or PIF. Try ShellExecute.

My UDFs and Tutorials:

  Reveal hidden contents

 

  • Moderators
Posted

Moved to the appropriate forum, as the DEV forum very clearly states:

  Quote

Do not create AutoIt-related topics here, use AutoIt General Help and Support

Expand  

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...