Jump to content

Recommended Posts

Posted (edited)

i need Increase the new function in may the execution file.

Whether or not uses AUTOIT to realize?

Opens a program. // Run("mstsc.exe")

I click on a button, carries out an instruction.

//ControlClick("Remote Desktop Connection", "Co&nnect", "Button1")

the commond is bud

//MsgBox(0, "okay", "you a connect...")

I click on another button, carries out another instruction.

//ControlClick("Remote Desktop Connection", "Cancel", "Button2")

//MsgBox(0, "oh noo", "you a cancel...")

help me~~~

i need i click the connect button

popup a new windows msg "you a connect"

i need help...........

----------------------------------------------------------------

When a button is pressed down at the same time carries out other Sentence

#NoTrayIcon

RunWait("TEST.exe")

WinActivate("TEST")

WinWaitActive("TEST")

$jap = ControlCommand("TEST", "", "jap", "Check", "left")

$eur = ControlCommand("TEST", "", "eur", "Check", "left")

$usa = ControlCommand("TEST", "", "usa", "Check", "left")

$uk = ControlCommand("TEST", "", "uk", "Check", "left")

If $jap Then

MsgBox(0, "jap", "you choice japan")

FileDelete("test.bin")

FileCopy("jap.rom", "test.bin")

ElseIf $eur Then

MsgBox(0, "eur", "you choice europe")

FileDelete("test.bin")

FileCopy("eur.rom", "test.bin")

ElseIf $usa Then

MsgBox(0, "usa", "you choice USA")

FileDelete("test.bin")

FileCopy("usa.rom", "test.bin")

ElseIf $uk Then

MsgBox(0, "uk", "you choice UK")

FileDelete("test.bin")

FileCopy("uk.rom", "test.bin")

Exit

Endif

I am a novice

I NEED HELP

Edited by kiii
Posted

Hi kiii,

Descriptive titles on threads please. :(

"Check", ""

This check in ControlCommand. The final set of "" should remain empty. This would be your problem?

Posted

I need...

Runs an external program.

Click program a Button.

At the same time.

Run other commands.

Posted

help me~

a other program(c c++ c#... .exe) the program one button "abcd"

who Click the "abcd" same time run other autioit commands ???

Posted

To click a button.

First start AutoItInfo tool. This will supply the information from the button, as you pass your mouse over it.

Then look at ControlClick(), in the helpfile.

ControlClick ( "title", "text", controlID [, button][, clicks]] )

You wait for the window, then click the button, as shown below. You should add the text parameter for choosing the right window. Also change the "Button1" to what AutoIt Info tool reads from the button.

WinWait("Test")
ControlClick("Test", "", "Button1")

If you want to do other commands, while the script is waiting, then you may need to use AdLibEnable() ? Or change your script, so you use WinExists(), in a loop.

Posted (edited)

Run("sss.exe")

WinActivate("sss")

If ControlClick("sss", "", "Button", "left")Then

MsgBox(0, "sss", "Button")

Exit

EndIf

dnot work...

Edited by kiii
Posted (edited)

i need ...

Opens a program.

I click on a button, carries out an instruction.

I click on another button, carries out another instruction.

help me~~~

Edited by kiii
Posted

help me ~

i need Increase the new function in may the execution file.

Whether or not uses AUTOIT to realize?

Posted

Please have a look at the Tutorial section for WinZip Installation. This will display, that you need, one of the WinWait* commands. If you do not wait for the window, then you commands will be send anywhere.

Please read the manual.

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...