Thanks for the input Marko! Unfortunately it didn't work still... Happy NY btw.Marko wrote: ↑Jan 6th, ’25, 18:00 How about this?Code: Select all
name:="test.ahk" DetectHiddenWindows On SetTitleMatchMode RegEx IfWinExist, i)%Name%.* ahk_class AutoHotkey { WinClose WinWaitClose, i)%Name%.* ahk_class AutoHotkey, , 2 }
Search found 188 matches
- Jan 9th, ’25, 16:41
- Forum: General Discussion
- Topic: Closing of a specific AHK script (can get it to work in AHK 1.1.37.01)
- Replies: 5
- Views: 6387
Re: Closing of a specific AHK script (can get it to work in AHK 1.1.37.01)
- Jan 4th, ’25, 09:39
- Forum: General Discussion
- Topic: Closing of a specific AHK script (can get it to work in AHK 1.1.37.01)
- Replies: 5
- Views: 6387
Re: Closing of a specific AHK script (can get it to work in AHK 1.1.37.01)
Still wondering about how I'm to actually do it in FK tbh.Marko wrote: ↑Apr 19th, ’24, 20:35 Use WinClose by specifying the window title instead:
Code: Select all
WinClose, testfly.ahk
- Apr 19th, ’24, 21:08
- Forum: General Discussion
- Topic: Closing of a specific AHK script (can get it to work in AHK 1.1.37.01)
- Replies: 5
- Views: 6387
Re: Closing of a specific AHK script (can get it to work in AHK 1.1.37.01)
Thanks for the comment Marko! I've just tried this with a script on my end called 'Test.ahk', but unfortunately 'WinClose' didn't terminate it...Marko wrote: ↑Apr 19th, ’24, 20:35 Use WinClose by specifying the window title instead:
Code: Select all
WinClose, testfly.ahk
- Apr 17th, ’24, 10:51
- Forum: General Discussion
- Topic: Closing of a specific AHK script (can get it to work in AHK 1.1.37.01)
- Replies: 5
- Views: 6387
Closing of a specific AHK script (can get it to work in AHK 1.1.37.01)
I've got this inside of an AHK script: fullScriptPath = C:\Users\David\Dropbox\Scripts\AHK scripts\SomeText\Sometext.ahk DetectHiddenWindows, On WinClose, %fullScriptPath% ahk_class AutoHotkey Which works inside of an AHK script 1 (with which it closes AHK script 2, basically some other one, current...
- Sep 27th, ’23, 16:46
- Forum: General Discussion
- Topic: How to make an if statement, work inside of FastKeys...
- Replies: 4
- Views: 3214
Re: How to make an if statement, work inside of FastKeys...
What is the first part of the script doing? What are you trying to accomplish? As said, if WinActive works for me. Removing a line and saving, a command I often used with Notepad. Either way, it seems I've 'fixed' this now... It appears I had a 'CtrlD' hotkey inside of an AHK script I long forgot a...
- Sep 24th, ’23, 17:14
- Forum: General Discussion
- Topic: How to make an if statement, work inside of FastKeys...
- Replies: 4
- Views: 3214
Re: How to make an if statement, work inside of FastKeys...
Ctrl+D creates a duplicate in FastKeys and does not delete anything. Your code works for me, do you have a speaker turned on? I see. Though for me in regards to this command, it always just selects some number of shortcuts or/and deletes them... Speaker turned on, yes. SoundBeep works fine for me i...
- Sep 24th, ’23, 10:11
- Forum: General Discussion
- Topic: How to make an if statement, work inside of FastKeys...
- Replies: 4
- Views: 3214
How to make an if statement, work inside of FastKeys...
I'm trying to make the following if statement, work inside of FastKeys: https://i.imgur.com/dHjAbTC.jpg Often times when I hit CtrlF (search), I sometimes accidentally hit CtrlD, which then deletes a shortcut... I think there've been a few times in the past, where I was in such a hurry, that I didn'...
- Sep 4th, ’23, 16:32
- Forum: General Discussion
- Topic: Can't get AHK to interact with FastKeys
- Replies: 2
- Views: 2410
Re: Can't get AHK to interact with FastKeys
That worked... but then I shortly after realized that the clicking itself works now too/activates it — so basically it just started working after a restartTom wrote: ↑Sep 3rd, ’23, 20:28 Probably you need to activate the window first.
https://www.autohotkey.com/docs/v1/lib/WinActivate.htm
- Sep 1st, ’23, 15:55
- Forum: General Discussion
- Topic: Can't get AHK to interact with FastKeys
- Replies: 2
- Views: 2410
Can't get AHK to interact with FastKeys
I can't get AHK to interact with FastKeys. For example get AHK to click on a part of FK's menu, or for example call 'CtrlF' in it... How come? I really need this so I can create a script, correcting a number of existing entries, inside of FastKeys. Here on the GIF, I'm pressing F2 several times, in ...
- Aug 3rd, ’23, 20:14
- Forum: General Discussion
- Topic: Is it possible for an AHK script, to override FastKeys?
- Replies: 2
- Views: 2570
