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 

Search found 265 matches
AutoHotkey Community Forum Index
Author Message
  Topic: [Solved] sorting
hd0202

Replies: 11
Views: 159

PostForum: Ask for Help   Posted: Thu Feb 09, 2012 3:18 pm   Subject: [Solved] sorting
Sorry, there got one character lost.
list =
(
C:\Temp\file1.txt\8
C:\Temp\file1.txt\08
C:\Temp\file2.txt\12
C:\Temp\file2.txt\1
C:\Temp\file1.txt\85
C:\Temp\file2.t ...
  Topic: [Solved] sorting
hd0202

Replies: 11
Views: 159

PostForum: Ask for Help   Posted: Thu Feb 09, 2012 12:56 pm   Subject: [Solved] sorting
Try this, I hope it contains all your above mentioned needs
list =
(
C:\Temp\file1.txt\8
C:\Temp\file1.txt\08
C:\Temp\file2.txt\12
C:\Temp\file2.txt\1
C:\Temp\file1.txt\ ...
  Topic: Custom Sorting Function
hd0202

Replies: 5
Views: 80

PostForum: Ask for Help   Posted: Thu Feb 02, 2012 3:37 pm   Subject: Custom Sorting Function
If there can be more than 2 decimal digits:
MyVar = 2.3 1.5 1.13 1.1 1.12
Sort, MyVar, fspec D %A_Space%
MsgBox %MyVar%
spec(a1,a2)
{
stringsplit, x, a1, .
stringsplit, y, a2, .
...
  Topic: Build Excel column. Use AHK for this?
hd0202

Replies: 23
Views: 493

PostForum: Ask for Help   Posted: Wed Feb 01, 2012 10:09 am   Subject: Build Excel column. Use AHK for this?
And make a var for D and update this with 1 every time the value in B changes?Yes.

Hubert
  Topic: Build Excel column. Use AHK for this?
hd0202

Replies: 23
Views: 493

PostForum: Ask for Help   Posted: Wed Feb 01, 2012 9:37 am   Subject: Re: Build Excel column. Use AHK for this?
I would create a csv file in AHK and load it into excel.

Hubert
  Topic: Really strange, but very simple case...
hd0202

Replies: 5
Views: 118

PostForum: Ask for Help   Posted: Wed Jan 25, 2012 5:16 am   Subject: Re: Really strange, but very simple case...
rand := rand-0.2 //Should be ZERO on a first run, correct?
In your code the variable rand gets the string "rand-0.2", you must use an expression

Hubert
  Topic: Need Help
hd0202

Replies: 5
Views: 126

PostForum: Ask for Help   Posted: Tue Jan 24, 2012 4:52 am   Subject: Re: Need Help
look for: Loop (files & folders)

Hubert
  Topic: treeview listview
hd0202

Replies: 4
Views: 98

PostForum: Ask for Help   Posted: Fri Jan 20, 2012 6:39 am   Subject: Re: help
TV_Add(Name,
ParentItemID is the ID number of the new item's parent (omit it or specify 0 to add the item at the top level)

Hubert
  Topic: invalid character
hd0202

Replies: 18
Views: 290

PostForum: Ask for Help   Posted: Thu Jan 19, 2012 5:51 am   Subject: Re: ahh
The anwser is in your new thread "treeview statement" and in the treeview-documentation "Getting Data Out of the TreeView" and in the long example there

Hubert
  Topic: invalid character
hd0202

Replies: 18
Views: 290

PostForum: Ask for Help   Posted: Wed Jan 18, 2012 11:29 am   Subject: Re: hmm
have a look at my changes in red:
LastUnit := "Feet"
SetFormat, float, 0.2

gui, 1:add, text,w250, What is the Length?
gui, 1:add, edit, vsfl
gui, 1:add, text,, What is ...
  Topic: Need Help on Binary RawRead and RawWrite
hd0202

Replies: 14
Views: 349

PostForum: Ask for Help   Posted: Mon Jan 16, 2012 12:55 pm   Subject: Need Help on Binary RawRead and RawWrite
change your last read/write, the one after the loop, to:
LNK.Seek(iniPtr)
lengthRead := LNK.RawRead(thisData, totBytesInBlock)
LNKo.RawWrite(thisData, lengthRead)

(So ...
  Topic: Need Help on Binary RawRead and RawWrite
hd0202

Replies: 14
Views: 349

PostForum: Ask for Help   Posted: Sun Jan 15, 2012 3:44 pm   Subject: Need Help on Binary RawRead and RawWrite
maxlen from filread is 446933

15 records with 27994 + 1 record with 27059 is 446969

the difference is 36

your iput file is incomplete Exclamation

Hubert
  Topic: Need Help on Binary RawRead and RawWrite
hd0202

Replies: 14
Views: 349

PostForum: Ask for Help   Posted: Sun Jan 15, 2012 2:39 pm   Subject: Need Help on Binary RawRead and RawWrite

Hi Odlanir, without the data I had no chance for testing. Now I found one correction:; adding this line before your gosub
LNK.Seek(iniPtr)
LNK.RawRead(thisData, totBytesInBlock)
; ...
  Topic: Need Help on Binary RawRead and RawWrite
hd0202

Replies: 14
Views: 349

PostForum: Ask for Help   Posted: Sun Jan 15, 2012 11:58 am   Subject: Need Help on Binary RawRead and RawWrite
I still don't understand why NumPut(27998,block) gave 5E6D instead of 6D5E.
As Lexikos explanied. it is the difference between big endian integers and little endian integers.

Have a look at my pro ...
  Topic: (SOLVED) Compare numbers as literal strings, not math?
hd0202

Replies: 7
Views: 138

PostForum: Ask for Help   Posted: Fri Jan 13, 2012 10:55 am   Subject: (SOLVED) Compare numbers as literal strings, not math?
@Guest: your example is not correct, try with Var2=001
Var1=001
Var2=1
If (" " var1 = " " var2)
MsgBox Same
Else
MsgBox Not
Hubert
 
Page 1 of 18 Goto page 1, 2, 3 ... 16, 17, 18  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group