Search found 252 matches

by Kobaltauge
09 Sep 2020, 00:13
Forum: Ich brauche Hilfe
Topic: Verzeichnis effektiv durchsuchen
Replies: 11
Views: 502

Re: Verzeichnis effektiv durchsuchen

Unter Windows sind viele Dateien in einem Verzeichnis keine "schöne" Lösung. Besonders bei den Datenübernahmen im CAD/PLM Bereich. =) Was ich empfehlen würde ist, dass Ihr eine Verzeichnisebene dazwischen schiebt. Ich vermute, dass Eure Dateibenennungen immer die gleiche Struktur und Länge haben. Ma...
by Kobaltauge
09 Sep 2020, 00:00
Forum: Ich brauche Hilfe
Topic: Verzeichnis effektiv durchsuchen
Replies: 11
Views: 502

Re: Verzeichnis effektiv durchsuchen

Für solche Fälle verwende ich immer PowerShell. Das ist echt mächtig. Guck dir mal diesen Post an https://stackoverflow.com/q/19774097/9307482 wenn du AHK programmieren kannst, dann sollte die Syntax verständlich sein. =)
by Kobaltauge
07 Sep 2020, 17:25
Forum: Gaming
Topic: Exit the loop every time if it was done more than N times Topic is solved
Replies: 4
Views: 149

Re: Exit the loop every time if it was done more than N times Topic is solved

counter_first := 0 Loop, 100 { MsgBox,,,First %counter_first% counter_second := 0 Loop, 100 { MsgBox,,, Second %counter_second% if counter_second > 9 Break counter_second += 1 } if counter_first > 10 Break counter_first += 1 } Now you have only to know where to reset your counter variables, what ar...
by Kobaltauge
07 Sep 2020, 17:14
Forum: Ich brauche Hilfe
Topic: UNC Pfad/Path Validation
Replies: 3
Views: 160

Re: UNC Pfad/Path Validation

Ein bisschen regex magic #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ens...
by Kobaltauge
07 Sep 2020, 16:26
Forum: Gaming
Topic: Exit the loop every time if it was done more than N times Topic is solved
Replies: 4
Views: 149

Re: Exit the loop every time if it was done more than N times Topic is solved

I would use an index variable. You can define for every loop a separate one. Increase it and break at your defined counter.
by Kobaltauge
07 Sep 2020, 16:22
Forum: Gaming
Topic: Help with script for TELEGRAM Topic is solved
Replies: 11
Views: 1212

Re: Help with script for TELEGRAM Topic is solved

Strange. i didn't block anyone on telegram. But you don't need to ask. I don't give you the code.
by Kobaltauge
29 Aug 2020, 06:20
Forum: Gaming
Topic: Help with script for TELEGRAM Topic is solved
Replies: 11
Views: 1212

Re: Help with script for TELEGRAM Topic is solved

No. The Findtext script is only to get the "screenshot" which you are searching. FindText creates a code. This code you have to use to create the "loop".
As I wrote before. I don't post the code.
by Kobaltauge
24 Aug 2020, 01:39
Forum: Ask For Help
Topic: Time calculations from text file Topic is solved
Replies: 4
Views: 306

Re: Time calculations from text file Topic is solved

Looking at the documentation https://www.autohotkey.com/docs/commands/EnvSub.htm a time calculation is build in, when giving it the standard time format YYYYMMDDHH24MISS https://www.autohotkey.com/docs/commands/FileSetTime.htm#YYYYMMDD. Try to replace the ":" and do a "normal" subtraction.
by Kobaltauge
24 Aug 2020, 01:29
Forum: Gaming
Topic: Help with script for TELEGRAM Topic is solved
Replies: 11
Views: 1212

Re: Help with script for TELEGRAM Topic is solved

Yeah. Just copy the code into a ".ahk" file and then you can execute it. The tool is easy. You define a text (needle), that should be found on the screen. Then the tool creates a bit of code, that you can use in your main AHK script in a loop. And everytime the needle is found, the function return a...
by Kobaltauge
21 Aug 2020, 09:32
Forum: Gaming
Topic: Help with script for TELEGRAM Topic is solved
Replies: 11
Views: 1212

Re: Help with script for TELEGRAM Topic is solved

OK. I have a script. I used FindText ( https://www.autohotkey.com/boards/viewtopic.php?f=6&t=17834 ). Unfortunately the web app is not good, so you have to use the native client on Windows. The script has a few issues, and therefore they immediately recognized me as cheater. For example, you have to...
by Kobaltauge
17 Aug 2020, 06:58
Forum: Ask For Help
Topic: Outlook Calendar read events
Replies: 1
Views: 954

Re: Outlook Calendar read events

Hi. I stole some code from here https://stackoverflow.com/q/21477599/9307482 and https://www.autohotkey.com/boards/viewtopic.php?p=135003#p135003 This is what I got for you. I changed your point direct to items to set the IncludeRecurrences and added the messagebox because I'm using a German outlook...
by Kobaltauge
17 Aug 2020, 06:23
Forum: Gaming
Topic: Help with script for TELEGRAM Topic is solved
Replies: 11
Views: 1212

Re: Help with script for TELEGRAM Topic is solved

This should be no problem with the web app of telegram and the ORC build in Windows 10.
Can you tell how to find this bot on telegram for a poc?
by Kobaltauge
05 May 2020, 12:03
Forum: Ask For Help
Topic: If two keys are pressed within one second of one another, only send the second key Topic is solved
Replies: 2
Views: 304

Re: If two keys are pressed within one second of one another, only send the second key Topic is solved

You can stopwatch how long a key is pressed and then react to the time. Example with F7 and F8. F8 is only send if its pressed longer than 1 sec and F7 not longer than 1 sec. HTH #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assi...
by Kobaltauge
05 May 2020, 11:35
Forum: General Discussion
Topic: Is there anything in batch/powershell which cant be done in AHK? Topic is solved
Replies: 3
Views: 1398

Re: Is there anything in batch/powershell which cant be done in AHK? Topic is solved

PowerShell has PSExec. So it can run the script on another computer when you have the access rights. AHK script can only run where the interpreters exist.
by Kobaltauge
04 May 2020, 17:10
Forum: Ask For Help
Topic: Multiple Clipboard script error - Attempt to replicate PhraseExpress Topic is solved
Replies: 2
Views: 303

Re: Multiple Clipboard script error - Attempt to replicate PhraseExpress Topic is solved

Interesting function do you need. Got this for you. HTH Copy into the stack with CTRL + Shift + c You can print out the stack with CTRL + Shift + q To paste click CTRL + Shift + v . An input box asks how many entries and send it to the cursor The stack is not limited to 10. Theoretical it's infinite...
by Kobaltauge
19 Apr 2020, 06:58
Forum: Ask For Help
Topic: I am a complete noob
Replies: 2
Views: 283

Re: I am a complete noob

Hi. I would like to give you a few tips.
1. change the title of your post. No one sees what you want.
2. What do you want to switch? The keyboard layout? The windows' language? The autocorrection? The language behavior like punctuation and date format?
by Kobaltauge
16 Mar 2020, 04:46
Forum: Ask For Help
Topic: Hotstrings don't always fire using gvim or vim in WSL Ubuntu
Replies: 1
Views: 475

Re: Hotstrings don't always fire using gvim or vim in WSL Ubuntu

Hi muraii did you find a solution? I have the same problem. OK. After a little search if found this solution. https://stackoverflow.com/a/57068056/9307482 To make it work reliably and consistently in Vim, in the hotstring option, include both question mark and asterisk (:*?:...) instead of just aste...
by Kobaltauge
03 Mar 2020, 01:24
Forum: Ask For Help
Topic: Help needed to improve my "FileMove" Scrip!
Replies: 12
Views: 1130

Re: Help needed to improve my "FileMove" Scrip!

Sorry for replying so late but I just used your last script and everything works perfectly! Thanks to your help I also understood how to use this kind of scripts and I was able to edit it and adapt it to accomplish some other things! Now 1 last thing: I would like to let the sript to detect if the ...
by Kobaltauge
01 Mar 2020, 13:05
Forum: Ask For Help
Topic: Reading mdb files - Microsoft Data Base Access Topic is solved
Replies: 4
Views: 773

Re: Reading mdb files - Microsoft Data Base Access Topic is solved

Odlanir wrote:
01 Mar 2020, 08:08
Because rs is the entire Recordset Object. Try this in your while loop:

Code: Select all

Msgbox % rS.Fields.Item(A_Index-1).Value
Yeah. I'm Python spoiled. Thank you.

Go to advanced search