Sign in to follow this  
Followers 0
diikee

MouseDown/MouseUP

3 posts in this topic

#1 ·  Posted (edited)

#include <IE.au3>

$ip = InputBox("Get Ip Address", "Enter IP Address: ")

$oIE = _IECreate($ip, 0)

Opt("WinWaitDelay",200)

Opt("WinTitleMatchMode",2)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

WinWait("Me","")

If Not WinActive("Me","") Then WinActivate("IQeye","")

WinWaitActive("Me","")

MouseMove(47,180)

MouseDown("left")---->>>>>

MouseUp("left")

sleep(100)

MouseMove(244,177)-->This part doesnt' get executed but if I comment the MouseDown/Up above, the it works

MouseDown("left")

MouseUp("left")

WinWait("Connect to 10.100.47.10","")-->Thus, can't get to this popup window

If Not WinActive("Connect to 10.100.47.10","") Then WinActivate("Connect to 10.100.47.10","")

WinWaitActive("Connect to 10.100.47.10","")

MouseMove(192,317)

MouseDown("left")

MouseUp("left")

Edited by diikee

Share this post


Link to post
Share on other sites



I don't understand your code..

MouseDown("left")

MouseUp("left")

is just a MouseClick("left") ???

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

use

MouseClick("left")

to simply perform a left-click

Edited by d4rk

[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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0