Search found 11 matches

by panofish
04 Nov 2013, 15:12
Forum: Ask for Help (v1)
Topic: associative array count?
Replies: 9
Views: 6174

Re: associative array count?

Thanks jethrow... much appreciated. :)
by panofish
04 Nov 2013, 15:06
Forum: Ask for Help (v1)
Topic: associative array count?
Replies: 9
Views: 6174

Re: associative array count?

jethrow wrote:Store the last A_Index of an enumeration (for-loop).
I was hoping to avoid that. :)
Any other suggestions?
by panofish
04 Nov 2013, 14:59
Forum: Ask for Help (v1)
Topic: associative array count?
Replies: 9
Views: 6174

associative array count?

I am using autohotkey_L and I have an associative array where I have created 2 key/value pairs like this: hash := object() ; associative hash hash["alan"] := 1 hash["tom"] := 1 Is there a method or something so that I get the count of values in the associative array? In the above example I expect 2....
by panofish
12 Oct 2013, 15:15
Forum: Ask for Help (v1)
Topic: How to detect file is binary or ascii?
Replies: 22
Views: 13301

Re: How to detect file is binary or ascii?

Holy Smokes Joe ... your a freakin genius!!! WELL DONE SIR!
by panofish
07 Oct 2013, 16:49
Forum: Ask for Help (v1)
Topic: How to detect file is binary or ascii?
Replies: 22
Views: 13301

Re: How to detect file is binary or ascii?

Sorry about that joedf. You are correct. What you created works great for what I need. I just thought I'd point that out for anyone else that may need this. THANKS!
by panofish
07 Oct 2013, 16:07
Forum: Ask for Help (v1)
Topic: How to detect file is binary or ascii?
Replies: 22
Views: 13301

Re: How to detect file is binary or ascii?

If the ascii file is not encoded as ANSI, such as UCS-2 Big Endian... then it isBinFile will show Binary because of the 0 bytes.
by panofish
04 Oct 2013, 20:47
Forum: Forum Issues
Topic: Just a thought
Replies: 8
Views: 5187

Re: Just a thought

Alibaba wrote:What about sending a simple pm to each user?
If only we had a programming language that could be used to automate such a thing :)
Maybe someone has some free time, but clearly we need a way to send out a notice to as many as possible.
by panofish
04 Oct 2013, 13:21
Forum: Ask for Help (v1)
Topic: How to detect file is binary or ascii?
Replies: 22
Views: 13301

Re: How to detect file is binary or ascii?

Here is what I have currently. It appears to work well, but may not be efficient. However, in my case it is plenty fast enough. folder = c:\temp recurse = 1 ; 0 = no recursion, 1 = recursion Loop, %folder%\*,, %recurse% { FileRead, recs, %A_LoopFileLongPath% numeric= 1,2,3,4,5,6,7,8,9,. if recs not ...
by panofish
04 Oct 2013, 11:53
Forum: Forum Issues
Topic: Just a thought
Replies: 8
Views: 5187

Re: Just a thought

tank wrote:If you have a way to collect said Email addresses i would love to hear it.
unfortunately they are all in the DB and Poly isnt sharing
I figured as much, but thought it was worth asking.
by panofish
04 Oct 2013, 09:43
Forum: Forum Issues
Topic: Just a thought
Replies: 8
Views: 5187

Just a thought

I don't know if this is even possible, but has anyone tried to get many of the email addresses from the old forum so that we could send out a simple broadcast email stating the new auto-hotkey.com site and that interested users should go here and register? Or perhaps there is a better way to let eve...
by panofish
04 Oct 2013, 09:27
Forum: Ask for Help (v1)
Topic: How to detect file is binary or ascii?
Replies: 22
Views: 13301

How to detect file is binary or ascii?

What is the best way to determine if a file is binary or ascii?
Preferably a fast and simple technique that is not dependent on file extension.
I need to process many files.

Thanks

Go to advanced search