AutoHotkey Community

It is currently May 25th, 2012, 12:44 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

If you've tried Seek, do you:
like it?
neutral...
hate it?
You may select 1 option

View results
Author Message
 Post subject: A solution?
PostPosted: November 21st, 2004, 5:05 pm 
Offline

Joined: September 24th, 2004, 5:10 am
Posts: 32
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: It's working!
PostPosted: November 26th, 2004, 6:22 pm 
Offline

Joined: September 24th, 2004, 5:10 am
Posts: 32
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2004, 7:41 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: January 18th, 2005, 3:27 am 
Offline

Joined: September 14th, 2004, 11:03 pm
Posts: 21
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




Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 31st, 2005, 4:45 am 
Offline

Joined: September 24th, 2004, 5:10 am
Posts: 32
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. :)


Report this post
Top
 Profile  
Reply with quote  
PostPosted: January 31st, 2005, 6:06 am 
Offline

Joined: September 24th, 2004, 5:10 am
Posts: 32
It's out! Check the 1st posting for details. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 6th, 2005, 10:46 pm 
Offline

Joined: February 6th, 2005, 10:40 pm
Posts: 26
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 6th, 2005, 11:18 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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 February 7th, 2005, 5:26 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2005, 8:35 am 
yup i know abt afirefox.
and i was wondering abt making this feature system wide.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2005, 4:23 am 
Offline

Joined: September 24th, 2004, 5:10 am
Posts: 32
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. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: newbie question
PostPosted: March 28th, 2005, 1:51 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 28th, 2005, 5:58 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
I am using QuickStart at the moment, but if this script keeps getting better, I probably can get rid of it... 8)

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 :P .
- 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

8)

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...

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 28th, 2005, 6:32 pm 
Offline

Joined: September 24th, 2004, 5:10 am
Posts: 32
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. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Thanks!!
PostPosted: March 29th, 2005, 10:42 pm 
Thanks !!!
great indeed!


Report this post
Top
  
Reply with quote  
 Post subject: Find and Run Robot
PostPosted: April 2nd, 2005, 5:58 am 
Offline

Joined: September 24th, 2004, 5:10 am
Posts: 32
If you like Seek, check out this proggy:

http://www.donationcoder.com/Software/M ... index.html

ps: I'm not affiliated to the "Find and Run Robot" author, or the DonationCoder.com site. Just happened to chance upon this link in a RSS feed.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bon, Rajat, ZeLen1y and 63 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