AutoHotkey Community

It is currently May 27th, 2012, 10:49 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 356 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 24  Next
Author Message
 Post subject:
PostPosted: April 23rd, 2005, 10:31 pm 
Offline

Joined: September 24th, 2004, 3:00 pm
Posts: 814
Location: Germany
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 24th, 2005, 10:27 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
@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!

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2005, 12:36 pm 
Offline

Joined: September 24th, 2004, 3:00 pm
Posts: 814
Location: Germany
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 28th, 2005, 9:44 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
@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!

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2005, 11:04 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
i've made some fixes & updates to the script lately, for which i forgot to post here... if u use this script, please update.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2005, 4:08 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2005, 4:56 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2005, 6:22 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2005, 7:22 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
can u please post the text from script's tray window of last executed lines?

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2005, 7:35 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
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)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2005, 9:04 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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!

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2005, 10:48 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
They helped. Thx!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2005, 5:49 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
Laszlo wrote:
They helped. Thx!

great! :)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 13th, 2005, 10:09 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 14th, 2005, 9:01 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
Wow! The wind took my hat… How did you do that?


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 35 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