v4 Changes:
- List Auto-Updates if there is a change in the sections (or their positions) in the script.
- The auto-update changes the order of the list ONLY if there is a change in the sections in the script,
and not if the change is only in their positions
- Support for hotstrings added
- Support for same line comments on section line added/improved
- If there are no sections in a file (eg. a new script), the ActiveGoTo window doesn't pop up.
- The hotkey Win+Tab toggles the gui hide/show. (Thanks toralf)
- The GUI only shows up when its hotkey is pressed, and not automatically (Thanks toralf)
- All Hotkeys context sensitive (Thanks toralf)
- The refresh hotkey (F5) is gone
- Removed support for .au3 scripts (Don't even know why I added that in the first place!)
v3 Changes:
- Auto update of list based on the currently open file in editor.
- Pressing F5 will refresh the list
- Check if the file open in editor is a script or not
v2 Changes:
- The ActiveGoto GUI gets hidden when neither it or Editor window are active (Thanks MsgBox)
- Support for OTB added (Thanks toralf)
- The alphabetical sort of function list is now optional (Thanks toralf)
- Hotkeys are now easily configurable (Thanks toralf)
- Some code optimizations
When you're working on a big script (say having 400-500 or maybe a couple of thousand lines) then what do you hate most? If you're like me then you hate scrolling from one part of the script to another the most... to counter that I'd made the bookmark script which remembered line contents so the bookmarks always worked (here). Though the advantage it had was that only the sections i wanted were bookmarked, the problem problem was that i still had to create those bookmarks. i didn't like that much either.
So that brings us to this script...
You run this script (preferably by a hotkey) and whatever the current script in your fav editor is, its instantly scanned and All Sections (including hotkey sections) and All Functions are presented as a sorted list of searchable bookmarks!!.. just select the section and press enter.(if you've used my 320MPH script then you'll find yourself at home).
A handy feature is Win+Left key to travel directly between last two used sections without using the ActiveGoto GUI.
Another very helpful feature is that when the script starts it presents a sorted list of sections, but as you keep using it, the recently traversed sections are moved to the top of the list, to make them easily accessible the next time.
Keyboard Help:
Win + Tab : Show Active Goto Window
Win + Left : Goto last browsed control
Esc : Hide Active Goto Window
Up/Down : Browse section list
Its set for PSPad but you can change it to whatever editor you like, it has just 2 reqmts:
- Editor must have a Goto Line cmd
- Editor window's title shows file path
Except Notepad probably every editor has those!
I've been using this for a while and it now is a necessity for me while scripting. (imagine that the current SGUI has about 100 sections!)
![Posted Image](http://img245.imageshack.us/img245/1492/activegotofi5.gif)
(screenshot from Rubberduck's script)
DOWNLOAD