Search found 1390 matches

by gregster
15 Oct 2018, 16:05
Forum: Ask For Help
Topic: Alt keypresses are also sending Lctrl keypresses??? Seems like an AHK bug. Topic is solved
Replies: 2
Views: 37

Re: Alt keypresses are also sending Lctrl keypresses??? Seems like an AHK bug. Topic is solved

It is not a bug, it is by design. Ctrl is traditionally used as MenuMaskKey for Win or Alt keyup events. You can use the #MenuMaskKey directive to change it: https://autohotkey.com/docs/commands/_MenuMaskKey.htm
by gregster
15 Oct 2018, 00:22
Forum: Forum Issues
Topic: Maintenance
Replies: 49
Views: 868

Re: Maintenance

Forum links to documentary and download of the most recent AHK version are gone (at least in the 'digi' theme) I can't seem to reach the forum anymore through regular means. Yes, the 'forums' link from the homepage autohotkey.com seems broken. Link should be https://autohotkey.com/boards/index.php i...
by gregster
13 Oct 2018, 00:09
Forum: Other Utilities & Resources
Topic: InfoWarp - launcher, text store/find and reminder app
Replies: 14
Views: 248

Re: InfoWarp - launcher, text store/find and reminder app

So that's closed source? As I understand it, the Scripts and Functions subforum is then the wrong forum to post this. This subforum is for re-usable functions and scripts, that means, source code. Compare https://autohotkey.com/boards/viewtopic.php?f=6&t=34665#p160001 If this is just an executable, ...
by gregster
12 Oct 2018, 12:05
Forum: Ich brauche Hilfe
Topic: Warum "Error: ELSE with no matching IF" ?
Replies: 4
Views: 81

Re: Warum "Error: ELSE with no matching IF" ?

Ja, ist schon leicht verblüffend, aber die Doks sagen tatsächlich: This command is equivalent to the following sequence: WinGetTitle, Title, A WinGetPos, X, Y, Width, Height, A Äquivalenz impliziert dann wohl, dass es tatsächlich als zwei einzelne Kommandos behandelt wird. Blockklammern um WinGetAct...
by gregster
10 Oct 2018, 00:00
Forum: Ask For Help
Topic: GUI Popup Topic is solved
Replies: 2
Views: 55

Re: GUI Popup Topic is solved

Never heard of "GUI Creator popups for no apparent reason". How does it look? Btw, you don't "start autohotkey", but specific scripts. Look at the source code of all scripts running - one of them must contain some line(s) that cause this. Did you use some helper programs, a "GUI creator", to create ...
by gregster
05 Oct 2018, 00:14
Forum: Ask For Help
Topic: Cannot open and edit autohotkey script
Replies: 5
Views: 95

Re: Cannot open and edit autohotkey script

The chat.ahk file seems to include the file DeniseFunctions.ahk - a library file with certain functions. Download that one, too, and place it in the same directory like chat.ahk . In general, an AHK file is nothing else than a normal text file with another file extension. If you have trouble downloa...
by gregster
28 Sep 2018, 18:03
Forum: Ask For Help
Topic: AHK Compiler not working correctly after update
Replies: 13
Views: 252

Re: AHK Compiler not working correctly after update

Avast is known as a troublemaker in combination with AHK.
Can the problem you describe be reproduced on a computer without Avast present (that means, not installed)?
( I get notified if or when a program gets blocked)
Afaik, that is not a reliable indicator of (all) antivirus actions...
by gregster
27 Sep 2018, 07:24
Forum: Ask For Help
Topic: Shift + NumpadDot to coma
Replies: 7
Views: 507

Re: Shift + NumpadDot to coma

Perhaps a rights problem - Word and Excel might be running with elevated rights now. Try to run your script 'as admin'.
by gregster
23 Sep 2018, 19:39
Forum: Ask For Help
Topic: Named Loops
Replies: 5
Views: 113

Re: Named Loops

Perhaps you are looking for something like a timer? Then, see SetTimer...
by gregster
21 Sep 2018, 14:24
Forum: Ask For Help
Topic: and vs if if Topic is solved
Replies: 4
Views: 69

Re: and vs if if Topic is solved

Again, the parentheses make it here (if-statement) an expression . Hence, literal strings then need to be enclosed in quotation marks, like always in expressions... if (master_mute = "On") is equivalent to if master_mute = On You need to distinguish between if-expression-style: https://autohotkey.co...
by gregster
21 Sep 2018, 14:03
Forum: Ask For Help
Topic: and vs if if Topic is solved
Replies: 4
Views: 69

Re: and vs if if Topic is solved

Logical And can only be used in expressions. To use expressions in an if-statement, you need to use parentheses:
https://autohotkey.com/docs/commands/IfExpression.htm

Thus, try

Code: Select all

if (master_volume = 0 and master_mute = "Off")
by gregster
10 Sep 2018, 12:38
Forum: Ask For Help
Topic: Beginners problems. Topic is solved
Replies: 4
Views: 119

Re: Beginners problems. Topic is solved

I don't even see how rebooting could be relevant for this script (or mostly any script), at least on a stable system. But perhaps you had different instances of the same script (or rather, different versions) runnning at the same time, leading to hotkey conflicts... https://autohotkey.com/docs/comma...
by gregster
10 Sep 2018, 00:38
Forum: Ask For Help
Topic: ActiveX doesn't respond to Del Key.
Replies: 2
Views: 60

Re: ActiveX doesn't respond to Del Key.

I don't know why ActiveX ignores it (pressing the key itself is ignored, too), but at least in this case, you could probably workaround with {backspace}.
It should be 12
If it would work, I would rather expect 124 as a result, because you are sending del only once.
by gregster
08 Sep 2018, 18:22
Forum: Ask For Help
Topic: pressanykey: to keep remote sesion
Replies: 1
Views: 36

Re: pressanykey: to keep remote sesion

Well, it most probably starts, but exits immediately: Try adding #Persistent at the top of the script: https://autohotkey.com/docs/commands/_Persistent.htm To keep a script running -- such as one that contains only timers -- use #Persistent. (https://autohotkey.com/docs/commands/SetTimer.htm#Remarks)
by gregster
08 Sep 2018, 18:16
Forum: Ask For Help
Topic: WinMinimize/WinHide not working
Replies: 3
Views: 71

Re: WinMinimize/WinHide not working

Probably you don't give enough time for the program to actually start (surely, this depends on the program). Try with winwait like in the example in the help file: https://autohotkey.com/docs/commands/Wi ... tm#Example
by gregster
08 Sep 2018, 17:52
Forum: Ask For Help
Topic: ImageSearch unable to find image when in Chrome on second monitor
Replies: 5
Views: 152

Re: ImageSearch unable to find image when in Chrome on second monitor

There might be transparent components of the png file, often the background, that are displayed differently in file explorer and chrome. Try to up the allowed variation and/or cut the image to the smallest distinct version possible (this should be done anyway)...
by gregster
08 Sep 2018, 17:33
Forum: Ask For Help
Topic: AHK script stops when using a simple gui menu
Replies: 3
Views: 90

Re: AHK script stops when using a simple gui menu

I have it working but I hit a wall since my script stops working after the gui is presented. I read on the internet about it but I don't know how to solve it. [...] it now seems to work fine. That's the solution ? Thanks. It might... hard to say without your actual code, but I don't see an immediat...
by gregster
04 Sep 2018, 22:40
Forum: Ask For Help
Topic: The simples things don't seem to work
Replies: 1
Views: 53

Re: The simples things don't seem to work

On pressing the F2 key within my program, the result was, "Autokey, the script "test" encountered an error." Well, if that is really the text of the error message, then I am not surprised that your script wasn't working. Because this is the official forum for Auto Hot key (AHK), not AutoKey :o This...

Go to advanced search