    

 ## On this page

  

 

 # setMacroScriptLanguage

 Last update: 30.07.2026 

abstract fun [setMacroScriptLanguage](set-macro-script-language.md)(macroName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), language: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))

set the script lancuage for a macro if the macro exists

#### Parameters

macroNamethe name of the macrolanguagethe macro script language