Search found 34 matches
- 13 Sep 2021, 11:49
- Forum: Ask for Help (v1)
- Topic: Werfault.exe kills my script!
- Replies: 0
- Views: 532
Werfault.exe kills my script!
Hi, Yesterday one on my scripts on my pc ran perfectly. Today after starting up the pc, and loading the same script, it exits just for no reason...?? I had the AHK script compiled as an EXE file. So I tried to just run the AHK script to see if that works. Same story, script got terminated... I'm rea...
- 12 Sep 2021, 17:54
- Forum: Ask for Help (v1)
- Topic: Help with hotkeys Topic is solved
- Replies: 3
- Views: 378
Re: Help with hotkeys Topic is solved
Just to confirm: Does your keyboard type a " symbol without having to also press the Shift key? On many keyboards, the " is produced by pressing Shift + ' . If that’s the case for you, which would likely be the case if you’re using the Logitech G110 keyboard you mentioned in another thread, you are...
- 12 Sep 2021, 16:38
- Forum: Ask for Help (v1)
- Topic: Help with hotkeys Topic is solved
- Replies: 3
- Views: 378
Help with hotkeys Topic is solved
Hi, I'm trying to write a simple script with a hotkey. But I can't get it to work. The script itself works perfect. The only problem I have is that I need to press the key with the " symbol on it. And for some reason that doesn't work. If I change it to something else it works, but the " key makes t...
- 30 Aug 2021, 11:52
- Forum: Ask for Help (v1)
- Topic: Problem with Run command Topic is solved
- Replies: 3
- Views: 386
Re: Problem with Run command Topic is solved
Thank you guys for your help!
The suggestion of mikeyww worked.
I've used the legacy syntax %1%, which worked perfectly!
The suggestion of mikeyww worked.
I've used the legacy syntax %1%, which worked perfectly!
- 25 Aug 2021, 20:05
- Forum: Ask for Help (v1)
- Topic: Problem with Run command Topic is solved
- Replies: 3
- Views: 386
Problem with Run command Topic is solved
Hi, I made a batch file with some commands in it. But when I want it to run, I'm getting that annoying pop-up screen from the batch file. I know there is a solution to this, by creating a shortcut to it and select to execute it "Minimized". But that doesn't work for the thing I want it to use. I wan...
- 19 Aug 2021, 11:17
- Forum: Ask for Help (v1)
- Topic: Logitech G110 keyboard - problem with 2 SetTimers
- Replies: 10
- Views: 795
Re: Problem with 2 SetTimers
* Edit: Can someone of the moderators perhaps modify the title of my topic, and add "Logitech G110 keyboard problem" or something like that to it. Done - but that is something you could do yourself. By editing the first post of this topic (it's your own post) - there is a subject line at the top. A...
- 18 Aug 2021, 18:51
- Forum: Ask for Help (v1)
- Topic: Logitech G110 keyboard - problem with 2 SetTimers
- Replies: 10
- Views: 795
Re: Problem with 2 SetTimers
I will check this later today when I have more time. But it seems that you are programming all this to set up the F-keys? I want to bind the G-keys of my keyboard, like you see in the picture above. The problem is, I can' t bind them directly with Autohotkey. There is no keymapping present for those...
- 18 Aug 2021, 10:50
- Forum: Ask for Help (v1)
- Topic: Logitech G110 keyboard - problem with 2 SetTimers
- Replies: 10
- Views: 795
Re: Problem with 2 SetTimers
EnvGet, pf86, ProgramFiles(x86) Loop, 9 GroupAdd, gWin, G%A_Index% WinWait, ahk_group gWin,, 3 If ErrorLevel Run, %pf86%\IrfanView\i_view32.exe ExitApp Thank you for your kindness and time. I see what you are trying to do. But it works and don't work. I will fully explain what I really want to achi...
- 17 Aug 2021, 17:30
- Forum: Ask for Help (v1)
- Topic: Logitech G110 keyboard - problem with 2 SetTimers
- Replies: 10
- Views: 795
Re: Problem with 2 SetTimers
The program obviously runs only if the script is still running. If the program should run only with certain conditions, then add those conditions before the run command. You don't need a timer to wait for a window: WinWait . You can use GroupAdd to define a window group, and then WinWait for that g...
- 17 Aug 2021, 09:22
- Forum: Ask for Help (v1)
- Topic: Logitech G110 keyboard - problem with 2 SetTimers
- Replies: 10
- Views: 795
Logitech G110 keyboard - problem with 2 SetTimers
Hi, I've made a script with 2 SetTimers in it. The first SetTimer (G-Keys) just needs to check continually if any of the specified windows appears. When it does, it closes the script. Of course it also has to stop checking once the script is closed. The second SetTimer (StartProgramma) has to do a c...
- 24 Feb 2019, 13:02
- Forum: Ask for Help (v1)
- Topic: UltraSearch problem
- Replies: 3
- Views: 825
Re: UltraSearch problem
Sounds like UltraSearch is running with elevated rights - then your script needs to be run as admin to be able to send keys to it. Gregster, omg you're absolutely right!! My script works now. Thank you! One question though, how do I get this script to work without the nagging windows screen? Is the...
- 23 Feb 2019, 22:51
- Forum: Ask for Help (v1)
- Topic: UltraSearch problem
- Replies: 3
- Views: 825
UltraSearch problem
Hi, I have a question for the experts over here. I just wrote a simple script that must send the word abc to the active window of a desired program. I've tested this in Notepad and the script runs perfectly! However, I want to use this script for a program that I use, called UltraSearch. It does mor...
- 10 Feb 2019, 21:12
- Forum: Ask for Help (v1)
- Topic: Converting .ahk to .exe makes it run endlessly
- Replies: 5
- Views: 1152
Re: Converting .ahk to .exe makes it run endlessly
Okay, I understand now.
- 10 Feb 2019, 20:40
- Forum: Ask for Help (v1)
- Topic: Converting .ahk to .exe makes it run endlessly
- Replies: 5
- Views: 1152
- 10 Feb 2019, 20:30
- Forum: Ask for Help (v1)
- Topic: Script exits when ready - SetTimer, Loop problem Topic is solved
- Replies: 2
- Views: 878
Re: Script exits when ready - SetTimer, Loop problem Topic is solved
Sorry gregster, I'm a real noob at autohotkey and still learning at this point
I tried your suggestion and it seems to work. Thank you!
I tried your suggestion and it seems to work. Thank you!
- 10 Feb 2019, 18:18
- Forum: Ask for Help (v1)
- Topic: Script exits when ready - SetTimer, Loop problem Topic is solved
- Replies: 2
- Views: 878
Script exits when ready - SetTimer, Loop problem Topic is solved
Hi, I have a problem with a script I wrote and don't know how to solve it. The script keeps exiting itself which I don't want it to do. I used SetTimer. Before that I tried Loop, this worked but the cpu was way to high.... :roll: Any idea, how I can make this script any better, so it actually will w...
- 09 Feb 2019, 19:26
- Forum: Ask for Help (v1)
- Topic: How to pin ahk EXE files to taskbar?
- Replies: 4
- Views: 2320
Re: How to pin ahk EXE files to taskbar?
Ok, glad to hear it ;) It might be helpful for other AHK-users, who wants to put there EXE file on the taskbar. All credits go to the people at Neowin, in particular to +Xinok, for writing the tutorial. Follow the steps below in this link, and it might work. It sure fixed my problem :lol: https://ww...
- 09 Feb 2019, 19:05
- Forum: Ask for Help (v1)
- Topic: How to pin ahk EXE files to taskbar?
- Replies: 4
- Views: 2320
Re: How to pin ahk EXE files to taskbar?
Lol I've just found a fix after hours searching the internet
If anybody else is interested, I can post the solution.
If anybody else is interested, I can post the solution.
- 09 Feb 2019, 14:47
- Forum: Ask for Help (v1)
- Topic: How to pin ahk EXE files to taskbar?
- Replies: 4
- Views: 2320
How to pin ahk EXE files to taskbar?
Hello everyone, I have a question. Recently I wrote a script for running a program. But to keep it simple, let's say I want to write a simple script like this --> run notepad.exe: Run, notepad.exe Sleep, 1000 ; sleep 1 second Esc:: ExitApp Then I compile into an EXE file and choose the same icon of ...
- 09 Feb 2019, 13:01
- Forum: Ask for Help (v1)
- Topic: Close program and script Topic is solved
- Replies: 12
- Views: 12433
Re: Close program and script Topic is solved
I don't close the program, the program itself closes when it's finished... but I'm not ready. But it's hard to explain it if you don't use the program, so never mind.
The main thing is, it works!
And yes, Settimer is also a possibility.
The main thing is, it works!
And yes, Settimer is also a possibility.