Search found 752 matches

by divanebaba
28 Mar 2019, 03:19
Forum: Ask For Help
Topic: How can i puase settimer when my game is paused
Replies: 2
Views: 107

Re: How can i puase settimer when my game is paused

Hello and welcome to the AHK-forum. You can stop a timer by using F6:: SetTimer, StartRuneTimer, off SetTimer, StartStackReadyTimer, off SetTimer, StartStackNowTimer, off return You can add more lines with SetTimer, NAMEOFYOURTIMER, off similar to stop more than one timer with same keypress. To star...
by divanebaba
28 Mar 2019, 02:59
Forum: Ask For Help
Topic: Write username in a document
Replies: 5
Views: 136

Re: Write username in a document

Hello and welcome to the AHK-forum. Your task ist not so difficult, but leaking too much information, so I give you a simple way using Windows-clipboard. Just store the username into clipboard and paste it manually where ever you want. F6:: clipboard := A_UserName return As you can see, pressing F6 ...
by divanebaba
19 Mar 2019, 00:39
Forum: Ask For Help
Topic: Need help creating script
Replies: 1
Views: 79

Re: Need help creating script

Hello and welcome to the AHK-forum. A timer should do a good job. Look for settimer and copy/paste following code SetTimer, CLEFT, 300000 ; 5 min => 5 * 60 s => 5 * 60 * 1000 ms => 300000 ms SetTimer, CRIGHT, 900000 ; 15 min => 15 * 60 s => 15 * 60 * 1000 ms => 900000 ms return CLEFT: SendInput, ^{L...
by divanebaba
19 Mar 2019, 00:05
Forum: Ask For Help
Topic: Copy to clipboard after clicking OK
Replies: 2
Views: 147

Re: Copy to clipboard after clicking OK

Hi. Pressing a button is not difficult. Look here . Sending a value to clipboard is even easy too. You can send a ^c by example SendInput ^c or store the value of a variable by using clipboard := myVariable . Your code can look like below Control, Check, , TButton2, ahk_class ReplaceThisWithYourAHK_...
by divanebaba
12 Mar 2019, 12:59
Forum: Ask For Help
Topic: Keywait prevents other key input
Replies: 11
Views: 370

Re: Keywait prevents other key input

Hi.

Using the code with SC52 for both hotkeys could result in unwanted ways.
Have you tried with the exactly code from evilC or have you usedy your modified OneButton-DoubleHotkey-method?

Suggested code looks surpassing. Your modifikation messed it :shock: :D :D
by divanebaba
12 Mar 2019, 12:28
Forum: Ask For Help
Topic: Under Mouse Cursor Topic is solved
Replies: 3
Views: 186

Re: Under Mouse Cursor Topic is solved

Hi.

WITHOUT WARRANTY: Try following code :HeHe:

Code: Select all

Control, Check, , Chrome_RenderWidgetHostHWND1, ahk_class ChromeWidgetWin_1
As you can see, for the control I used ClassNN and for title the ahk_class.

Look for the control-command and its options.
by divanebaba
12 Mar 2019, 09:16
Forum: Ask For Help
Topic: WinSet, Transparent Help
Replies: 1
Views: 117

Re: WinSet, Transparent Help

Hi.

I'm not sure and can not test, but maybe this could work

Code: Select all

 WinSet, Transparent, %A_ThisMenuItem%, ahk_exe InteractionDesktop.exe
Maybe you have to set SetTitleMatchMode, 1 before.
by divanebaba
12 Mar 2019, 09:04
Forum: Ask For Help
Topic: Make Script do nothing if using specific program
Replies: 2
Views: 183

Re: Make Script do nothing if using specific program

Hi. I've not tested, but I think using If WinActive("ahk_class (Progman|CabinetWClass)") ; <--- MAYBE INCORRECT - I don't know instead should help. What I don't know is the notification you choosed. Maybe you have to use If WinActive("ahk_class Progman") or WinActive("ahk_class CabinetWClass") ; WIN...
by divanebaba
22 Oct 2018, 20:18
Forum: Ask For Help
Topic: Extract data from an Excel file into a combobox.
Replies: 1
Views: 182

Re: Extract data from an Excel file into a combobox.

Hi chngrcn Sorry my english is not the best yet, maybe I will give you now complete wrong direction. Intention is counting, people say :D :D Insert following code ... Gui, Add, ListView, AltSubmit grid -Multi +hscroll LV0x1 x22 y30 w680 h750 vLV1 gLV1 HWNDhLV, Fruits|Colour|Serial Number ... LV1: LV...
by divanebaba
13 Oct 2018, 22:08
Forum: Ich brauche Hilfe
Topic: nach letzte Zeichen sortieren
Replies: 6
Views: 458

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: 240

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: 322

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: 497

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: 322

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: 686

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: 904

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: 904

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: 164

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: 164

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: 278

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 FileSelectFolder you should be able to choose desired directory (FilePattern).

Go to advanced search