gravedigger Posted March 12, 2009 Share Posted March 12, 2009 What I'm needing is when a certain window pops up how can I have Autoit press "enter". Second how do I determine what the window will be or is called? Link to comment Share on other sites More sharing options...
Paulie Posted March 12, 2009 Share Posted March 12, 2009 What I'm needing is when a certain window pops up how can I have Autoit press "enter". Second how do I determine what the window will be or is called?You can't determine what it "will" be called until it actually appears. Once you get a title, you can doIf WinActive("Window Name") then Send("{Enter}")or WinWaitActive("Window Name")THere are alot of ways, but you have to know the title, or something about the window. Link to comment Share on other sites More sharing options...
gravedigger Posted March 12, 2009 Author Share Posted March 12, 2009 You can't determine what it "will" be called until it actually appears. Once you get a title, you can doIf WinActive("Window Name") then Send("{Enter}")or WinWaitActive("Window Name")THere are alot of ways, but you have to know the title, or something about the window.Thank you Paulie, this will be a good start. Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 12, 2009 Share Posted March 12, 2009 What I'm needing is when a certain window pops up how can I have Autoit press "enter". Second how do I determine what the window will be or is called?As Paulie said, you need to know something about the window. To get that, use the AU3Info.exe tool that came with AutoIt. The Class and Title of the window is usually the most useful information you get that way. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
gravedigger Posted March 12, 2009 Author Share Posted March 12, 2009 As Paulie said, you need to know something about the window. To get that, use the AU3Info.exe tool that came with AutoIt. The Class and Title of the window is usually the most useful information you get that way. How did you know what I was thinking? Thank you PsaltyDS! You probably made a script that allows you to read people minds, right? Link to comment Share on other sites More sharing options...
CodyBarrett Posted March 12, 2009 Share Posted March 12, 2009 that is impossible BUT psaltyDS just mentioned a program that was extracted on your computer [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
jvanegmond Posted March 12, 2009 Share Posted March 12, 2009 How did you know what I was thinking?Years and years of repetitively answering the same type of questions to the same type of people who do not search before posting. github.com/jvanegmond Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 12, 2009 Share Posted March 12, 2009 Years and years of repetitively answering the same type of questions to the same type of people who do not search before posting.Bingo! We have a winner! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
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