Search found 743 matches

by divanebaba
13 Oct 2018, 22:08
Forum: Ich brauche Hilfe
Topic: nach letzte Zeichen sortieren
Replies: 6
Views: 96

Re: nach letzte Zeichen sortieren

Hi. Ich würde es, mangels besserem Wissen, folgendermaßen machen. Die letzten Zeichen extrahieren, nach vorne kopieren, sortieren und dann die ersten Zeichen wieder löschen. Dazu müsstest Du zunächst die gesamte Liste neu aufbauen, aber das macht ja nichts, weil der Computer das macht. EDIT: Statt "...
by divanebaba
12 Oct 2018, 12:37
Forum: Ask For Help
Topic: In-Person / Virtual Hotkey Workshops? - I want to learn faster
Replies: 2
Views: 82

Re: In-Person / Virtual Hotkey Workshops? - I want to learn faster

You can learn programming only by programming, and not by reading tutorials or looking YouTube videos..
You want learn faster? - Begin immediately with programming little tasks and later bigger tasks.
by divanebaba
11 Oct 2018, 08:51
Forum: Ask For Help
Topic: How can I speed up this code that searches 800MB .csv files Topic is solved
Replies: 4
Views: 115

Re: How can I speed up this code that searches 800MB .csv files Topic is solved

DRocks wrote:^^ following the last post, and if I understood correctly - a good way to parse a file would look like the first option and not the second commented out one? ...
The message is:
Avoid access to harddisk inside Loops!
by divanebaba
10 Oct 2018, 17:38
Forum: Ich brauche Hilfe
Topic: LoopReadLine begrenzen?
Replies: 8
Views: 121

Re: LoopReadLine begrenzen?

... um die ersten zwei Felder jeder Zeile einer CSV-Datei abzugreifen, braucht AHK definitiv keine Unterstützung durch COM-Excel. ;) Stimmt. AHK und ein bißchen Grips oder ein hilfreicher Hinweis, reicht vollkommen. Vielleicht so? list := "" ; listCount := 0 FileRead, data, C:\...\test.csv ; Ich ma...
by divanebaba
10 Oct 2018, 03:41
Forum: Ask For Help
Topic: How can I speed up this code that searches 800MB .csv files Topic is solved
Replies: 4
Views: 115

Re: How can I speed up this code that searches 800MB .csv files Topic is solved

Hi. I'm not a big fan of Loop, read, ... or FileReadLine, ... , when I had to use big files. I prefer to store the whole content into a variable and then to parse it with Loop, parse, .... . I even avoid using FileAppend, ... inside a fast loop or timer. For this case, I store results into a variabl...
by divanebaba
26 Sep 2018, 15:13
Forum: Ask For Help
Topic: Long press C to send Ç Topic is solved
Replies: 13
Views: 275

Re: Long press C to send Ç Topic is solved

To prevent unwanted char when pressing Ctrl + c key I choosed this way

Code: Select all

...
Send % (GetKeyState("Ctrl", "P") ? "^c" : GetKeyState("Shift", "P") ? "{BackSpace}Ç" : "{BackSpace}ç")
...
How to use SendEvent or SendLevel to prevent hotstrings by using this code I could not realize.
by divanebaba
22 Sep 2018, 13:23
Forum: Ich brauche Hilfe
Topic: Dirty hack zur pdf Manipulation
Replies: 11
Views: 247

Re: Dirty hack zur pdf Manipulation

... That he is! Ein Lach-Club. Ich muss sagen, der Club hat seinen Zweck erfüllt. Ich habe gut gelacht. :D :D Was machen die da wohl den ganzen Tag? Hoffentlich betreiben die ihr Lachtraining nicht als Leistungs- oder gar Extremsport. :lol: :lol: Ob man da auch so eine Art Stuntman-Ausbildung für L...
by divanebaba
22 Sep 2018, 08:06
Forum: Ich brauche Hilfe
Topic: Dirty hack zur pdf Manipulation
Replies: 11
Views: 247

Re: Dirty hack zur pdf Manipulation

... ein Lachtrainer ... Ich lach mich kaputt! :lol: Gibt es das wirklich? Ich bräuchte eher einen, der mir das ständige Lachen abgewöhnt. :D :D Man kann im Beruf noch nicht mal grinsen, ohne daß irgend ein Depp oder gar Oberdepp das persönlich nimmt. Wenn man dann auch noch professionell lacht , da...
by divanebaba
18 Sep 2018, 04:57
Forum: Ask For Help
Topic: Need Help Selecting Items in System tray.
Replies: 3
Views: 54

Re: Need Help Selecting Items in System tray.

Hello Rboo. As I said, this will be quick and dirty solution. Please do brainwash after. :shock: :crazy: Try something like below: ; FlagProhibited Click, right, 1475, 1024 ; Click, up, right ; Click, left, 1525, 665 sleep 200 ; for example your entry is named "süperdivane", then use beginning char ...
by divanebaba
17 Sep 2018, 03:04
Forum: Ask For Help
Topic: Need Help Selecting Items in System tray.
Replies: 3
Views: 54

Re: Need Help Selecting Items in System tray.

Hello and welcome to the AHK-Forum. Seeing your code could generate better support. As you can already accurately click desired position, maybe you can choose the items by sending the beginning letter. A sleep 200 before sending the beginning char could be necessary. Even sending an Enter could be n...
by divanebaba
17 Sep 2018, 02:50
Forum: Ask For Help
Topic: How to get a list of sub folder Topic is solved
Replies: 4
Views: 90

Re: How to get a list of sub folder Topic is solved

Hi.
As I know, there is following command for your desired task.

Code: Select all

Loop, Files, FilePattern, Mode
With [url=https://autohotkey.com/docs/commands/FileSelectFolder.htm]FileSelectFolder[/url] you should be able to choose desired directory (FilePattern).
by divanebaba
13 Sep 2018, 12:49
Forum: Ask For Help
Topic: Long press C to send Ç Topic is solved
Replies: 13
Views: 275

Re: Long press C to send Ç Topic is solved

Hi. Super nice solution. Long time I was using way below to get desired special keys :?*c:c#:: ; <-- c# types ç SendInput, ç return Now I'm using suggestion of Nextron modified even for capital chars $*c:: Send {Blind}{c} KeyWait, c, T0.5 If ErrorLevel { If GetKeyState("Shift", "P") Send {BackSpace}...
by divanebaba
12 Sep 2018, 14:01
Forum: Ask For Help
Topic: Keep Word Window in The Right Half of The Screen
Replies: 5
Views: 90

Re: Keep Word Window in The Right Half of The Screen

And how about this? Quick & dirty $F8:: If WinExist("ahk_class OpusApp ahk_exe WINWORD.EXE") { WinActivate sleep 200 send #{Right} } return Or is it more like this, you prefer? $F8:: settimer, WinMove, 600 return WinMove: If WinExist("ahk_class OpusApp ahk_exe WINWORD.EXE") { WinGetPos , X, Y, Breit...
by divanebaba
11 Sep 2018, 14:10
Forum: Ask For Help
Topic: GUI
Replies: 4
Views: 107

Re: GUI

Hi. Info and code, how to switch between the Gui's in your case. Oki, but no warranty :crazy: Gui 2: Add, Button, x150 y640 w200 h30, &SUBMIT PROFORMA ; <--- replace this Gui 2: Add, Button, x150 y640 w200 h30 gSubPro, &SUBMIT PROFORMA ; <--- with this ... SubPro: ; And add this new label of course ...
by divanebaba
10 Sep 2018, 06:26
Forum: Ask For Help
Topic: Not sure if its possible but i'm gonna try! Topic is solved
Replies: 2
Views: 105

Re: Not sure if its possible but i'm gonna try! Topic is solved

Hello lolzbroz6. Gui's are not so difficult when you keep them simple. Here a small framework you can modify Gui, add, Checkbox, vCheck1 gCheck1, Red Gui, add, Checkbox, vCheck2 gCheck2, Blue Gui, show return Check1: msgbox You checked red one return Check2: msgbox You checked blue one return As you...
by divanebaba
10 Sep 2018, 06:16
Forum: Ask For Help
Topic: Send x:: and keep it from sending again for 60 seconds
Replies: 2
Views: 54

Re: Send x:: and keep it from sending again for 60 seconds

Hello Kodiack. Welcome to the AHK-forum. Try this $x:: if WinExist("ahk_class Qt5QWindowIcon ahk_exe vlc.exe") { time := A_TickCount if (time - time_prev > 60000) { time_prev := time send x } } else send x return Without warranty :lol: :lol: because I don't want to do your job. This means, it is jus...
by divanebaba
10 Sep 2018, 06:02
Forum: Ask For Help
Topic: GUI
Replies: 4
Views: 107

Re: GUI

Hi. You have to use Gui, 1: submit like below launch: Gui, 1: submit ... because you are asking for the value of your radio-variables inside gLabel called launch . For this case, you must request the value of the variables before you compare them. I don't have used the noHide parameter, while you ar...
by divanebaba
10 Sep 2018, 05:51
Forum: Ask For Help
Topic: Keep Word Window in The Right Half of The Screen
Replies: 5
Views: 90

Re: Keep Word Window in The Right Half of The Screen

Hi. I have copied some code from my permanent running script. As you don't have submitted the program-name of your PDF-Viewer, I took Sumatra-PDF as example. You just have to replace "ahk_class SUMATRA_PDF_FRAME ahk_exe SumatraPDF.exe" with the entry for your program. f8:: SysGet, Monitor, MonitorWo...
by divanebaba
09 Sep 2018, 14:29
Forum: Ich brauche Hilfe
Topic: File.Write() Seminkolon
Replies: 6
Views: 149

Re: File.Write() Seminkolon

Hi.
Versuche es mal mit

Code: Select all

file.Write("`;")
by divanebaba
08 Sep 2018, 16:18
Forum: Ask For Help
Topic: Winactivate + variable
Replies: 1
Views: 38

Re: Winactivate + variable

Hello jenprochat. Welcome to the AHK-forum. If your posted code makes problems, it looks like a fault in your variable called SONumber . Try to find the correct title of your desired window with Window Spy (you can find in AHK-install-folder or by right click on AHK-symbol in right section of Window...

Go to advanced search