 |
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 |
mouser Guest
|
Posted: Thu Apr 07, 2005 9:52 am Post subject: hello |
|
|
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
|
Posted: Thu Apr 07, 2005 1:39 pm Post subject: |
|
|
hi mouser, thanks for dropping this note.
your Find&Run rebot is very extensive, with lotsa options. keep up the nice work...  |
|
| Back to top |
|
 |
JFierce7 Guest
|
Posted: Mon Aug 15, 2005 1:23 pm Post subject: |
|
|
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
|
Posted: Mon Jan 09, 2006 8:36 am Post subject: |
|
|
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 |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 440 Location: Germany
|
Posted: Thu Feb 09, 2006 7:00 am Post subject: |
|
|
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 |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|