AutoHotkey Community

It is currently May 27th, 2012, 10:12 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject:
PostPosted: July 4th, 2008, 7:10 am 
Offline

Joined: April 27th, 2008, 5:28 pm
Posts: 489
I downloaded Active GoTo V4 and need help using it with SciTE. I get "Editor window does not exist.

code
Your script says to change the title settings and keys
for 'go to' function

TitleStart = PSPad - [
TitleEnd = ]

;Go To Settings (Name of GoTo window and Editor's related key)
GotoWin = ahk_class TfGotoLine
GotoKey = ^g
/code

Do I change titlestart, titleend and gotowin?

I am really confused on the titlestart. Your documentation says
"Write here the text shown on the left &
right of the filename in the window's title."
The SciTe window title includes the path. Does that mean I type the entire path up to the filename? If so then do I replace everything after the equal sign and put in the full path up to the filename as shown in the title bar?

And on the titleEnd am supposed to type everything after the filename. This information changes depending on which tab I have my autohotkey script opened in.

On GotoWin I used Go To because that is the title of SciTe goto window. I also tried ahk class #32770 because that is what window spy reports the SciTe goto windows class is.

SciTe uses ^g for the goto hotkey. So I did not change that.

I changed the Win Tab hotkey to Ctrl k because the win tab keys scrolls though all my open windows in vista.

This program is exactly what I need to browse my large script faster.

I tried code and /code in this message and it did not put the code in its own box.

thanks
DataLife


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 6th, 2008, 12:01 am 
Offline

Joined: December 1st, 2006, 9:27 am
Posts: 460
http://www.autohotkey.com/forum/viewtop ... 2570#92570

Here are the changes I made to get it to work with SciTE. The next post after that PhiLho said that he made a lua script that does the same thing, so you have a choice between internal or external solutions.

I thought that it had been updated to work with Scite later on, though. Maybe not.

BTW, use brackets "[]" around "code" and "/code".

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 18th, 2008, 12:14 am 
Offline

Joined: July 30th, 2007, 11:32 pm
Posts: 581
For toralf's script to work with Notepad++, you have to change line 49 from
Code:
^Notepad\+\+ - (?P<Name>.*?)$

to
Code:
^(?P<Name>.*?) - Notepad\+\+$


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 4th, 2009, 1:25 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
How can I use this wonderful script with VIM? The version I have ends allways in title with "- GVIM", this is good. But the problem I have is with starting title, it begins allways with file name. I have leaved this out for first, but it says me at starting that no window was found.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 4th, 2009, 5:47 am 
Offline

Joined: December 1st, 2006, 9:27 am
Posts: 460
Here is a version that can find and parse the file, displaying the subs and funcs and appearing on cue. HOWEVER, the goto part will not work. I can't find any way to make VIM go to a specific line number. It supports ctags, but I don't know how to apply it to the goto method used here.

Also, this version now will not work for other editors.

If anyone can take this further, please do so. I don't know enough about VIM to complete this.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 4th, 2009, 7:57 am 
Offline
User avatar

Joined: September 8th, 2008, 12:26 am
Posts: 1048
Location: Ploieşti, RO
Got same problem with Metapad. I wonder how come nobody mentioned it before.
Rajat's script just closes gracefully with no message or anything, while toralf's doesn't display anything since it doesn't recognize the editor and those RegEx kinda fly over my head at this moment.

1. new file - metapad
2. <file path> - metapad
3. * <file path> - metapad
4. <file path> - metapad (read only)

_________________
AHK tools by Drugwash (AHK 1.0.48.05 and Win98SE)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 23rd, 2010, 12:07 pm 
Offline

Joined: June 14th, 2009, 7:48 pm
Posts: 331
I have to thank you a lot !!!


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 16th, 2010, 4:37 pm 
Offline

Joined: January 20th, 2007, 7:47 pm
Posts: 110
I'm not sure how to get this going with SciTE4AutoHotkey. I'm running the current beta, "SciTE4AutoHotkey Version 3.0 - Based on SciTE 2.20."

If I try to launch Active GoTo as-downloaded, it not-surprisingly gives me "Editor window doesn't exist" but I don't know how to customize it.

Here are three of examples of window names when I'm editing scripts with SciTE4AutoHotkey.

C:\Program Files\AutoHotkey\Scripts-Ed\Apps Utilities Tools\Active GoTo\Active GoTo.ahk * SciTE4AutoHotkey [1 of 2]

Same file with no other file open in SciTE4AutoHotkey:
C:\Program Files\AutoHotkey\Scripts-Ed\Apps Utilities Tools\Active GoTo\Active GoTo.ahk * SciTE4AutoHotkey

C:\Program Files\AutoHotkey\AutoHotkey.ini * SciTE4AutoHotkey [2 of 2]

What values should I assign to TitleStart and TitleEnd so Active GoTo can see my editor?

Or is there some way I can use, "ahk_class SciTEWindow" to accomplish this? I rarely use SciTE4AutoHotkey to edit things that aren't scripts.

THANKS

_________________
...Ed


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 16th, 2010, 6:04 pm 
gui is not resizing properly..


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 16th, 2010, 6:22 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
SciTE4AutoHotkey v3 includes TillaGoto.

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Thanks
PostPosted: September 16th, 2010, 7:42 pm 
Offline

Joined: January 20th, 2007, 7:47 pm
Posts: 110
I assume TillaGoto ~= Active GoTo... I'll give it a try. Thx again, I'm such a fan of SciTE4 and esp V3.

_________________
...Ed


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC [ DST ]


Who is online

Users browsing this forum: specter333, XX0 and 23 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group