autoit script syntax highlighter demo

Autoit syntax highlighter for wordpress

Step 1: Install plugin SyntaxHighlighter Evolved http://wordpress.org/extend/plugins/syntaxhighlighter/
Step 2: Download Autoit brush

download button

Link download: http://adf.ly/JjZpq
Pass giải nén: hanamonline.com
Hướng dẫn download link ADF.LY

Step 3: Upload it to folder: /public_html/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3

Step 4: Edit file: /public_html/wp-content/plugins/syntaxhighlighter/syntaxhighlighter.php

+ Find code (line 104 + 105):

		// Register brush scripts
		wp_register_script( 'syntaxhighlighter-core',             plugins_url('syntaxhighlighter/' . $this->shfolder . '/scripts/shCore.js'),            array(),                         $this->agshver );

add this code after:

		wp_register_script( 'syntaxhighlighter-brush-autoit',        plugins_url('syntaxhighlighter/' . $this->shfolder . '/scripts/shBrushAutoIt.js'),        array('syntaxhighlighter-core'), $this->agshver );

+ Find code (line 149 + 150)

		$this->brushes = (array) apply_filters( 'syntaxhighlighter_brushes', array(
			'as3'           => 'as3',

add this code after:

			'au3'           => 'autoit',

Use short code

{au3}your autoit script code{/au3} (replace {} = [])

in your post. End!