 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Tekl
Joined: 24 Sep 2004 Posts: 813 Location: Germany
|
Posted: Sat Apr 23, 2005 9:31 pm Post subject: |
|
|
Hi Rajat,
I just want to inform you, that the problem with umlauts/ansi/ascii and the dir-command can be solved with this:
mode con cp select=1252 && dir /b ...
The mode-command sets the codepage to the standard windows-codepage.
Tekl |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Sun Apr 24, 2005 9:27 am Post subject: |
|
|
@Tekl
is the problem still there, as i've already replaced the earlier method by an all ahk method?
if it is, then how do i solve it in the script using mode cmd? i need noobish directions here coz i've neither faced this problem, nor can i test it on my system.
thanx a lot for taking time out to solve the problem! _________________
 |
|
| Back to top |
|
 |
Tekl
Joined: 24 Sep 2004 Posts: 813 Location: Germany
|
Posted: Wed Apr 27, 2005 11:36 am Post subject: |
|
|
Hi Rajat,
no, the Problem isn't there anymore, but I thougt you want to go back to the dir-method.
You can use the mode-command like this:
Run, cmd.exe /c mode con cp select=1252 && dir /b /s C:\*.* > C:\tree.dir
Tekl |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Thu Apr 28, 2005 8:44 am Post subject: |
|
|
@Tekl
though the dir method is inerently fast, the 'write file+read it and filter+write new file' procedure makes it take longer. so i'll go on with current method. but i'll remember your tip for future. thanx! _________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Sat May 14, 2005 10:04 am Post subject: |
|
|
i've made some fixes & updates to the script lately, for which i forgot to post here... if u use this script, please update. _________________
 |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4078 Location: Pittsburgh
|
Posted: Sat May 14, 2005 3:08 pm Post subject: |
|
|
I downloaded the script today again. Something is wrong. I press the scan button, and nothing seems to happen for a long time, but the 2 tool tip boxes remain always on top (so I cannot go to another window to do some work). But pressing the open button, while scanning, still runs a program.
And for convenience, could you add a Close button or the [x] in the upper right corner, so if I change my mind running something, I don’t have to go back to the keyboard to press ESC. |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Sat May 14, 2005 3:56 pm Post subject: |
|
|
| Laszlo wrote: | I downloaded the script today again. Something is wrong. I press the scan button, and nothing seems to happen for a long time, but the 2 tool tip boxes remain always on top (so I cannot go to another window to do some work). But pressing the open button, while scanning, still runs a program.
And for convenience, could you add a Close button or the [x] in the upper right corner, so if I change my mind running something, I don’t have to go back to the keyboard to press ESC. |
it works fine for me... have u edited the PathList as per your system?
and for getting the x button, just comment this line out:
Gui, -Caption +Border _________________
 |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4078 Location: Pittsburgh
|
Posted: Sat May 14, 2005 5:22 pm Post subject: |
|
|
Yes, I edited the pathlist, it has no reference to the e: drive. Still, the scan tooltip remains on screen.
I did not mean to add back the whole title bar, just an [x] button next to the [Scan]. But I can do it myself, if I was not that lazy... |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Sat May 14, 2005 6:22 pm Post subject: |
|
|
can u please post the text from script's tray window of last executed lines? _________________
 |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4078 Location: Pittsburgh
|
Posted: Sat May 14, 2005 6:35 pm Post subject: |
|
|
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (0.03)
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (0.03)
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (0.03)
160: if A_TimeIdlePhysical < 100
162: ControlGetText,CurrText,Edit1,%MainWnd%
163: if CurrText = %LastText%
163: Return
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (0.03)
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (0.03)
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (0.03)
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (0.03)
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (0.03)
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (0.03)
160: if A_TimeIdlePhysical < 100
162: ControlGetText,CurrText,Edit1,%MainWnd%
163: if CurrText = %LastText%
163: Return
325: }
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
305: Continue
301: {
302: SplitPath,A_LoopFileFullPath,FName,FDir,FExt,FNameNoExt,FDrive
305: IfNotInString,TypeList,%FExt%
308: Cont = 0
309: Loop,Parse,ExcludeList,|
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
310: {
311: IfInString,FName,%A_LoopField%
316: }
318: if Cont = 1
324: FileAppend,%A_LoopFileFullPath%
,%A_ScriptDir%\Runlist.txt (2.58) |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Sat May 14, 2005 8:04 pm Post subject: |
|
|
i can't figure out why the script's stuck there, on your system...i've made a couple of changes but i'm not sure if they'll help...do check though ...thanx! _________________
 |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4078 Location: Pittsburgh
|
Posted: Sat May 14, 2005 9:48 pm Post subject: |
|
|
| They helped. Thx! |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Sun May 15, 2005 4:49 am Post subject: |
|
|
| Laszlo wrote: | | They helped. Thx! |
great!  _________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Mon Jun 13, 2005 9:09 am Post subject: |
|
|
Major Update:
- Searching is atleast 4 times faster than earlier! u'll notice the difference when thousands of files (like mp3s) are concerned.
- WaitTime setting means ms to wait before starting search.
- SmartSearch is hard-coded, not optional. _________________
 |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4078 Location: Pittsburgh
|
Posted: Tue Jun 14, 2005 8:01 pm Post subject: |
|
|
| Wow! The wind took my hat… How did you do that? |
|
| 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
|