a131 is doing this all the time.
a130 it seems to be OK.
Search found 14 matches
- 15 Apr 2021, 12:04
- Forum: Bug Reports
- Topic: [v2.0-a131] - window visible Topic is solved
- Replies: 11
- Views: 1478
- 14 Apr 2021, 09:30
- Forum: Bug Reports
- Topic: [v2.0-a131] - window visible Topic is solved
- Replies: 11
- Views: 1478
Re: [v2.0-a131] - window visible Topic is solved
1. yes
2. yes
3.
C:\Program Files (x86)\SpeedCrunch\SpeedCrunch Launcher.exe
ahk_class AutoHotkey
ahk_exe SpeedCrunch Launcher.exe
ahk_pid 10752
ahk_id 66580
4. yes
5. no
2. yes
3.
C:\Program Files (x86)\SpeedCrunch\SpeedCrunch Launcher.exe
ahk_class AutoHotkey
ahk_exe SpeedCrunch Launcher.exe
ahk_pid 10752
ahk_id 66580
4. yes
5. no
- 13 Apr 2021, 12:43
- Forum: Bug Reports
- Topic: [v2.0-a131] - window visible Topic is solved
- Replies: 11
- Views: 1478
Re: 131 - window visible Topic is solved
Because it's ahk compiled, the correct behavior it's no window, like it was up to 131.
- 13 Apr 2021, 01:14
- Forum: Bug Reports
- Topic: [v2.0-a131] - window visible Topic is solved
- Replies: 11
- Views: 1478
[v2.0-a131] - window visible Topic is solved
If I compile this code with 131 Insert::RunOrActivate "C:\Program Files (x86)\SpeedCrunch\speedcrunch.exe" RunOrActivate(exe) { If !WinExist("ahk_exe " exe) { Run(exe, , , &pid) if !WinWait("ahk_pid " pid, , 3) Return } WinActivate } and add the shortcut to Win Startup, at each boot a window toolbar...
- 07 Mar 2021, 16:49
- Forum: Ask for Help (v2)
- Topic: 2.0-a111 ahk break Topic is solved
- Replies: 7
- Views: 5239
Re: 2.0-a111 ahk break Topic is solved
Thank you both very much.
- 07 Mar 2021, 13:41
- Forum: Ask for Help (v2)
- Topic: 2.0-a111 ahk break Topic is solved
- Replies: 7
- Views: 5239
Re: 2.0-a111 ahk break Topic is solved
v2 128 is giving this warning for your first code:
"This variable appears to never be assigned a value.
Specifically: local pid."
for this line, when compiling exe:
I mention that calc.exe is not Win OS standard calc.
"This variable appears to never be assigned a value.
Specifically: local pid."
for this line, when compiling exe:
Code: Select all
Run "calc.exe",,, pid
- 05 Mar 2021, 09:00
- Forum: Ask for Help (v2)
- Topic: WinExist exact name - v2 Topic is solved
- Replies: 1
- Views: 716
WinExist exact name - v2 Topic is solved
Hi, Can someone please help me to "bring this code to order" in AH v2? I want to find+activate only the window with this exact name in the title = Calc. Nothing more, nothing less. Tried with this code but it opens every time another instance of Calc. #SingleInstance Force Insert:: { If WinExist("Ca...
- 15 Jun 2020, 06:33
- Forum: Ask for Help (v2)
- Topic: 2.0-a111 ahk break Topic is solved
- Replies: 7
- Views: 5239
2.0-a111 ahk break Topic is solved
For this simple ahk, a111 is not generating a viable exe. The error is: Error at line 3. Hostkey or hotstring is missing its opening brace. I know that there are changes in a111 but I cannot find a way to fix this. Thank you Insert:: #SingleInstance Force If WinExist ("calc") WinActivate "calc" Else...
- 12 Aug 2018, 08:42
- Forum: Ask for Help (v1)
- Topic: Small code to run Calc
- Replies: 10
- Views: 7551
Re: Small code
I am ending using v1 EXE conversion of: Insert:: #SingleInstance force if WinExist("Calculator") WinActivate else Run "C:\Program Files\Calc.exe" WinSet, Top return but when Calc is not running, I have to press Insert twice in order to run the EXE converted code twice, to have Calc on top. If I run ...
- 09 Aug 2018, 06:37
- Forum: Ask for Help (v1)
- Topic: Small code to run Calc
- Replies: 10
- Views: 7551
Re: Small code
Thank you, I'll give it a try.
- 08 Aug 2018, 16:27
- Forum: Ask for Help (v1)
- Topic: Small code to run Calc
- Replies: 10
- Views: 7551
Re: Small code
Nope.
Ok. Let's forget v2.
In v1 is there any command to put just opened window on top?
Ok. Let's forget v2.
In v1 is there any command to put just opened window on top?
- 08 Aug 2018, 15:49
- Forum: Ask for Help (v1)
- Topic: Small code to run Calc
- Replies: 10
- Views: 7551
Re: Small code
No one?
- 08 Aug 2018, 09:16
- Forum: Ask for Help (v1)
- Topic: Small code to run Calc
- Replies: 10
- Views: 7551
Re: Small code
I think because it's new and the future changes will be smaller comparing to 1.1.
Maybe I am wrong.
Please advise.
Thank you.
Maybe I am wrong.
Please advise.
Thank you.
- 08 Aug 2018, 08:40
- Forum: Ask for Help (v1)
- Topic: Small code to run Calc
- Replies: 10
- Views: 7551
Small code to run Calc
Hello, I am trying to write a code to open a exe file (Calculator) when press Insert key. The code it's working when using 1.1 for converting to EXE, but not with 2.0. I want: 1. to use 2.0 2. that the Calculator window to be on top after press Insert (maybe using WinMoveTop). Thank you Insert:: #Si...