AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

-: Seek :- Launch program quickly & easily
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  

If you've tried Seek, do you:
like it?
77%
 77%  [ 21 ]
neutral...
18%
 18%  [ 5 ]
hate it?
3%
 3%  [ 1 ]
Total Votes : 27

Author Message
mouser
Guest





PostPosted: Thu Apr 07, 2005 9:52 am    Post subject: hello Reply with quote

hi, i'm the author of Find&Run robot.
i just wanted to say hello and say really nice work.

just found out about AutoHotKey and the 320mph + seek scripts.
i'm adding mention of them in the Find&Run robot help file list of related programs.
Back to top
Phi



Joined: 24 Sep 2004
Posts: 32

PostPosted: Thu Apr 07, 2005 1:39 pm    Post subject: Reply with quote

hi mouser, thanks for dropping this note.

your Find&Run rebot is very extensive, with lotsa options. keep up the nice work... Smile
Back to top
View user's profile Send private message
JFierce7
Guest





PostPosted: Mon Aug 15, 2005 1:23 pm    Post subject: Reply with quote

Hi,
just found this rather old thread -

Chris wrote:
Quote:
The CharToOem function translates a string into the OEM-defined character set. The OemToChar function translates a string from the OEM-defined character set into either an ANSI or a wide-character string.

These functions can be added if anyone can demonstrate a scripting use for them.

This may be useful to translate a file buffer from DOS to Windows...
Back to top
Babis



Joined: 08 Dec 2005
Posts: 45

PostPosted: Mon Jan 09, 2006 8:36 am    Post subject: Reply with quote

I am using Phi’s “Seek” and I am wondering if I can seek and in my Documents also, in the same way I seek the start menu programs. Thanks.

Edit after couple of hours:
Nevermind, I am testing mph320 now, which scans all documents.
Back to top
View user's profile Send private message
Micha



Joined: 15 Nov 2005
Posts: 440
Location: Germany

PostPosted: Thu Feb 09, 2006 7:00 am    Post subject: Reply with quote

Hi,
I had a wish: Replacing the editcontrol with a combo where you can choose the last entered expressions.
After a second I decided to change it by myself. Here are the changes:

Add the last line
Code:
; Specify the filename and directory location to save
; the cached key word/phrase of last search. There is
; no need to change this unless you want to.
keyPhrase = %tmp%\_Seek.key
RecentFileListCount = 9

change
Code:
   NewKeyPhrase = %PrevKeyPhrase%
   NewOpenTarget = %PrevOpenTarget%

   ; ADD THE TEXT BOX FOR USER TO ENTER THE QUERY STRING
   Gui, 1:Add, Edit, vFilename W600, %NewKeyPhrase%

   ; ADD MY FAV TAGLINE

to
Code:
   NewKeyPhrase = %PrevKeyPhrase%
    OldSavedKeyPhrase = %NewKeyPhrase%
   NewOpenTarget = %PrevOpenTarget%

   ; ADD THE TEXT BOX FOR USER TO ENTER THE QUERY STRING
   Gui, 1:Add, ComboBox, vFilename W600, %NewKeyPhrase%

   ; ADD MY FAV TAGLINE



-----------------

change:
Code:
; SAVE THE KEY WORD/PHRASE FOR NEXT RUN IF IT HAS CHANGED
If TrackKeyPhrase = ON
{
   If (PrevKeyPhrase <> Filename || PrevOpenTarget <> OpenTarget)
   {
      FileDelete, %keyPhrase%
      FileAppend, %Filename%`n, %keyPhrase%
      FileAppend, %OpenTarget%`n, %keyPhrase%
   }

to

Code:
; SAVE THE KEY WORD/PHRASE FOR NEXT RUN IF IT HAS CHANGED
If TrackKeyPhrase = ON
{   
   Filenamenew:=RemoveOldEntries(Filename, OldSavedKeyPhrase)
   If (PrevKeyPhrase <> Filenamenew || PrevOpenTarget <> OpenTarget)
   {
      FileDelete, %keyPhrase%     
      FileAppend, %Filenamenew%`n, %keyPhrase%
      FileAppend, %OpenTarget%`n, %keyPhrase%
   }
}


--------------
Add a new function
Code:
; === BEGIN RemoveOldEntries ========================
RemoveOldEntries(Filename, OldSavedKeyPhrase)
{      
   global RecentFileListCount
   NewSavedKeyPhrase=
   ;Count the number of elements
   nCounter = 1
   Loop, parse, OldSavedKeyPhrase, |
   {
      IfGreaterOrEqual, nCounter, %RecentFileListCount%
      {         
         break
      }
      ;no duplicate entries
      ifequal, filename, %A_LoopField%
      {
         continue
      }      
      NewSavedKeyPhrase=%NewSavedKeyPhrase%|%A_LoopField%
      nCounter +=1
   }
   StringLeft, FirstChar, NewSavedKeyPhrase, 1
   ifnotequal, FirstChar, |
   {      
      NewSavedKeyPhrase=|%NewSavedKeyPhrase%
   }
   Filename:=Filename . NewSavedKeyPhrase   
   return %Filename%
}
return
;... END RemoveOldEntries.............................


Ciao
Micha
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group