ContributionsMost RecentMost LikesSolutionsHow to do operations in the MS Windows OS's colorbox I am writing a script to select color for a traingle, and when I click the color button, it appears the color box like this, it seems like the default color box of MS Windows OS, Someone could tell me how to operate it in VBS, I don't want to use the coordinates to click the color... SolvedUsing createTextFile() to create a text file, but weird thing happens I want to create a text file, and use the method createTextFile(), code as following: Dim oFSO,OpenFile CreateFolder(sFilePath) set oFSO = CreateObject ("Scripting.FileSystemObject") set OpenFile = oFSO.CreateTextFile(sFilePath,true) OpenFile.WriteLine sColumnHeadText OpenFile.Close and what confuse me is that a filefolder named "123.txt" is created in the specific path but not a text file. I have already give the permissions, and I can manually create a 123.txt there. It's strange. Re: Reasons about why TestComplete recognizes "Winforms" as "window"... I just reinstall testComplete, and it works well. Thanks~ Re: Reasons about why TestComplete recognizes "Winforms" as "window"... It shows that 'process1.WinFormsObject' is an error. process1 is an object Process. I searched the Help and found this method 'WinFormsObject' is contained in Process Method. Why I cannot use it? Reasons about why TestComplete recognizes "Winforms" as "window"... Two days ago, I ran my scripts and it went well, But today I run these scripts, it goes wrong, and the error is "Microsoft VBScript Runtime Error" about that Object doesn't support this property or method: 'Sys.Process(...).WaitWinFormsObject'. It's because TestComplete recognizes "Winforms" as "window", but before it took that object as "Winforms". Has anyone encountered this problems? How to return it back? Thanks very much! SolvedRe: How to see the code qualities such as duplication of the files (*.svb), is there any tools special? william_roeThanks, I found it! It helps me to refactor the code. Btw, could it show the duplications or not ? I really need to see the duplications. Re: How to see the code qualities such as duplication of the files (*.svb), is there any tools special? Thanks, but it seems that the version I use doesn't contain this function. I searched it from the toolbar "View", but I didn't see the code explorer... How to see the code qualities such as duplication of the files (*.svb), is there any tools special? I want to see the qualities such as duplication, complexity and so on of the scripts with extension .svb . I use some tools downloaded from the internet, but it doesn't match. one tool called SourceMonitor doesn't recognize the scripts because of the coding methods (ASCII..). So anyone has experience in this domain? could you help me, thanks pls. Solved