Sign in to follow this  
Followers 0
LineageIIC3Freak

Do WhAt YoU cAn'T sEe

9 posts in this topic

I've been wondering, how in the hell would you click inside a window thats not even visible???

Well i decided that's just a lil bit too complicated for me because im not exactly a wiz at this stuff.

I'm all about making macros with Auto It, theres just one problem, i need an Au3 tutor or something lol.

Ok on the serious side, if somone could just drop me off some tips here and there (macro related) that would be nice. So back to my problem. I have a huge block when it comes to running things perfectly. ex: Clicking a button on a website and waiting the perfect time and then clicking on the next button without missing etc. So here i'll give you the code i need to be run in an inactive window and you out there can either tell me the commands to do this or hint me off OR completely ignore me and go on to more needy people, its all up to yall.

HotKeySet("{END}", "Go")
HotKeySet("{HOME}", "Stop")


While 1
Sleep(1)
WEnd

Func Go()
While 1
Mouseclick("Left", 775, 185, 1, 0)
Sleep(4000)
Mouseclick("Left", 595, 215, 1, 0)
Sleep(4000)
Mouseclick("Left", 595, 215, 1, 0)
Sleep(4000)
Mouseclick("Left", 595, 215, 1, 0)
Sleep(4000)
Mouseclick("Left", 595, 215, 1, 0)
Sleep(4000)
Mouseclick("Left", 595, 215, 1, 0)
Sleep(4000)
Mouseclick("Left", 775, 185, 1, 0)
Sleep(4000)
Mouseclick("Left", 595, 215, 1, 0)
Sleep(4000)
Mouseclick("Left", 775, 185, 1, 0)
Sleep(4000)
Mouseclick("Left", 595, 215, 1, 0)
Sleep(4000)
Mouseclick("Left", 775, 185, 1, 0)
Sleep(4000)
WEnd
EndFunc

Func Stop()
   Exit
EndFunc
;):P:mad2:

[quote]I don't like to think, Therefore I ChEaT[/quote]

Share this post


Link to post
Share on other sites



ex: Clicking a button on a website and waiting the perfect time and then clicking on the next button without missing etc.

For the website thing, look at the IE Automation Library that works with the beta version.

As for clicking a hidden window, look into the Control* functions (i.e. ControlClick, ControlSend, etc)


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

Yea see that would be easy enough, but even when using the autoit window info thingy, it still wont give the buttons ControlID... i mean if you have the time you could tell me what im doing wrong.. the web address is www.Shimlar.com. You actually have to log on to see the buttons you need to click. But besides missing the ControlID it would work perfect.


[quote]I don't like to think, Therefore I ChEaT[/quote]

Share this post


Link to post
Share on other sites

Blocked by the proxy I'm going through, Category: Games

ControlSend does not REQUIRE a control id to send a message, instead it would send to the window you are pointing it at...


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

oh crap... yea i need it to be mouseclicks, i cant send a bunch of tabs or even need to send messages while im doing something else... but thanks anyways!!! ;)


[quote]I don't like to think, Therefore I ChEaT[/quote]

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Same type...my question is can we perform actions on inactive windows? (minimized by example or with @sw_hide).... Because it would be useful for some progs if you don't want the person to see what you are opening etc but you are fixing everything...

Any ideas?

Note: Sorry for using your post but that question is in the same type so I told myself it would be unuseful to create another topic about the same (or almost) question...

Edited by Gaboury

Share this post


Link to post
Share on other sites

...Control* Functions

In the Help File: AutoIt->Function Reference->Window Management->Controls


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

ThAnKs ;) Going to c that right now :P

Share this post


Link to post
Share on other sites

ThAnKs ;) Going to c that right now :P

yeah, ControlClick() and ControlSend() will do most of what you want. but the IE.au3 that was linked to above is really the best way to control IE windows

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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