Jump to content

Recommended Posts

Posted

Run("x.exe")

WinWaitActive("Untitled")

While 1

Send("{ENTER}")

Sleep(1000)

WEnd

Program directory is : C:\Users\''\Desktop\x.exe

how about including the path to the .exe in your run('c:\user\..\desktop\x.exe') ?

winwaitactive for 'untitled' needs adjustment as well since its no empty notepad coming up...

Posted

how about including the path to the .exe in your run('c:\user\..\desktop\x.exe') ?

winwaitactive for 'untitled' needs adjustment as well since its no empty notepad coming up...

didn't work :/ it compiled to an exe file but didn't launch the designated program

Posted

You compiled an exe and that didnt work ?

Run("C:\Users\yourname\Desktop\x.exe")

WinWaitActive("yourProgramsWindowTitle")

While 1

Send("{ENTER}")

Sleep(1000)

WEnd

like that?

Posted

You compiled an exe and that didnt work ?

Run("C:\Users\yourname\Desktop\x.exe")

WinWaitActive("yourProgramsWindowTitle")

While 1

Send("{ENTER}")

Sleep(1000)

WEnd

like that?

yes i wrote it exactly like that. no syntax errors no nothing.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...