The Script toolbar presents a submenu from which options related to Ruby and PHP coding may be selected. The following functions are included:
Run Ruby Commands | presents submenu from which the commands below may be selected Note: If the ruby.exe has not been installed, selecting any of the options below will result in an error dialog indicating that the ruby.exe could not be found. The latest version of the Ruby EXE for Windows may be downloaded here: http:// www.ruby-lang.org/ |
Check Syntax | checks syntax of active Ruby script |
Run Script | runs active Ruby script |
Command Line Options | presents dialog (shown below) for specification of command line options |
PHP Commands | presents submenu from which the commands below may be selected Note: The first time one of the commands below is selected a dialog is shown where the user must browse to locate the php.exe on the local system. If you have not installed PHP on your system please go to http:// www.php.net/ downloads.php and download the latest version and follow the installation instructions. If PHP has not been installed on your system the functions below will not operate and will only prompt for the location of the php.exe. |
Run Script | runs active PHP script |
Syntax Check | checks syntax of active PHP script |
Syntax Check All | checks syntax of all scripts in all open PHP files |
Parse Document | parses active file and presents HTML equivalent of scripted events in documentname-parsed.php file |
Stripped Comments | strips comments and whitespace from active file and reformats it and presents result in documentname-parsed.php file |
Highlighted Source | converts script to HTML text bracketed by and allowing script to be displayed in an HTML file highlighted as it appears in UltraEdit |
Select PHP Executable | presents a dialog for user to browse to location of php.exe. |
Ruby Command Line Options
If Command Line Options is selected from the Script toolbar submenu, then the following dialog will be presented. Users familiar with Ruby may use this interface to launch Ruby with specified command line options and run this on the active script. For further information regarding the Ruby programming language please see: http:// www.ruby-lang.org/.