Search found 296 matches

by Tomer
24 Mar 2020, 07:25
Forum: AutoHotkey_H
Topic: [Info] MD vs MT && Unicode vs ANSI
Replies: 2
Views: 672

Re: [Info] MD vs MT && Unicode vs ANSI

Thanks for the info!
by Tomer
05 Mar 2020, 16:41
Forum: Forum Issues
Topic: Slow forum
Replies: 88
Views: 6804

Re: Slow forum

joedf wrote:
29 Feb 2020, 23:19
I FIXED IT!!!!!!!!!!!!!!!!! :DDDD
:dance:

THANK YOU :superhappy:
by Tomer
29 Feb 2020, 20:03
Forum: Ask For Help
Topic: Help with reading csv files
Replies: 7
Views: 426

Re: Help with reading csv files

I agree with @boiler. Also, although TF has some powerful capabilities, I do not think it is needed here (Excel is not needed either, but I already made that point). Here is a more generic form: fileread, oVar1, C:\Users\tjall\Scripts\test1.csv fileread, oVar2, C:\Users\tjall\Scripts\test2.csv ; fi...
by Tomer
29 Feb 2020, 20:02
Forum: Ask For Help
Topic: Help with reading csv files
Replies: 7
Views: 426

Re: Help with reading csv files

The approach shown has nothing to do with what the values are. Put anything you want in the files and it will work. Just because the name of the array is OU doesn’t mean the values have to be OU. Change the name of the array to Value if you want. True! Tested it and it works like a charm! Thanks!
by Tomer
27 Feb 2020, 02:46
Forum: Ask For Help
Topic: Help with reading csv files
Replies: 7
Views: 426

Re: Help with reading csv files

Thank you both. but the values such as "OU" are just for sample, original the csv file have other values. i trying using https://github.com/hi5/TF lib and it seems to wroks good, if you have better method share it please :) #Include tf.ahk Loop, Read, d:\users.csv { User := StrSplit(A_LoopReadLine, ...
by Tomer
26 Feb 2020, 07:53
Forum: Ask For Help
Topic: Help with reading csv files
Replies: 7
Views: 426

Help with reading csv files

i have 2 cvs files: 1st file called: "Users_and_OU.csv" and contains the following: USER1,OU=1 USER2,OU=2 USER3,OU=3 USER4,OU=4 USER5,OU=5 2nd file called: "Users.csv" and contains the following: USER1 USER2 USER3 USER4 USER5 i want get the OU number from 1st file depending on what I'm looking for i...
by Tomer
23 Jan 2020, 02:55
Forum: Ask For Help
Topic: help with calculate size
Replies: 4
Views: 267

Re: help with calculate size

Thank you both Pepineros & Chunjee

i tested Pepineros's script and i like it since its very simple and doing the job just fine.

i didnt check out Chunjee's script yet - couldnt download biga.ahk file
by Tomer
22 Jan 2020, 09:59
Forum: Ask For Help
Topic: help with calculate size
Replies: 4
Views: 267

help with calculate size

how can i make this script really work?
so i get "no" instead "yes" since 50mb smaller than 1gb

Code: Select all

x = 1gb
y = 50mb

if (y > x)
	MsgBox, yes
else
	MsgBox, no
by Tomer
11 Dec 2019, 03:26
Forum: Ask For Help
Topic: read only the second column from CSV file Topic is solved
Replies: 11
Views: 714

Re: read only the second column from CSV file Topic is solved

... but i'd perfer hoppfrosch's method since its reads ALL the row ... Don't use FileReadLine in this case. If you want to read the lines of a file one by one use: Loop, Read, yourcsvfile.csv { Column2 := StrSplit(A_LoopReadLine, ",").2 MsgBox, 0, Line %A_Index%, Column 2: %Column2% } thanks just m...
by Tomer
10 Dec 2019, 08:24
Forum: Ask For Help
Topic: read only the second column from CSV file Topic is solved
Replies: 11
Views: 714

Re: read only the second column from CSV file Topic is solved

tnx guys!!! :bravo:
all methods works good but i'd perfer hoppfrosch's method since its reads ALL the rows in the column
by Tomer
10 Dec 2019, 06:00
Forum: Ask For Help
Topic: read only the second column from CSV file Topic is solved
Replies: 11
Views: 714

Re: read only the second row from CSV file Topic is solved

AHKStudent wrote:
10 Dec 2019, 05:41

Code: Select all

FileReadLine, LineNum, yourcsvfile.csv, 2
MsgBox % LineNum
ExitApp
thanks,
but not that simple.
my bad, i meant reading only the 2nd column

thanks!
by Tomer
10 Dec 2019, 05:09
Forum: Ask For Help
Topic: read only the second column from CSV file Topic is solved
Replies: 11
Views: 714

read only the second column from CSV file Topic is solved

hello,

i need help with a csv file which have 2 columns,
i want to read in loop only the 2nd column.

thanks in adavcne!
by Tomer
21 May 2019, 01:02
Forum: Scripts and Functions
Topic: [Game] Bulldozer
Replies: 112
Views: 20487

Re: [Game] Bulldozer

wow!
by Tomer
20 May 2019, 07:16
Forum: Ask For Help
Topic: [H] what is /MT? Topic is solved
Replies: 22
Views: 5692

Re: [H] what is /MT? Topic is solved

That never happened to me. Where did you get the dll from? Did you download it from those weird "download missing dlls" sites? Also when this happens, can you calculate the hash of both (the one you use as original and the copy you distributed)? If they are not different then there is a bug in ahk_...
by Tomer
20 May 2019, 02:03
Forum: Ask For Help
Topic: [H] what is /MT? Topic is solved
Replies: 22
Views: 5692

Re: [H] what is /MT? Topic is solved

Why can't you save the vcruntime140.dll in the same folder where AHK_H.exe is? That is all you need to use MD version. the vcruntime140.dll saved in the same folder where the AHK_H.exe is, but It does not help in all cases. In many cases its popup an error msg that "api-ms-win-crt-runtime-l1-1-0.dl...
by Tomer
19 May 2019, 09:53
Forum: Ask For Help
Topic: [H] what is /MT? Topic is solved
Replies: 22
Views: 5692

Re: [H] what is /MT? Topic is solved

well, i'd rather use the MT version in my organisation cause many computers dont have vc_redist or have problem with it,
and therefore its causes scripts (complex programs) not to work at all.

but im afraid it will cause memory leaks and crashing...

dilemma...
by Tomer
07 May 2019, 01:43
Forum: Ask For Help
Topic: How to count loop and click OK with ENTER button
Replies: 2
Views: 483

Re: How to count loop and click OK with ENTER button

untested SetTimer, Label, on loop, { n := Format("{:02}", A_Index) MsgBox,,popupmsg, %n% if (A_Index = 4) { break } SetKeyDelay, -1 sleep 500 run, cmd.exe Sleep 1000 Send, adb root Sleep 500 Send {enter} Sleep 1500 Send {enter} Send, adb remount Sleep 500 Send {enter} Sleep 1500 Send {enter} } Label...

Go to advanced search