Jump to content

Recommended Posts

Posted

$ip = InputBox("IP Entry", "Enter Camera IP address:", "")

Sleep(2000)

MouseClick("right")

MouseClick("")

MouseClick("Right")

MouseClick("right")

MouseClick("Left")

MouseClick("left")

MouseDown("left")

MouseDown("right")

Try the calls above and confirm they don't work.

-Do I need any includes??

-What needs to be modified??

Posted

All of the commands work fine. They do exactly what they are supposed to do. After you close the inputbox, it sleeps for 2 seconds, then does all the mouseclicks.

What exactly are you trying to do?

Posted

The script pauses when you use the InputBox() function until it is closed. If you want to click on it, you would have to create a second script that looks for it to become active, and then clicks on one of the buttons. Your script doesn't make any sense either. Are you trying to automate some other program? You should probably look in the help at the ControlSend and ControlClick commands if so.

Posted

The script pauses when you use the InputBox() function until it is closed. If you want to click on it, you would have to create a second script that looks for it to become active, and then clicks on one of the buttons. Your script doesn't make any sense either. Are you trying to automate some other program? You should probably look in the help at the ControlSend and ControlClick commands if so.

yes, this's quite exactly ! have a little code to prove it

HotKeySet("{esc}","Quit")

Func Quit()
Exit 1;Thoat khoi chuong trinh khi nhan delete
EndFunc

do 
$id=inputbox("Enter your ID","ID : ","","",100,100)
until $id<>""

right when the input box open, and even you press ESC, the program won't quit immediatly, you have to close the input box by choosing "Ok" or "Cancel" and then, the script will quit

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

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