Search found 194 matches

by alesyt0h
11 Apr 2019, 16:44
Forum: Ask For Help
Topic: Multiple GUI ?
Replies: 4
Views: 685

Re: Multiple GUI ?

Loop 10 { Gui, % A_Index ": Add", Button, w100, % A_Index Gui, % A_Index ": Show", % "x" A_Index * 70 " y" A_Index * 70 } MMM yes and no, I mean, it does replicate the gui 10 times because of the loop, but it's only working there, when I try to make it work in my script I cannot :( been trying for ...
by alesyt0h
11 Apr 2019, 11:44
Forum: Ask For Help
Topic: Multiple GUI ?
Replies: 4
Views: 685

Multiple GUI ?

Hello folks. I have an script for showing a gui depends on a variable number, if var value is 1 then show only that if statement, but if value is 2, show 1 & 2 if statement, if value is 3, then show 1, 2 & 3 statements. Problem is only showing 1 gui no matter what I try, always showing one gui. Here...
by alesyt0h
09 Apr 2019, 05:08
Forum: Ask For Help
Topic: Resolve flickering gui attached to a window
Replies: 4
Views: 857

Resolve flickering gui attached to a window

Hello I have this script SetBatchLines -1 SetWinDelay,0 WinWaitActive, Documentos WinGetActiveStats,Title, Width,Height,X,Y Gui,+AlwaysOnTop +ToolWindow -Caption Gui, Add,Picture,x1 y1 w32 h32,C:\Users\alesyt0h\Downloads\ExampleImage.jpg Gui, Show,% "x" X + Width - 145 "." "y" Y + Height - 35 "." "w...
by alesyt0h
30 Jan 2019, 06:02
Forum: Ask For Help
Topic: Block certain hotkey inside windows remote desktop?
Replies: 12
Views: 1811

Re: Block certain hotkey inside windows remote desktop?

disable all of this hotkeys in main PC? if remote is active? yourHotkey:: ; do nothing return Nope, that's what my script that I've tried is doing with LCtrl, it has to be that key. And as I said, it works to not fire the "program" in the RDP Session, but then it blocks the use of that key in every...
by alesyt0h
30 Jan 2019, 05:28
Forum: Ask For Help
Topic: Block certain hotkey inside windows remote desktop?
Replies: 12
Views: 1811

Re: Block certain hotkey inside windows remote desktop?

disable all of this hotkeys in main PC? if remote is active? yourHotkey:: ; do nothing return Nope, that's what my script that I've tried is doing with LCtrl, it has to be that key. And as I said, it works to not fire the "program" in the RDP Session, but then it blocks the use of that key in every...
by alesyt0h
30 Jan 2019, 04:34
Forum: Ask For Help
Topic: Block certain hotkey inside windows remote desktop?
Replies: 12
Views: 1811

Re: Block certain hotkey inside windows remote desktop?

Yes, that is the problem. I have the same program in both computers and the hotkey fires both, I tried with something like #IfWinActive ahk_class TscShellContainerClass LCtrl:: Return Is working to not fire the program in the main computer, but then the control key is obsolete in the RDP Session an...
by alesyt0h
29 Jan 2019, 21:24
Forum: Ask For Help
Topic: Block certain hotkey inside windows remote desktop?
Replies: 12
Views: 1811

Re: Block certain hotkey inside windows remote desktop?

Yes, that is the problem. I have the same program in both computers and the hotkey fires both, I tried with something like #IfWinActive ahk_class TscShellContainerClass LCtrl:: Return Is working to not fire the program in the main computer, but then the control key is obsolete in the RDP Session and...
by alesyt0h
24 Jan 2019, 18:12
Forum: Ask For Help
Topic: Block certain hotkey inside windows remote desktop?
Replies: 12
Views: 1811

Re: Block certain hotkey inside windows remote desktop?

dont think that will work :/ A_ComputerName will get the name of my computer which is running the script.
by alesyt0h
24 Jan 2019, 12:17
Forum: Ask For Help
Topic: Block certain hotkey inside windows remote desktop?
Replies: 12
Views: 1811

Block certain hotkey inside windows remote desktop?

Hello guys. I have a program which is Listar in my computers, it's a program of easy search through the files you have in your computer, for fast access, there's a hotkey in the program which is pressing twice the control key for a popup search bar. The problem is when I fire that hotkey while I'm i...
by alesyt0h
03 Jul 2018, 01:47
Forum: Ask For Help
Topic: Remove both duplicates from a text file
Replies: 6
Views: 1298

Re: Remove both duplicates from a text file

- AFAIK the script does what you want, it keeps any line (case sensitive) that only appears once. - If you can clarify your requirements and/or give a small example of input text where my script gives the incorrect output, then I can look at editing the script. You're right! I just checked and the ...
by alesyt0h
02 Jul 2018, 17:18
Forum: Ask For Help
Topic: Remove both duplicates from a text file
Replies: 6
Views: 1298

Re: Remove both duplicates from a text file

- What length are the lines (in characters)? How big are the files (in megabytes)? - Other points are: is it OK to sort the lines alphabetically (or must the order be maintained), and, would you ever get two lines that are identical (case insensitive), but non-identical (case sensitive). - A simple...
by alesyt0h
01 Jul 2018, 18:08
Forum: Ask For Help
Topic: Remove both duplicates from a text file
Replies: 6
Views: 1298

Re: Remove both duplicates from a text file

I only understand 10% of the links >:(

Also wouldn't loop would be so slow to check every every line?
by alesyt0h
01 Jul 2018, 15:07
Forum: Ask For Help
Topic: Remove both duplicates from a text file
Replies: 6
Views: 1298

Remove both duplicates from a text file

Hello!

I want a script that removes duplicate lines + the original, meaning both duplicates and keep only the unique lines.

But I have no idea where to start :(

My files usually are big, like 2million - 3million lines


Is this even possible to do in autohotkey?

Thannks
by alesyt0h
11 Jun 2018, 10:38
Forum: Ask For Help
Topic: Multiple Ocurrences on RegExMatch?
Replies: 14
Views: 2568

Re: Multiple Ocurrences on RegExMatch?

awesome guys !!! thank you so much!!! both examples works perfectly :D

btw swagfag, is that importat to state i use ahk basic ? there are more differences ?
by alesyt0h
11 Jun 2018, 05:49
Forum: Ask For Help
Topic: Multiple Ocurrences on RegExMatch?
Replies: 14
Views: 2568

Re: Multiple Ocurrences on RegExMatch?

Yep, I use the basic
by alesyt0h
11 Jun 2018, 05:39
Forum: Ask For Help
Topic: Multiple Ocurrences on RegExMatch?
Replies: 14
Views: 2568

Re: Multiple Ocurrences on RegExMatch?

That's super ultra weird... are you using AHK_L or something?
maybe is because my variable results is from text file and not inline code ?
by alesyt0h
11 Jun 2018, 04:33
Forum: Ask For Help
Topic: Multiple Ocurrences on RegExMatch?
Replies: 14
Views: 2568

Re: Multiple Ocurrences on RegExMatch?

A loop. But a better way would to use a file-reading loop, then have each line processed based on line number (considering they're in a predictable order). You can use your own counting rather than the actual line numbers, so you can skip blank lines and use the separator to reset the count. thanks...
by alesyt0h
10 Jun 2018, 22:54
Forum: Ask For Help
Topic: Multiple Ocurrences on RegExMatch?
Replies: 14
Views: 2568

Multiple Ocurrences on RegExMatch?

Hey !! I have this code FileRead, Results, C:\text.txt RegExMatch(Results, ".*(.*):(.*).*", names) RegExMatch(Results, ".*K: (.*).*", k) RegExMatch(Results, ".*K CE: (.*).*", kce) RegExMatch(Results, ".*Cancelled Date: (.*).*", cancelleddate) RegExMatch(Results, ".*Days since login: (.*).*", dayssin...
by alesyt0h
22 May 2018, 04:36
Forum: Ask For Help
Topic: Erorire
Replies: 5
Views: 1014

Re: Merge txt files for selected files

ControlGet with the List / Selected flags. Then FileOpen each file and write them out to a new file. Thank you!! But ControlGet doesn't work for me :( ControlGet, List, List, Selected,, A Loop, Parse, List, `n ; Rows are delimited by linefeeds (`n). { RowNumber := A_Index Loop, Parse, A_LoopField, ...

Go to advanced search