Search found 14 matches

by Builder
11 May 2018, 01:38
Forum: Ask for Help (v1)
Topic: Determine valid file extensions
Replies: 3
Views: 1024

Re: Determine valid file extensions

Thanks for the help..
I am sorry it took me so long to respond... I have not been well, so I have not been at the computer in a while.
by Builder
29 Apr 2018, 21:48
Forum: Ask for Help (v1)
Topic: Determine valid file extensions
Replies: 3
Views: 1024

Determine valid file extensions

I have a list of file names in a text file. Since the files come from multiple sources including the internet, some have valid extensions, some do not. The question is... How do I check if a file extension is valid? At first glance, I thought that if SplitPath provided a 3 character extension, chanc...
by Builder
18 Jan 2018, 19:49
Forum: Ask for Help (v1)
Topic: file loop listing the same files twice (identify redirected folders)
Replies: 3
Views: 1261

Re: file loop listing the same files twice (identify redirected folders)

I tried your function... Perhaps because it was inside a nested file loop, it got stuck. Apparently there was an issue with the while InStr. I am uncertain of what the loop in your function was for, and I was equally uncertain of what the SplitPath was for, so I did some trimmng. The result I arrive...
by Builder
18 Jan 2018, 14:59
Forum: Ask for Help (v1)
Topic: Possible A_LoopFileLongPath bug
Replies: 14
Views: 4002

Re: Possible A_LoopFileLongPath bug

@Noesis: Thank you very much for that! Since jeeswg asked it there was a way around this problem, I have been playing with trying to use the command prompt to identify the links, (which it can do) and use that information to influence the loop. Your solution is far superior! I know that dll's have b...
by Builder
17 Jan 2018, 12:51
Forum: Ask for Help (v1)
Topic: Possible A_LoopFileLongPath bug
Replies: 14
Views: 4002

Re: Possible A_LoopFileLongPath bug

@just me....
That is very interesting. Thanks for the information.
by Builder
17 Jan 2018, 03:23
Forum: Ask for Help (v1)
Topic: Possible A_LoopFileLongPath bug
Replies: 14
Views: 4002

Re: Possible A_LoopFileLongPath bug

I am not sure if there is a way to exclude the links (the name of the alternative references to the same file/folder) directly. However, it does not effect me personally much because I don't cycle through an entire drive as I have done for the demonstration purpose here very often. One thing that I ...
by Builder
16 Jan 2018, 19:31
Forum: Ask for Help (v1)
Topic: Possible A_LoopFileLongPath bug
Replies: 14
Views: 4002

Re: Possible A_LoopFileLongPath bug

Well, I have no idea how the functions are implemented, so I can't say what conversions are being made behind the scenes. However, a quick and dirty test (ie, not a specifically controlled enviroment for testing) suggests that other variables, ie. FileSize and Date are equally as quick as the A_Loop...
by Builder
16 Jan 2018, 18:43
Forum: Ask for Help (v1)
Topic: Possible A_LoopFileLongPath bug
Replies: 14
Views: 4002

Possible A_LoopFileLongPath bug

I will ask in advance for forgiveness if this is not actually a bug, and should have been put elsewhere.... I was really unsure where to put it. Apparently, the use of A_LoopFileLongPath in File Loops is Orders of Magnitude slower than using other File Loop variables... Here is the test code I used,...
by Builder
13 May 2014, 10:49
Forum: Scripts and Functions (v1)
Topic: A collection of small ahk functions
Replies: 78
Views: 58547

Re: A collection of small ahk functions

Doh!

I forgot to paste the actual code... Corrected with edit

Yes, it uses the format time function...

This just makes it easier to use in an expression...
by Builder
13 May 2014, 09:29
Forum: Scripts and Functions (v1)
Topic: A collection of small ahk functions
Replies: 78
Views: 58547

Re: A collection of small ahk functions

YMD(Date)

Converts a date from YYYYMMDDHH24MISS to YYYY-MM-DD

If Date is left blank, it converts the current date

ex... x=YMD()

if A_Now is 20140513092817 then the value of x as a string is 2014-05-13

YMD(DDate:="")
{
FormatTime, YMD, %DDate%, yyyy-MM-dd
return (YMD)
}
by Builder
21 Apr 2014, 14:17
Forum: Gaming Help (v1)
Topic: AHK Scripting in War of the Roses (The F Keys)
Replies: 6
Views: 5466

Re: AHK Scripting in War of the Roses (The F Keys)

The above doc will tell you precisely how to set up a F hotkey... after that, setting up the action is the same as with any other hotkey.
by Builder
20 Apr 2014, 13:41
Forum: Ask for Help (v1)
Topic: AHK File Search Question
Replies: 5
Views: 2034

Re: AHK File Search Question

Hi Wan...

I just emptied C:\Windows\Prefetch\ (the only prefetch I could find on C) and it had no effect.
by Builder
20 Apr 2014, 12:18
Forum: Gaming Help (v1)
Topic: AHK Scripting in War of the Roses (The F Keys)
Replies: 6
Views: 5466

Re: AHK Scripting in War of the Roses (The F Keys)

As near as I can tell, the F-keys are just another key as far as AHK is concerned.

http://ahkscript.org/docs/commands/Send.htm
by Builder
20 Apr 2014, 11:36
Forum: Ask for Help (v1)
Topic: AHK File Search Question
Replies: 5
Views: 2034

Re: AHK File Search Question

Thanks

Go to advanced search