Jump to content

MouseClick Minimized Program


Recommended Posts

Hmm, the spots I want to click on the minimized window do not have a Control ID.

Can I have the Mouse just click in a certain window by title, without having the mouse actually move... I want to be able to do somthing else while the mouse is clicking in another window? Thanks.

<{POST_SNAPBACK}>

not that I know of...

How about a ClassName?

Post a paste of some of what you see in the "info tool".

Like:

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:
Control ID:
ClassNameNN:
Text:

I've seen posts that suggest that one can use ControlClick and specify a ControlID of "".

Also, what is the task at hand? Some tasks can be done with no wondows at all - InetGet comes to mind...

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

This task my sound very childish, but I am trying to make a script to buy from a Seed Merchant in the game RuneScape :"> while I do somthing else on my PC.

RuneScape is a Java program so that's why it has no ControlIDs I think :(

I already have the script made to buy the seeds with that window opened and the mouse moving, but I need it to be minimized without the mouse moving on me so I can do somthing else while it does that.

Also, here is what the AutoIt Info box says...

Press CTRL-ALT-F to pause the display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<
Title:  RuneScape - the massive online adventure game by Jagex Ltd - Microsoft Internet Explorer
Class:  IEFrame
Size:   X: -4   Y: -4   W: 1032 H: 746

>>>>>>>>>>> Mouse Details <<<<<<<<<<<
Screen: X: 356  Y: 319
Cursor ID:  2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<
RGB:    Hex: 0x483E33   Dec: 4734515

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 129  Y: 115  W: 765  H: 503
Control ID: 
ClassNameNN:    MSAWT_Comp_Class1
Text:       

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<
(1): 
(2): 
(3): 
(4): 
(5): 
(6): Privacy Report
(7): 
(8): Internet

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
Links
http://runescape.com/
http://runescape.com/

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<

Thanks for you trying to help so far :(

Link to comment
Share on other sites

I don't think it will, the whole game is in Java, and the whole window of the game shows that SAME class name. Even if I did get it to send Enter to that class name, it wouldn't do anything because that would just push enter in the game... and enter in the game sends text when you type somthing :(

Any other ideas?

Link to comment
Share on other sites

i dont know if sending enter would be a good solution, because it might effect another application he is running if he is "doing something else"

i have had the same problem myself.

i want to click in a certain area on a window, but i can only do it while the window is maximized,

i would really like to learn more about packets, so i wouldnt actually have to "click" something, but just send a packet to tell the "game" or "other server".... that i clicked something.. when my mouse cursor doesnt move or click at all.

hopefully eventually.. ill learn more and be able to do this.

Edited by t0ddie

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Link to comment
Share on other sites

in your post above you are showing "MSAWT_Comp_Class1" as the class name, use that for controlID and see if that works.

<{POST_SNAPBACK}>

This assumes that the mouse was over the control of interest at the time of the info capture.

hlstriker,

just try it... it is only one line of code

t0ddie,

"packets" - dive in deep. that ought to be fun to learn.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

hlstriker,

just try it... it is only one line of code

<{POST_SNAPBACK}>

I was suggesting that you try:

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

you fill in the title based on your OPT settings and tastes

again - assumes that your info capture had the mouse over the control of interest

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

Nope that didn't work :(

<{POST_SNAPBACK}>

If you do not mind - please post your applicable OPT lines and the ControlClick line of code that you used. Perhaps someone can see an error in it.

I do not know what else to try - I would have to spend some time with the UDF that ronsrules mentioned to understand it.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
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
 Share

  • Recently Browsing   0 members

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