« VBScript » : différence entre les versions
		
		
		
		
		
		Aller à la navigation
		Aller à la recherche
		
				
		
		
	
Aucun résumé des modifications  | 
				Aucun résumé des modifications  | 
				||
| Ligne 7 : | Ligne 7 : | ||
   Set objFile = objFSO.CreateTextFile(outFile,True)  | 
     Set objFile = objFSO.CreateTextFile(outFile,True)  | 
||
   objFile.WriteLine variable  | 
     objFile.WriteLine variable  | 
||
If you can't see all the variable value with the watch point, you can open immediate window View--> Intermediate Window or CTRL-G and type  | 
|||
<code>  | 
|||
debug.print VARIABLE_NAME  | 
|||
</code>  | 
|||
Version du 21 août 2017 à 13:44
Print text
  Wscript.echo("text")
Write in a text file
  Set objFSO=CreateObject("Scripting.FileSystemObject")
  outFile="C:\Users\User\Desktop\Results.txt"
  Set objFile = objFSO.CreateTextFile(outFile,True)
  objFile.WriteLine variable
If you can't see all the variable value with the watch point, you can open immediate window View--> Intermediate Window or CTRL-G and type
debug.print VARIABLE_NAME