0

I am trying to write a macro that writes a script, i wanted some specific commands to be written on their own but it seems the command

stream.WriteLine ""

is not able to identify any "" inside it's "" as text and failing to execute and gives a syntax error

I was trying to write a macro that writes a script in a

I am facing syntax error for the below code

stream.WriteLine "#$language = ""VBScript""   ' I wanted to get printed this but i get syntax error : 

#$language = "VBScript" 

stream.WriteLine "crt.Screen.Send chr(27) & "[A" & chr(13) 

I wanted to get printed this but i get syntax error :

crt.Screen.Send chr(27) & "[A" & chr(13) 
braX
  • 11,506
  • 5
  • 20
  • 33

0 Answers0