AutoIt Menu for Opera Browser!

This menu is designed for easy/convenient access to the AutoIt language tools and AutoIt forums.


Integration:

* Close Opera Browser.

* Run ".\AutoIt_Menu_For_Opera.exe" and wait for integration dialog (the main resources should be extracted quickly).

* Select desired options and press "Integrate"

* Wait until integration is finished.

* Run Opera to see the Menu ;)


====================================================

Instructions for Packing <AutoIt Menu for Opera> as SFX-archive:

Notes: 	
		* You should have the Source dir included in this archive, if not, download the source archive from here:
			http://creator-lab.ucoz.ru/AutoIt/AutoIt_Menu_For_Opera_Src.zip
		* Source files from AutoIt version 3.2.8.1, with AutoIt version higher then that some changes are required.
		

1) First you must compile the script ".\Aut_Menu_For_Opera_Src\AutoIt Menu For Opera.au3" with options using AutoIt3Wrapper...
	
	#AutoIt3Wrapper_icon=AutoIt_Menu_Icon.ico
	#AutoIt3Wrapper_outfile=AutoIt_Menu.exe
	#AutoIt3Wrapper_Compression=4

2) Make sure that you pack following files into the root of SFX-archive (from the ".\Aut_Menu_For_Opera_Src" dir)...

	FILE -> 7z.exe [Module for packing/Unpacking skin file]
	FILE -> BBCode.js [BBCode Module]
	FILE -> AutoIt_Menu.exe [Main engine of AutoIt Menu]
	FILE -> AutoIt_Menu.ini [Main Sections for AutoIt Menu]
	FILE -> AutoIt_Menu_Skin.ini [Skin Sections for AutoIt Menu]
	
	DIR -> AutoIt_Menu_Tools [Must include tools for the menu]
	DIR -> AutoIt_Menu_Icons [Must include Icons for the skin]

3) For packing please use latest Winrar version, with following options:
	
	* Archive format (extension) - RAR.
	* Compression method - Maximum.
	* Packing Options - "Create SFX-archive", and "Create continuous archive"
	* In tab "More/Other options" - press button "SFX Options...", and set...
		* Option "Create in Program files dir".
		* where "Run after extraction" type: "AutoIt_Menu.exe" (the name of main AutoIt Menu module).
		* In the "Modes" tab...
			- Set checkbox "Extract into temporary folder".
			- Set option "Hide all"
			- Set option Replace all existing files without warning.
		* In the "Text and Graphics" tab...
			- Set path to the icon of AutoIt Menu in the last input ("Load SFX icon from file").
		
	* Press OK couple of times and you set ;)

	Now wait until packing is finished..
	Note: The names of the options/tabs may be incorrect, i use russian Windows, sorry :( .

====================================================


=========================
Notes/Tips on menu usage:
=========================

* To let opening web-pages in new tabs of Opera, just add "New Page & " before "Go to page, " command (in AutoIt_Menu.ini file) before packing all AutoIt Menu resources.

* The same with opening in the background tabs, but also needs to add " & Switch to previous page" after web-page line.
	Example (force to opening in the *new* tab):
	Item, "AutoIt Main Page" = New Page,,,, "AutoIt_Menu_Icon_1" & Go To Page, "http://www.autoitscript.com/"
	
	Example (force to opening in the *background* tab):
	Item, "AutoIt Main Page" = New Page,,,, "AutoIt_Menu_Icon_1" & Go To Page, "http://www.autoitscript.com/" & Switch to previous page

* In menu sections there supported following variables:
	$AppName -> Will expanded to "AutoIt Menu For Opera".
	$OperaDir -> Will expanded to "Opera dir" location (with Opera.exe).
	$OperaProfileDir -> Will expanded to "Opera *profile* dir" location.
	$AutoIt_Main_Path -> Will expanded to "AutoIt dir" location (with AutoIt3.exe).
	$AutoItExe -> Will expanded to "AutoIt3.exe" location ($AutoIt_Main_Path\AutoIt3.exe).
	$SciTEMainPath -> Will expanded to SciTE Editor dir location.
	
	$AutoItMenuDir -> Will expanded to *dir* location with <AutoIt Menu> main module.
	$AutoIt_Menu_App -> Will expanded to *location* with <AutoIt Menu> main module ($AutoItMenuDir\AutoIt_Menu.exe).

* To change the AutoIt Main dir location (after integration to Opera), call preferences dialog from the menu (or just run the executable in Opera\AutoIt_Menu\AutoIt_Menu.exe), and select AutoIt dir (if AutoIt3.exe will be not found, then the path will be read from registry).

* The option "Run Selected Code", and all items that executed with $AutoItExe (*.au3 scripts mostly), can have /ErrorStdOut argument, just add to the main arguments /ErrorStdOut (i.e.: /ErrorStdOut /RunAsScript %T). 

* You can easily add a shortcut to Open AutoIt Menu (and some more Options - see next), just follow after these steps:
	1) Open shortcuts preferences dialog
		(Tools - Preferences - Advanced - Shortcuts - and press "Edit" button at the "Keyboard Setup" section)
	2) Now select "Application" and press "New" button.
	3) Now type the desired shortcut, for example <a ctrl alt>, and under "Action" column type (by double clicking on the created item from the right side) this action:
		Show popup menu, "AutoIt Main Menu"
	4) Now press few times "OK" button and all set ;)
	
	You also can add shortcut for executing the preferences dialog of AutoIt Menu...
	Just use this as "Action":
		Execute program, "AutoIt_Menu/AutoIt_Menu.exe", "/Config"
		(the path can be changed, full path must have standard slashes \).

	If you have added "BBCode Module" when AutoIt Menu was integrated ("Tools" tab), 
	you can set a shortcut for inserting some of the popular tags to the text forms (in AutoIt or other forums), 
	you need to set as "Action" this (for [AutoIt] tags):
		
		Go to page, "javascript:ujs_bbcode_tag('[autoit]')"
	
	Or for [Code] tags:
		
		Go to page, "javascript:ujs_bbcode_tag('[Code]')"
		
	Or for [Quote] tags:
		
		Go to page, "javascript:ujs_bbcode_tag('[Quote]')"
	
	and so one..
	
	Note: When you select text/code, and press a hotkey (say, for [AutoIt] tags), 
		if you press again while the text is wrapped with these tags, 
		you will see that the tags are disappear! :) - it's a feature (thanks to LEX1)!

====================================================


===== History Version =====
[v1.01 - 20.12.2007]

* Added BBCode Module - allow to use BBCode tags in text form (on AutoIt Forums).

* Improved "Run/Open Selected Code" features.

* Updated "AutoUpdateIt" utility to latest version (1.41).
* Updated "Icon_File_Scanner.au3" tool, now the separator between lists can be moved.

* Now when AutoIt not found (while integrating), there is option to select AutoIt dir.
* Now user can set AutoIt related Options (in Preferences dialog) without closing Opera Browser.
* Now when making changes to the Preferences dialog, prompt about closing Opera will be displayed only when necessary.
* Now all (almost) annoying messages can be disabled (set checkbox when the message appear, or use Prefs dialog).
* Now Tools integration is optional (you can select what tools exactly to integrate).
* Now the notifying message (after AutoIt Menu configurations is complete) will be displayed only if there was made some sort of Opera related changes.

* Fixed bug when installing -> configuration file was not created in the correct path (should be near the main "AutoIt Menu" engine).
* Fixed link to "Today's Active Topics".


[v1.0 - 13.12.2007]
First release.

====================================================




!========== CREDITS / COPYRIGHT ==========

* 7z.exe - Copyright (C) 2007 Igor Pavlov (http://www.7-zip.org/).

* AutoIt Tools:
	- Icon File Scanner -> (C) Holger Kotsch (Modifications by G.Sandler/ptrex).
	- AutoUpdateIt -> (C) Rob Saunders (Modifications by JPM/strik3r0475/erebus).
	- Include Manager -> (C) Jason Boggs <vampire DOT valik AT gmail DOT com>
	- Koda FormDesigner -> (C) Lookfar, LazyCat (Graphics by JosBe).
	- Constants Viewer -> (C) G.Sandler (a.k.a CreatoR).
	- Get Color -> (C) G.Sandler (a.k.a CreatoR).
	- Open Test Script -> (C) G.Sandler (a.k.a CreatoR).
	- Associate Au3 FileType -> (C) G.Sandler (a.k.a CreatoR).
	- BBCode Module - (C) A.Ruzanov (a.k.a LEX1), http://lexi.ucoz.ru/

* All AutoIt Developers/Community!!!

!=========================================


===============================================
Copyright  2007 CreatoR's Lab (G.Sandler).

Contacts:
www: http://creator-lab.ucoz.ru
Email: mscreator@gmail.com
ICQ: 5607655
============
