AutoHotkey Community

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: March 24th, 2006, 5:15 pm 
Offline

Joined: August 24th, 2005, 5:17 pm
Posts: 1237
@ robiandi: I didn't forget, I just hadn't programmed the check for "more than 1 word in the line" very well (I tend to follow the convention of using commas and having spaces after them, so it's hard to notice some things - I'll fix it for the next version).

@ PhiLho: I'm not checking labels against a list of commands, I'm checking the line doesn't have more than one word in it (i.e. a space in the middle) or a comma (the flexibility of the AHK syntax becomes a pain for this sort of matching :lol:), but your suggestion made me realise it would be a lot simpler if I crop off the spaces at the start of the line and then check for spaces.

@ toralf: I thought about doing that too (I've had docking of windows in my Alt-Tab replacement for some months - but the code was necessarily a lot more complicated). I might look into it some time if there is demand. Another possibility might be attaching a small window into the PSPad window somewhere like with the taskbar clock script with meters (which should then work without any timers and be more responsive, but just depends if PSPad plays nicely with that method or not).


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

Joined: August 24th, 2005, 5:17 pm
Posts: 1237
New version:
Quote:
Changes:
Improvents in detection of filtered items.
Focus is set to the Filter box when the window is shown (Win+Q)
Switched to using radio buttons instead of checkboxes.
Option for showing all lines (to filter) - as an alternative to PSPad's find/list


Quote:
Things to do (maybe):
dock / attach window to pspad?
store gui position and settings to ini file instead of positioning automatically (then size downwards until bottom of screen reached)
change PSPad references to allow usage for other editors
find unused labels and functions



Link in the 1st post or:
http://file.autohotkey.net/evl/PSPad_He ... Helper.ahk


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2006, 7:54 am 
Many thanks for the improvements.
To use the window still better for navigation I commented the lines
Code:
Gosub, GuiClose

Perhaps this can be an option in the future (not closing the window).


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2006, 1:12 pm 
Offline

Joined: August 24th, 2005, 5:17 pm
Posts: 1237
@ robiandi: I'm not sure what you dislike about that line exactly - it only closes the window if you press Win+Q while the window is already shown. Do you want to keep the window visible all the time and have the hotkey simply set the focus to the gui?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2006, 2:06 pm 
evl wrote:
Do you want to keep the window visible all the time and have the hotkey simply set the focus to the gui?
Yes


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2006, 2:52 pm 
Offline

Joined: August 24th, 2005, 5:17 pm
Posts: 1237
Does anyone else have an opinion on whether the hotkey by default should show/hide the gui or simply show/select if already shown? I might add a tab for options to the gui as I was planning on adding a few little options but trying to keep the interface as small as possible.

Also I've found that it is possible to make the PSPad window the parent of the gui (like with the start button clock script), so I was thinking about making it so that it added a little bar or something to the top right of the editing area (shouldn't cover up anything there, but it would still be movable anyhow) and then the gui will "unroll" (not animated) downwards from that position.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2006, 3:10 pm 
If you do so, I would be great if the list of lables gets updated by a timer (every 2-5 minutes should be enough, or instantly when the title of PSPad changes, or e.g. when the script gets saved.). This would eliminate the need for the hotkey activation. The list could also be kept open permanently.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2006, 3:39 pm 
Offline

Joined: August 24th, 2005, 5:17 pm
Posts: 1237
A timer for updating is an interesting idea. If I can make the window resizable too then it would be quite a handy way to jump around between labels that were related (using the filter).


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Thats wonderful script
PostPosted: December 4th, 2006, 10:43 am 
I have been using PSPad for a while after learning about it in this forum. I found this script and was excited to see how good it is. Thanks to everyone who has contributed to the script.
Great job guys! :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 7th, 2007, 1:29 pm 
Offline

Joined: April 28th, 2006, 12:12 pm
Posts: 55
I was using this script a lot and then not so much for a while.

I have tried to use it again, but it does not seem to work now. When I use the hot key "win + q" it just types a letter "q" in the text.

I am using PSPad version 4.5.3 (2283) - could this have anything to do with it?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2008, 5:54 pm 
Offline

Joined: April 28th, 2006, 12:12 pm
Posts: 55
Has anybody tried this with PSPad version 4.5.3 (2298)

I cannot get the GUI to appear - When I press "win+q" just the letter "q" appears in the text.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: iDrug, nomissenrojb, Rajat and 57 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