| View previous topic :: View next topic |
| Author |
Message |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Mon Sep 04, 2006 9:02 pm Post subject: |
|
|
I updated the script.
| Quote: | | The only thing I found is that when i have the gui open and then switch between tabs in PSPad it doesn't change the list. |
Fixed!
| Quote: | | When pressing the hotkey twice ie showing the gui and then hiding it without making a selection, the focus goes to the taskbar and not back to PSPad. |
Fixed!
- Added Tekl's search function and extra hotkey (Thanks Tekl)
- Added most of toralf's hotkeys
- Added PgUp and PgDn hotkeys
maybe a couple more changes/fixes
@toralf
i've added many of your suggestions, though I left out quite some as well, like the Sort option button and the small window frame idea. I left the first out as one will probably make the preference once and will get used to that. I left out the second as this script is intended to be completely keyboard-driven and the frame will be used with mouse only. _________________
 |
|
| Back to top |
|
 |
jballi
Joined: 01 Oct 2005 Posts: 384 Location: Texas, USA
|
Posted: Wed Sep 20, 2006 6:46 pm Post subject: |
|
|
Hey Rajat, This program is a jewel, especially for large scripts with buku labels. You've taken programming to a HNL. Thanks for sharing!
Do you (or anyone) have a good run-time icon for this progam?
Anywho, thanks again for sharing.
Them be my thoughts... |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Wed Nov 29, 2006 9:09 pm Post subject: |
|
|
I created a mod of Rajats script. It is about 4 times faster due to RegEx and has some more features. See for yourself. Beware, this script needs AHK 1.0.46.00!!
DOWNLOAD
Edit: Just fixed the first bug _________________ Ciao
toralf  |
|
| Back to top |
|
 |
haichen Guest
|
Posted: Thu Nov 30, 2006 2:10 am Post subject: |
|
|
to start the script from pspad you can take this little script:
ActiveGoTo.vbs
| Code: |
const module_name = "ActiveGoTo"
const module_ver = "4.6" 'version
sub startActivegoto
Set objShell = CreateObject("WScript.Shell")
objShell.Run "C:\Programme\PSPad\Script\ActiveGoTo.exe"
end sub
sub Init
addMenuItem "Active Go To","", "startActivegoto"
end sub
|
put the file in C:\Programme\PSPad\Script\vbs\ActiveGoTo.vbs
and the compiled ActiveGoTo.ahk (ActiveGoTo.exe) in C:\Programme\PSPad\Script\ActiveGoTo.exe.
or change the paths to somewhere else ..
start pspad and compile your scripts under scripts.
I can't make it better at the moment, but it works.
ActiveToGo is a incredible wonderful script!
Thanks for this
haichen  |
|
| Back to top |
|
 |
Micahs
Joined: 01 Dec 2006 Posts: 343
|
Posted: Sat Dec 02, 2006 10:51 am Post subject: activegoto for SciTE |
|
|
First of all, thanks Rajat. Very nice work.
I modified activegotov4 to work with SciTE (v1.71 at least)
http://autohotkey.net/~Micahs/activegoto4SciTE.ahk
Option for full path in title bar is needed as stated in script.
Changes for SciTE:
line 51 changed to: TitleStart := ".ahk""
line 52 changed to: TitleEnd := "SciTE"
line 55 changed to: GotoWin = ahk_class #32770
line 69 added: SetTitleMatchMode,2
line116 changed to: StartLen=1
line122 commented out
line123 changed to: StringTrimRight, FileName, WinTitle, 8
line125 commented out
line126 commented out
In case anyone is interested. |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Sun Dec 03, 2006 11:27 am Post subject: Re: activegoto for SciTE |
|
|
| Micahs wrote: | | I modified activegotov4 to work with SciTE (v1.71 at least) | Well, frankly I didn't looked hard to the script, so maybe it does much more that the following... But I wrote, for SciTE, a Lua script to this end. Note it uses the same algorithm than Titan's update...
List functions (+ labels + hotstuff) in an AutoHotkey script
So people will have a choice, internal or external program!  _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Wed Dec 06, 2006 7:59 pm Post subject: |
|
|
Another mod (Version 10)
- it should now support multiple editors simultaniously and without further configuration (PSPad, SciTE,Notepad2,ConTEXT)
- Notepad++ is only partially supported, since it doesn't show when the file has changed/saved. You haveto switch between documents to get an update. If there are users that use this editor, we have to come up with a workaround to refresh the list on request or on save hotkey.
- the script doesn't exit automatically when no editor is open, but hides the gui
- slide can be turned on/off
- it has been tested with a script of 5000+ lines. and it is fast.
See for yourself. Beware, this script needs AHK 1.0.46.00!!
DOWNLOAD
Please test it with you editor of choice and give feedback. Thanks. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1249 Location: USA
|
Posted: Wed Dec 06, 2006 8:16 pm Post subject: |
|
|
@toralf--
This is an amazing update....It seems to work great. I like how you can jump to the last with F2...the only complaints I have are:
-the script closes if you single left click on the tray icon
-F1 is the shortcut in SciTE for AHK's Help (if SciTE is configured correctly) which can easily be changed by the user of course. GREAT JOB....(Still eagerly waiting for the new Smart GUI though )
@PhiLho--
I have yet to test your Lua script for SciTE (my editor of choice....Thanks to your hard work on the Lexer ) I will test this evening and will give feedback at the appropriate post. |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Wed Dec 06, 2006 8:31 pm Post subject: |
|
|
Thanks for testing | ahklerner wrote: | | -the script closes if you single left click on the tray icon | If you don't want this, you can comment the line out.
| Quote: | | -F1 is the shortcut in SciTE for AHK's Help (if SciTE is configured correctly) which can easily be changed by the user of course. | Change it as you like. I find it convienent. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
foom
Joined: 19 Apr 2006 Posts: 386
|
Posted: Thu Dec 07, 2006 11:27 am Post subject: |
|
|
Very nice. I have a couple of suggestions to make.
- Rename limit to filter.
- Add checkboxes for filtering by hotkey, hotstring, function, and labels.
- Make the window resizeable and dont calculate height based on desktopheight, just take fixed values which should be saved after the window has been resized and reused on next startup.
- Add an option to autohide the window like in lazlos script.
- Leftclick closes the script! At least mention it somwhere
.
|
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Thu Dec 07, 2006 11:36 am Post subject: |
|
|
| foom wrote: | | [*]Rename limit to filter. | Good point
| Quote: | | [*]Add checkboxes for filtering by hotkey, hotstring, function, and labels. | Doesn't the "Only Sub/Func" work for you? I find it good enough.
| Quote: | | [*]Make the window resizeable and dont calculate height based on desktopheight, just take fixed values which should be saved after the window has been resized and reused on next startup. | I thought of it too, but haven't done it, since it is ok for me to have it always at the left side of the screen. Resizing would add several lines of code.
| Quote: | | [*]Add an option to autohide the window like in lazlos script. | The gui hides when you press the "F1" key again or a window that is not an editor gets active. Do you have something else in mind?
| Quote: | | [*]Leftclick closes the script! At least mention it somwhere :). | It is obvious when you right click on the tray icon, since Exit is bold. But I'll add a comment.
Thanks for the feedback. Have you tried it with ConTEXT and your new RegEx? _________________ Ciao
toralf  |
|
| Back to top |
|
 |
foom
Joined: 19 Apr 2006 Posts: 386
|
Posted: Thu Dec 07, 2006 1:15 pm Post subject: |
|
|
| Quote: | | Doesn't the "Only Sub/Func" work for you? I find it good enough. | Sure it does but seperate checkboxes give you better feedback on whats shown an whats not.
| Quote: | | I thought of it too, but haven't done it, since it is ok for me to have it always at the left side of the screen. Resizing would add several lines of code. |
Well it just looks weird when there are so few entries in the list and it ocupies the whole screenheight. And it would be nice to be able to make it more wide if you have functions with many params.With the use of anchor it shouldn't add much more code or make it more complicate. The only real work would be to save the coordinates of the window.
| Quote: | | The gui hides when you press the "F1" key again or a window that is not an editor gets active. Do you have something else in mind? |
I like that lazlos script hides the window automatically when it loses focus. Tahta makes it a niffty unobtrusive tool.
| Quote: | | Have you tried it with ConTEXT and your new RegEx? |
Yes. No problems so far. |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Thu Dec 07, 2006 9:42 pm Post subject: |
|
|
Get version 11
- adjusts height depending on number of items in list
- resizeable gui
- remembers settings/position/size between sessions and restores them. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Thu Dec 07, 2006 10:02 pm Post subject: |
|
|
Get version 12
- option to hide gui on lost focus _________________ Ciao
toralf  |
|
| Back to top |
|
 |
foom
Joined: 19 Apr 2006 Posts: 386
|
Posted: Fri Dec 08, 2006 11:27 am Post subject: |
|
|
Great great great. Will you support seperate checkboxes in the future or do you dislike the idea?
I have a couple of questions. You parse the file from disk because its hard to get the text directly from the editor? Is that right? What exactly is the problem here? Editors behave to different to find a solution that works on all?
Anyway, thanks for the script. Its great. |
|
| Back to top |
|
 |
|