hlstriker Posted June 9, 2005 Posted June 9, 2005 Is there any way to have the mouse click in a certain spot on a minimized program? If so, how can this be done? Thanks. The best Honda forums!RuneScape High Alching for Profit!
herewasplato Posted June 9, 2005 Posted June 9, 2005 Is there any way to have the mouse click in a certain spot on a minimized program? If so, how can this be done?Thanks. <{POST_SNAPBACK}>search help file for Controls [size="1"][font="Arial"].[u].[/u][/font][/size]
hlstriker Posted June 9, 2005 Author Posted June 9, 2005 (edited) Thank you I knew I saw it before awhile back, but didn't remember what to look up Edited June 9, 2005 by hlstriker The best Honda forums!RuneScape High Alching for Profit!
hlstriker Posted June 9, 2005 Author Posted June 9, 2005 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. The best Honda forums!RuneScape High Alching for Profit!
herewasplato Posted June 9, 2005 Posted June 9, 2005 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]
hlstriker Posted June 9, 2005 Author Posted June 9, 2005 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 The best Honda forums!RuneScape High Alching for Profit!
GaryFrost Posted June 9, 2005 Posted June 9, 2005 (edited) have you tried controlsend? not a lot of options when it's java and minimized. Edited June 9, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
hlstriker Posted June 9, 2005 Author Posted June 9, 2005 Isn't send to just send text? I need the mouse to click in certain spots ! The best Honda forums!RuneScape High Alching for Profit!
GaryFrost Posted June 9, 2005 Posted June 9, 2005 controlsend, not send, you could send the control an {ENTER} instead of a mouseclick SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
hlstriker Posted June 9, 2005 Author Posted June 9, 2005 I'm trying to get this to click on a minimized Java window. I can't seem to find the ControlID on the Java window... I don't think it has one The best Honda forums!RuneScape High Alching for Profit!
GaryFrost Posted June 9, 2005 Posted June 9, 2005 in your post above you are showing "MSAWT_Comp_Class1" as the class name, use that for controlID and see if that works. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
hlstriker Posted June 9, 2005 Author Posted June 9, 2005 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? The best Honda forums!RuneScape High Alching for Profit!
t0ddie Posted June 9, 2005 Posted June 9, 2005 (edited) 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 June 9, 2005 by t0ddie Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
hlstriker Posted June 9, 2005 Author Posted June 9, 2005 I heard packets were detectable by servers in alot of games lol. It does sound cool though, I remember getting banned from Diablo2-LOD for some packet sender that made it so I couldn't die? I don't know what it did to make me not die though... lol The best Honda forums!RuneScape High Alching for Profit!
Moderators SmOke_N Posted June 9, 2005 Moderators Posted June 9, 2005 Insolence made a UDF for minimized mouseclicks:http://www.autoitscript.com/forum/index.php?showtopic=7112 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
herewasplato Posted June 9, 2005 Posted June 9, 2005 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 codet0ddie,"packets" - dive in deep. that ought to be fun to learn. [size="1"][font="Arial"].[u].[/u][/font][/size]
hlstriker Posted June 9, 2005 Author Posted June 9, 2005 Wow, that code is confusing to use!!! Can anyone help me with that now I don't even know where to start with that!!! The best Honda forums!RuneScape High Alching for Profit!
herewasplato Posted June 9, 2005 Posted June 9, 2005 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 tastesagain - assumes that your info capture had the mouse over the control of interest [size="1"][font="Arial"].[u].[/u][/font][/size]
hlstriker Posted June 9, 2005 Author Posted June 9, 2005 Nope that didn't work The best Honda forums!RuneScape High Alching for Profit!
herewasplato Posted June 9, 2005 Posted June 9, 2005 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]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now