 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| If you've tried Seek, do you: |
| like it? |
|
77% |
[ 21 ] |
| neutral... |
|
18% |
[ 5 ] |
| hate it? |
|
3% |
[ 1 ] |
|
| Total Votes : 27 |
|
| Author |
Message |
Phi
Joined: 24 Sep 2004 Posts: 32
|
Posted: Sun Nov 21, 2004 4:05 pm Post subject: A solution? |
|
|
S.F.,
I think I may have found a solution that handles extended char set correctly, but I can't be sure. Can you please email me at phi1618 (*a.t*) gmail :D0T: com so that I can send you a test version to verify on your system? |
|
| Back to top |
|
 |
Phi
Joined: 24 Sep 2004 Posts: 32
|
Posted: Fri Nov 26, 2004 5:22 pm Post subject: It's working! |
|
|
jonny, i haven't been able to find time to extract your requested segments of Seek. However, if you look thru the program, with the help of the comments, it should not be too difficult to get what you need. Let me know if you need more help on that.
Meanwhile, check out http://www.desktopapps.co.uk/menuApp.html
It appears to be doing something similar to what you have in mind. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Fri Nov 26, 2004 6:41 pm Post subject: |
|
|
Gah... but... it... wha... ::faints::
lol ty phi, its perfect! I haven't gotten around to perusing the code for a while, but ya I think I might be able to do it. |
|
| Back to top |
|
 |
valenock
Joined: 14 Sep 2004 Posts: 17
|
Posted: Tue Jan 18, 2005 2:27 am Post subject: Seek internationalization |
|
|
Seek is a nice script, but it has some problems on none-english systems where the commandline codepage is not equal to the GUI codepage. (It was done some decade ago to support already outdated codepages of DOS era).
One of the examples of such systems can be Russian language system.
Even on systems without such problems it can speed up start menu caching significantly.
The problem was solved by substituting the original external call to "DIR" command by the following Autohotkey code:
/ The beginning and ending comments left intentionally - so you can easily track where to place this fragment /
| Code: |
;=== BEGIN ScanStartMenu SUBROUTINE ========================
; SCAN THE START-MENU AND STORE THE DIRECTORY/PROGRAM
; LISTINGS IN A CACHE FILE
ScanStartMenu:
FileList = ; Initialize to be blank.
; DEFINE THE DIRECTORY PATHS TO RETRIEVE
scanPath = %USERPROFILE%\Start Menu
GoSub, addPathToFilelist
SplitPath, USERPROFILE, name, dir, ext, name_no_ext, drive
scanPath = %dir%\All Users\Start Menu
GoSub, addPathToFilelist
; INCLUDE ADDITIONAL USER-DEFINED PATHS FOR SCANNING
IfExist, %SeekMyDir%
{
Loop, read, %SeekMyDir%
{
IfNotExist, %A_LoopReadLine%
MsgBox, 8192, %version%, Processing your customised directory list...`n`n"%A_LoopReadLine%" does not exist and will be excluded from the scanning.`nPlease update [ %SeekMyDir% ].
Else
scanPath = %A_LoopReadLine%
GoSub, addPathToFilelist
}
}
; DELETE EXISTING FILE BEFORE CREATING A NEW VERSION
FileDelete, %dirListing%
; WRITE FILELIST
FileAppend, %FileList%, %dirListing%
; HIDE THE FEEDBACK TOOLTIP WHEN SCANNING IS DONE
Tooltip
Return
;... END ScanStartMenu SUBROUTINE ..........................
;=== BEGIN addPathToFilelist SUBROUTINE =================================
; SCAN DIRECTORY FROM %scanPath% AND ADD ALL RESULTS TO %FileList%
addPathToFilelist:
Loop, %scanPath%\*.*, 1, 1 ; Recurse into subfolders.
{
; TODO:: get rid of all System/Hidden files if any are present at all ?
if A_LoopFileName != desktop.ini
FileList = %FileList%%A_LoopFileFullPath%`n
}
Return
;... END addPathToFilelist SUBROUTINE ..........................
;=== BEGIN FindMatches SUBROUTINE ==========================
; SEARCH AND DISPLAY ALL MATCHING RECORDS IN THE LISTBOX
|
|
|
| Back to top |
|
 |
Phi
Joined: 24 Sep 2004 Posts: 32
|
Posted: Mon Jan 31, 2005 3:45 am Post subject: |
|
|
valenock, thanks for the feedback. That loop-code was already included to replace the "dir" command in my next version of Seek v2.0.3. This new version shall be released either today or tomorrow.  |
|
| Back to top |
|
 |
Phi
Joined: 24 Sep 2004 Posts: 32
|
Posted: Mon Jan 31, 2005 5:06 am Post subject: New Version 2.0.3 - updated 31st Jan 2005 |
|
|
It's out! Check the 1st posting for details.  |
|
| Back to top |
|
 |
chessonly
Joined: 06 Feb 2005 Posts: 9
|
Posted: Sun Feb 06, 2005 9:46 pm Post subject: |
|
|
hi ppl am new here,
autohotkey is awesome, way beyond my expectations.
this seek script sounds good, but what i hav in mind is a 'find in page' utility. I use the opera browser which lets me find as i type(type '.' followed by terms to search. i miss this a lot when i am using absolutely anything else.
this seek thing seems promising though,
Can this script be modified to search the contents of an active window
instead of the contents of the start menu? things wld be awesome then
Thanks for any help |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Sun Feb 06, 2005 10:18 pm Post subject: |
|
|
Um... I don't know if you knew this already, but Firefox (my main power-browser) has this functionality.
You can take a look at my comprehensive hotkey list for more info, but a short summary is that forward slash (/) starts finding text anywhere as you type it, and apostrophe (') does the same thing, but for links. I find the latter really handy for keyboard-only browsing.
Edit: Ok, my list doesn't have any more info than that, just that F3 will find the next instance. Oh well, you get the idea. 
Last edited by jonny on Mon Feb 07, 2005 4:26 pm; edited 1 time in total |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Feb 07, 2005 7:35 am Post subject: |
|
|
yup i know abt afirefox.
and i was wondering abt making this feature system wide. |
|
| Back to top |
|
 |
Phi
Joined: 24 Sep 2004 Posts: 32
|
Posted: Thu Feb 10, 2005 3:23 am Post subject: |
|
|
chessonly, your idea is pretty cool. However, to do that system wide, in any program, the only method that I know of is to activate the "Find" function in that particular program and then enter the search text. The method to trigger the "Find" function differs from one program to another. In Notepad, it's CTRL-F; in Firefox/Opera it's /; in Thunderbird, it's CTRL-L.
So, unless you'll willing to find out how each program does its "Find", and then have the AutoHotkey script triggers "Find" according to which program is active, there isn't another simpler method.  |
|
| Back to top |
|
 |
joly Guest
|
Posted: Mon Mar 28, 2005 12:51 pm Post subject: newbie question |
|
|
Newbie question:
I try seek, great script!
run perfectly, I try for 2 day to customize but nothing...
How and where I can insert new directory?
I want to search in this dir:
C:\Documents and Settings
E:\MP3
F:\Downloads
Thanks. |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 755 Location: Berlin
|
Posted: Mon Mar 28, 2005 4:58 pm Post subject: |
|
|
I am using QuickStart at the moment, but if this script keeps getting better, I probably can get rid of it...
A couple of options that QuickStart has that might be worth mentioning (and implementing):
- The window of QuickStart consists only of a dropdownlist, the results are presented as a 'dropped-down' dropdownlist .
- It has 'autocomplete'
- One can add the Desktop, the IE history and favorites, Firefox bookmarks, Recent files, and custom folders easily to be included in the scan
- It has the option to ignore certain words (e.g. install, about, licence)
- It has the option to use filemasks (to include only specific files)
- It can optionally launch directly if only one match is found
- It can run keywords on the command line if not found
If this could become a mixture of QuickStart and MCL, this would indeed be a killer app...
- Custom keywords (that lead to a script or whatever) would be nice too... _________________ (sorry, homesite offline atm) |
|
| Back to top |
|
 |
Phi
Joined: 24 Sep 2004 Posts: 32
|
Posted: Mon Mar 28, 2005 5:32 pm Post subject: |
|
|
Joly, you can add your own customised list of directories to be included in the scanning. You just need to create a text file 'Seek.dir' in the same directory as Seek.exe or Seek.ahk, and specify the full path of the directory to be added, one directory per line. Do not enclose the path in quotes or double-quotes.
daonlyfreez, thanks for the suggestions. I'll see if those features can be added.  |
|
| Back to top |
|
 |
joly Guest
|
Posted: Tue Mar 29, 2005 9:42 pm Post subject: Thanks!! |
|
|
Thanks !!!
great indeed! |
|
| Back to top |
|
 |
Phi
Joined: 24 Sep 2004 Posts: 32
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|