Search found 795 matches

by divanebaba
18 Sep 2017, 15:05
Forum: Ask For Help
Topic: Script Freezes on Menu
Replies: 1
Views: 353

Re: Script Freezes on Menu

Hi. Maybe your script is much too fast, so it sends the char "w" before the menu has completely opened. You can insert a little timebreak after sending your rightclick. Try: F12:: Send, {Clickright 1707 1244} sleep 500 ; waits half a second before continuing. Send, w Return More reliable is to direc...
by divanebaba
18 Sep 2017, 09:30
Forum: Spiele
Topic: Rapidfire click Script für bestimmtes Fenster im Hintergrund
Replies: 6
Views: 2382

Re: Rapidfire click Script für bestimmtes Fenster im Hintergrund

... Es ist wohl bereits zwei Mitgliedern dieser Community nicht aufgefallen, dass diese Frage in das Unterforum "Spiele" gehört. (... obwohl eines der beiden über sich sagt: [Starklichtbirne IQ >> 250!!] ) Gähn. Nur weil ich es ignoriert habe, heißt es nicht, daß mir die Deplazierung nicht aufgefal...
by divanebaba
17 Sep 2017, 13:12
Forum: Spiele
Topic: Rapidfire click Script für bestimmtes Fenster im Hintergrund
Replies: 6
Views: 2382

Re: Rapidfire click Script für bestimmtes Fenster im Hintergrund

Hi.
ControlClick scheint, meiner Meinung, genauer, meinem Bildungsgrad nach, das Richtige, für diesen Fall, zu sein.
by divanebaba
17 Sep 2017, 12:06
Forum: Ask For Help
Topic: WinWaitClose.. Not waiting
Replies: 10
Views: 1996

Re: WinWaitClose.. Not waiting

Hi. For sending text (chars) to an existing and active window, the help file says: Sendinput SendInput is generally the preferred method to send keystrokes and mouse clicks because of its superior speed and reliability. As you described the function of your script, I think sendinput is the better ch...
by divanebaba
15 Sep 2017, 12:45
Forum: Ask For Help
Topic: Remapping Win+S to Ctrl+Esc doesn't work in Windows 10
Replies: 1
Views: 540

Re: Remapping Win+S to Ctrl+Esc doesn't work in Windows 10

Hi.
Try this to remap:

Code: Select all

#persistent
#s::
sendinput ^{Esc}
return
by divanebaba
15 Sep 2017, 12:34
Forum: Ask For Help
Topic: shortkey to quickly moving windows
Replies: 3
Views: 678

Re: shortkey to quickly moving windows

Hi. My english is not the best, because getting education in Germany for foreigners is like getting american visa for muslims. But this will not stop solving your problem. Try this: ^m:: WinGetActiveStats, Title, W, H, X, Y WinGetPos, X_Gui, Y_Gui, W_Gui, H_Gui, %Title% WinGet MX, MinMax, A IfEqual,...
by divanebaba
15 Sep 2017, 12:22
Forum: Ask For Help
Topic: New to scripting with AHK
Replies: 2
Views: 536

Re: New to scripting with AHK

Hi.
I think the windowtitle of your MEmu-program is different than "MEmu"
Try to find the windowtitle by using Window Spy.
Maybe this from help-file could help:
... Window titles and text are case sensitive. ...
by divanebaba
15 Sep 2017, 12:11
Forum: Ask For Help
Topic: WinWaitClose.. Not waiting
Replies: 10
Views: 1996

Re: WinWaitClose.. Not waiting

Hi. Adding some real code could result in more support. However, I'll show you a workaround for some problems with WinWait...-commands . Instead of only WinActivate, Notepad you should add some extra querys, for example WinActivate, Notepad ; loop 25 { sleep 200 ifwinactive, Notepad break } ifwinnot...
by divanebaba
14 Aug 2017, 16:45
Forum: Ich brauche Hilfe
Topic: Send-Befehl hat keine Auswirkung mehr
Replies: 5
Views: 1299

Re: Send-Befehl hat keine Auswirkung mehr

Hi. Ich habe mit WinWait und WinWaitActive immer wieder seltsame Probleme gehabt, genauer gesagt, vorhandene Fenster sind ab und zu nicht erkannt worden. Vielleicht hat die Umstellung auf ein 64bit-System Einfluss auf Deine Fenstertitel gehabt, präzise ausgedrückt, Deine Fenstertitel könnten anders ...
by divanebaba
09 Aug 2017, 22:09
Forum: Ask For Help
Topic: Detect if Active Window Has Button Enabled & Send Click
Replies: 3
Views: 716

Re: Detect if Active Window Has Button Enabled & Send Click

Hi. I have added a break to stop the loop and turned your script into a hotkey fired script. As you can see, after detection of the destinated color, you use ControlClick and break thereafter to stop the loop. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; ...
by divanebaba
27 Jul 2017, 18:37
Forum: Ask For Help
Topic: script that will toggle system sound on and off also other code
Replies: 8
Views: 1350

Re: script that will toggle system sound on and off also other code

[EDIT: ATTENTION - first code is untested and probably INCORRECT - Use second code :silent:] Oh. Your right. It has to be something like this: ^Delete:: if (Toggle = Toggle) Toggle := !Toggle #installkeybdhook #usehook if (Toggle = Toggle) SoundSet, 0 else SoundSet, 100 ... Code below is a bit diff...
by divanebaba
27 Jul 2017, 18:08
Forum: Ask For Help
Topic: script that will toggle system sound on and off also other code
Replies: 8
Views: 1350

Re: script that will toggle system sound on and off also other code

[EDIT: ATTENTION - Code below is incorrect!] Hi. I can give you only a bit syntax support. Change to ^Delete:: Toggle := !Toggle #installkeybdhook #usehook if (Toggle = Toggle) SoundSet, 0 else SoundSet, 100 ... I don't know what or how the rest of your code is doing or is processed. Hope someone e...
by divanebaba
27 Jul 2017, 14:19
Forum: Ask For Help
Topic: Folder Deletion
Replies: 6
Views: 893

Re: Folder Deletion

Hi. I'm sorry to tell, that your second example can not work. Look here: Loop, read, C:\Users\deshone\Desktop\AHK\File.txt { Loop, parse, A_LoopReadLine, `n { ... The first loop looks for the first wordwrap ( `n ) If it finds one wordwrap, it stores the text left of the wordwrap into A_LoopReadLine....
by divanebaba
27 Jul 2017, 13:56
Forum: Ask For Help
Topic: Detect if Active Window Has Button Enabled & Send Click
Replies: 3
Views: 716

Re: Detect if Active Window Has Button Enabled & Send Click

... but continues to send commands ... It seems, that you are using a loop or a timer. Are you using your codesnippet inside a loop? If yes, you have to leave this loop, with break, for example. If you are using a timer, you have to stop this timer. Breaking or stopping has to have been realized af...
by divanebaba
27 Jul 2017, 13:35
Forum: Ask For Help
Topic: FileCopy not working
Replies: 1
Views: 422

Re: FileCopy not working

Hi. Inserting own code, that everybody can see and modify could generate more sensible support. Try: FileCopy, P:\Folder1\Folder2\myDB.ext, C:\FolderOnC\SubFolderOnC\myDB.ext, 1 return Store this as, for example, myDBCopy.ahk and doubleclick to execute. It will usually copy your file. Look here for ...
by divanebaba
27 Jul 2017, 13:24
Forum: Ask For Help
Topic: script that will toggle system sound on and off also other code
Replies: 8
Views: 1350

Re: script that will toggle system sound on and off also other code

Hi. Using the search function will offer tons of examples for toggle a key. Look here for example. I've found it by searching for " toggle key ". I'm using an example from the help file to increase or decrease the sound of my system. Look here . For minimizing a window there is a command called WinM...
by divanebaba
26 Jul 2017, 17:47
Forum: Ask For Help
Topic: Cannot get hotkeys to open
Replies: 2
Views: 448

Re: Cannot get hotkeys to open

More information please.
Maybe post your script, if you have already write one, so that anybody can analyse your problem.
What do you mean with "get my auto hot key to open"?
Sorry, but I do not understand your problem, so I am not able to help.
by divanebaba
26 Jul 2017, 17:37
Forum: Ask For Help
Topic: how to delete files and their contents with ahk? Topic is solved
Replies: 9
Views: 2259

Re: how to delete files and their contents with ahk? Topic is solved

Hi. For selfdestruction by pressing a key, you can add this code example into your script. If your script has a gui, you don't need #Persistent directive. Look into the help file to understand the function of used commands and built in variables, here A_ScriptFullPath . Even have a look to Examples ...
by divanebaba
24 Jul 2017, 15:32
Forum: Ask For Help
Topic: ListBox - active - How do You know?
Replies: 2
Views: 429

Re: ListBox - active - How do You know?

Hi.
1. How about ControlGetFocus?
2. If your listbox has a gLabel, you can combine this with your choice of an entry. Than you even don't need ControlGetFocus
3. If a new window is opened, after disappering, you can search for the window.
4. Maybe I don't have understand.
by divanebaba
24 Jul 2017, 14:00
Forum: Ask For Help
Topic: Folder Deletion
Replies: 6
Views: 893

Re: Folder Deletion

Hi. As I don't really know, what do you mean with getting properties, I give you a simplified example for parsing your File.txt. In my example the content of File.txt is C:\Users\awe\Desktop\Neuer Ordner\Neuer Ordner C:\Users\awe\Desktop\Neuer Ordner\Neuer Ordner (2) C:\Users\awe\Desktop\Neuer Ordne...

Go to advanced search