Coder_Noob Posted November 12, 2005 Share Posted November 12, 2005 (edited) Whats the middle field for?WinSetTrans("Win Name","This one",Ocapacity 0-255) Edited November 12, 2005 by Coder_Noob Avatar made on Gmod for HL2 by me!Name on Gmod: Oclops Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 12, 2005 Moderators Share Posted November 12, 2005 If there is text on the window that would make it "unique", it can be left blank in most cases. 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. Link to comment Share on other sites More sharing options...
herewasplato Posted November 12, 2005 Share Posted November 12, 2005 Whats the middle field for?WinSetTrans("Win Name","This one",Ocapacity 0-255)It helps define which window you are working with... If you had two notepad windows open and the titles were the same, you might be able to match only one of them using some unique text.Try it - open two notepad windows and type HELP into one of them... look at each with the "AutoIt Window Info" tool. The word HELP should appear undetrr this part of the tool:>>>>>>>>>>> Visible Window Text <<<<<<<<<<<So you would write the line of code as:WinSetTrans("Untitled - Notepad","HELP",144)orWinSetTrans("Untitled - Notepad","",144)if you do not care which window gets setronsrules beat me to it - because I write too much and too slow :-) [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Coder_Noob Posted November 12, 2005 Author Share Posted November 12, 2005 Ty 2 both of u Avatar made on Gmod for HL2 by me!Name on Gmod: Oclops 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