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 

nDroid (formerly 320MPH) Ultra Fast Anything-Launcher
Goto page Previous  1, 2, 3, 4, 5 ... 17, 18, 19  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Tekl



Joined: 24 Sep 2004
Posts: 813
Location: Germany

PostPosted: Sat Apr 23, 2005 9:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sun Apr 24, 2005 9:27 am    Post subject: Reply with quote

@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
View user's profile Send private message
Tekl



Joined: 24 Sep 2004
Posts: 813
Location: Germany

PostPosted: Wed Apr 27, 2005 11:36 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Thu Apr 28, 2005 8:44 am    Post subject: Reply with quote

@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
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sat May 14, 2005 10:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4078
Location: Pittsburgh

PostPosted: Sat May 14, 2005 3:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sat May 14, 2005 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4078
Location: Pittsburgh

PostPosted: Sat May 14, 2005 5:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sat May 14, 2005 6:22 pm    Post subject: Reply with quote

can u please post the text from script's tray window of last executed lines?
_________________
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4078
Location: Pittsburgh

PostPosted: Sat May 14, 2005 6:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sat May 14, 2005 8:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4078
Location: Pittsburgh

PostPosted: Sat May 14, 2005 9:48 pm    Post subject: Reply with quote

They helped. Thx!
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sun May 15, 2005 4:49 am    Post subject: Reply with quote

Laszlo wrote:
They helped. Thx!

great! Smile
_________________
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Mon Jun 13, 2005 9:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4078
Location: Pittsburgh

PostPosted: Tue Jun 14, 2005 8:01 pm    Post subject: Reply with quote

Wow! The wind took my hat… How did you do that?
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 ... 17, 18, 19  Next
Page 4 of 19

 
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